Skip to content

Commit

Permalink
Use .DollarNames with default pattern (REditorSupport#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
renkun-ken authored and ElianHugh committed May 12, 2022
1 parent 829149b commit 6978d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/vsc.R
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ inspect_env <- function(env, cache) {
}

obj_names <- if (is.object(obj)) {
.DollarNames(obj)
.DollarNames(obj, pattern = "")
} else if (is.recursive(obj)) {
names(obj)
} else NULL
Expand Down

0 comments on commit 6978d5b

Please sign in to comment.