Skip to content

Commit

Permalink
Use .data pronoun to prevent global variable warning in R CMD check (#…
Browse files Browse the repository at this point in the history
…328)

* remove global variable note and change vendor test to print packages not versions

* revert snapshot test and remove lint

* update snapshot test
  • Loading branch information
JosiahParry authored Jan 13, 2024
1 parent c2fb7a4 commit be24a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/cran-compliance.R
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ vendor_pkgs <- function(path = ".", quiet = FALSE, overwrite = NULL) {
rlang::set_names(c("source", "crate", "version")) %>%
dplyr::filter(!is.na(source)) %>%
dplyr::select(-source) %>%
dplyr::arrange(crate) # nolint: object_usage_linter
dplyr::arrange(.data$crate)

# capture vendor-config.toml content
config_toml <- vendor_res[["stdout"]] %>%
Expand Down

0 comments on commit be24a8f

Please sign in to comment.