Skip to content

Commit

Permalink
Use local_options()
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- committed May 11, 2020
1 parent e984b33 commit 5252e1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Imports:
ellipsis,
glue (>= 1.3.0),
purrr (>= 0.3.2),
rlang (>= 0.4.3),
rlang (>= 0.4.6),
vctrs (>= 0.2.2)
Suggests:
covr,
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-eval-walk.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ test_that("can use arithmetic operators in non-data context", {
})

test_that("symbol lookup outside data informs caller about better practice", {
scoped_options(tidyselect_verbosity = "verbose")
local_options(tidyselect_verbosity = "verbose")

vars1 <- c("a", "b")
expect_message(select_loc(letters2, vars1))
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-lifecycle-deprecated.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

scoped_options(
local_options(
lifecycle_verbosity = "quiet"
)

Expand Down

0 comments on commit 5252e1f

Please sign in to comment.