From 49bb36b934cacc0af490da25b4ab0a3dce10dc52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=BAria=20Mercad=C3=A9-Besora?= <61558739+nmercadeb@users.noreply.github.com> Date: Thu, 15 Aug 2024 10:56:00 -0700 Subject: [PATCH] Signal superseded once per session in transpose #1119 (#1138) --- R/superseded-transpose.R | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/R/superseded-transpose.R b/R/superseded-transpose.R index df9eccba..220e2542 100644 --- a/R/superseded-transpose.R +++ b/R/superseded-transpose.R @@ -63,6 +63,10 @@ #' ll |> list_transpose(template = nms, default = NA) transpose <- function(.l, .names = NULL) { # 1.0.0 - lifecycle::signal_stage("superseded", "transpose()", "list_transpose()") + if (!isTRUE(the$transpose_signalled)) { + lifecycle::signal_stage("superseded", "transpose()", "list_transpose()") + the$transpose_signalled <- TRUE + } .Call(transpose_impl, .l, .names) } +