Skip to content

Commit 12360f7

Browse files
gogonzoaverissimo
andauthored
Update R/qenv-show.R
Co-authored-by: André Veríssimo <[email protected]> Signed-off-by: Dawid Kałędkowski <[email protected]>
1 parent b2b428d commit 12360f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/qenv-show.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ setMethod("show", "qenv", function(object) {
2727
cat(cli::style_bold(paste0(header, locked)), sep = "\n")
2828
cat(parent, "\n")
2929

30-
shown <- ls(object)
30+
shown <- vapply(rlang::syms(ls(object)), deparse, character(1L), backtick = TRUE)
3131
lapply(shown, function(x) {
3232
cat(sprintf("- %s: [%s]\n", x, class(object[[x]])[1]))
3333
})

0 commit comments

Comments
 (0)