Skip to content

Commit

Permalink
Remove quiet argument
Browse files Browse the repository at this point in the history
CRAN usethis no longer has this argument
  • Loading branch information
jimhester committed Sep 6, 2018
1 parent 5e762cd commit 29fed97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/usethis.R
Original file line number Diff line number Diff line change
@@ -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({
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/helper-github.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 29fed97

Please sign in to comment.