Skip to content

Commit

Permalink
more minimal
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Oct 13, 2023
1 parent 127364f commit bce2ba4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions tests/testthat/helper-state.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ testthat::set_state_inspector(function() {
envvars = Sys.getenv(),
libpaths = .libPaths(),
locale = Sys.getlocale(),
# sometimes a dependency might add a custom option, so we need to
# make sure we don't fail because of them
options = options()[names(.Options)],
packages = .packages(all.available = TRUE),
NULL
)
Expand Down
1 change: 0 additions & 1 deletion tests/testthat/test-absolute_path_linter.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# styler: off
test_that("is_root_path", {
options(width = 150)
Sys.setenv("NOT_CRAN" = "false")

Check warning on line 3 in tests/testthat/test-absolute_path_linter.R

View workflow job for this annotation

GitHub Actions / lint

file=tests/testthat/test-absolute_path_linter.R,line=3,col=3,[undesirable_function_linter] Function "Sys.setenv" is undesirable.

Check warning on line 3 in tests/testthat/test-absolute_path_linter.R

View workflow job for this annotation

GitHub Actions / lint

file=tests/testthat/test-absolute_path_linter.R,line=3,col=14,[keyword_quote_linter] Only quote named arguments to functions if necessary, i.e., if the name is not a valid R symbol (see ?make.names).
f <- lintr:::is_root_path

Expand Down

0 comments on commit bce2ba4

Please sign in to comment.