Skip to content

Commit

Permalink
Use deparse1 (#2617)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Jun 21, 2024
1 parent 1c2c8a9 commit 6ed78c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ auto_names <- function(x) {
if (is_linter(x)) {
attr(x, "name", exact = TRUE)
} else {
paste(deparse(x, 500L), collapse = " ")
deparse1(x)
}
}
defaults <- vapply(x[empty], default_name, character(1L), USE.NAMES = FALSE)
Expand Down

0 comments on commit 6ed78c2

Please sign in to comment.