Skip to content

Commit

Permalink
further ensure same library paths are used on load test
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey committed Feb 24, 2025
1 parent 3ef2009 commit b10d74f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ renv_install_test <- function(package) {
# intentionally throw an error in their .onAttach() hooks
# https://github.com/rstudio/renv/issues/1611
code <- expr({
.libPaths(!!.libPaths())
options(warn = 1L)
loadNamespace(!!package)
})
Expand Down

0 comments on commit b10d74f

Please sign in to comment.