Skip to content

Commit

Permalink
Update variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
chartgerink committed Aug 19, 2024
1 parent 5dbd93b commit a16188e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.onLoad <- function(libname, pkgname) {
lost_tags_action(Sys.getenv("LINELIST_LOST_ACTION", "warning"), quiet = TRUE)
lost_tags_action(Sys.getenv("DATATAGR_LOST_ACTION", "warning"), quiet = TRUE)
}
2 changes: 1 addition & 1 deletion tests/testthat/test-zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test_that("Environment variable is used for initial `lost_tags_action`", {
library(datatagr)
get_lost_tags_action()
},
env = c(LINELIST_LOST_ACTION = "error")
env = c(DATATAGR_LOST_ACTION = "error")
)
expect_identical(res, "error")
})

0 comments on commit a16188e

Please sign in to comment.