diff --git a/R/usethis.R b/R/usethis.R index c90c4a5f9..8fdddb7d5 100644 --- a/R/usethis.R +++ b/R/usethis.R @@ -1,7 +1,7 @@ # Some helpers around usethis functions #' @importFrom withr defer -local_proj <- withr::local_(function(path = ".", force = FALSE, quiet = FALSE) utils::capture.output(usethis::proj_set(path = path, force = force, quiet = quiet))) +local_proj <- withr::local_(function(path = ".", force = FALSE) utils::capture.output(usethis::proj_set(path = path, force = force))) usethis_use_directory <- function(pkg, path, ignore = FALSE) { utils::capture.output({ diff --git a/tests/testthat/helper-github.R b/tests/testthat/helper-github.R index e3230c06e..c71f36847 100644 --- a/tests/testthat/helper-github.R +++ b/tests/testthat/helper-github.R @@ -4,7 +4,7 @@ create_in_temp <- function(pkg) { dir.create(temp_path) test_pkg <- file.path(temp_path, pkg) capture.output(suppressMessages(usethis::create_package(test_pkg, fields = list()))) - local_proj(test_pkg, quiet = TRUE, .local_envir = parent.frame()) + local_proj(test_pkg, .local_envir = parent.frame()) test_pkg }