diff --git a/R/check.R b/R/check.R index 82f914fe4..08a746477 100644 --- a/R/check.R +++ b/R/check.R @@ -192,8 +192,10 @@ check_built <- function(path = NULL, cran = TRUE, } withr::with_envvar(env_vars, action = "prefix", { - rcmdcheck::rcmdcheck(path, quiet = quiet, args = args, - check_dir = check_dir, error_on = error_on) + rcmdcheck::rcmdcheck(path, + quiet = quiet, args = args, + check_dir = check_dir, error_on = error_on + ) }) } diff --git a/R/infrastructure.R b/R/infrastructure.R index 801f30811..33079d9e7 100644 --- a/R/infrastructure.R +++ b/R/infrastructure.R @@ -89,8 +89,10 @@ use_data <- function(..., pkg = ".", internal = FALSE, overwrite = FALSE, compress = "bzip2") { .Deprecated("usethis::use_data()", package = "devtools") warn_unless_current_dir(pkg) - usethis::use_data(..., internal = internal, overwrite = overwrite, - compress = compress) + usethis::use_data(..., + internal = internal, overwrite = overwrite, + compress = compress + ) } #' @rdname devtools-deprecated diff --git a/R/install.R b/R/install.R index 5d38a00d2..92cfc4579 100644 --- a/R/install.R +++ b/R/install.R @@ -52,7 +52,6 @@ install <- keep_source = getOption("keep.source.pkgs"), force = FALSE, ...) { - pkg <- as.package(pkg) # Forcing all of the promises for the current namespace now will avoid lazy-load @@ -146,5 +145,6 @@ install_dev_deps <- function(pkg = ".", pkg <- as.package(pkg) remotes::install_deps(pkg$path, ..., - dependencies = TRUE, upgrade = upgrade) + dependencies = TRUE, upgrade = upgrade + ) }