From 12360f7944cd14facad593c2f1c16c48e686464d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Ka=C5=82=C4=99dkowski?= Date: Fri, 20 Dec 2024 11:14:21 +0100 Subject: [PATCH] Update R/qenv-show.R MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: André Veríssimo <211358+averissimo@users.noreply.github.com> Signed-off-by: Dawid Kałędkowski --- R/qenv-show.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/qenv-show.R b/R/qenv-show.R index e665cbcf..93bfe222 100644 --- a/R/qenv-show.R +++ b/R/qenv-show.R @@ -27,7 +27,7 @@ setMethod("show", "qenv", function(object) { cat(cli::style_bold(paste0(header, locked)), sep = "\n") cat(parent, "\n") - shown <- ls(object) + shown <- vapply(rlang::syms(ls(object)), deparse, character(1L), backtick = TRUE) lapply(shown, function(x) { cat(sprintf("- %s: [%s]\n", x, class(object[[x]])[1])) })