Skip to content

Commit

Permalink
rm log argument from package_build()
Browse files Browse the repository at this point in the history
  • Loading branch information
slager committed Oct 12, 2024
1 parent ef63cec commit 5529d4f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions R/build.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#'
#' @param packageName \code{character} path to package source directory. Defaults to the current path when NULL.
#' @param vignettes \code{logical} specify whether to build vignettes. Default FALSE.
#' @param log log level \code{INFO,WARN,DEBUG,FATAL}
#' @param deps \code{logical} should we pass data objects into subsequent scripts? Default TRUE
#' @param install \code{logical} automatically install and load the package after building. Default FALSE
#' @param ... additional arguments passed to \code{install.packages} when \code{install=TRUE}.
Expand Down Expand Up @@ -43,11 +42,9 @@
#' }
package_build <- function(packageName = NULL,
vignettes = FALSE,
log = INFO,
deps = TRUE,
install = FALSE,
...) {
.multilog_setup(LOGFILE = NULL)
if (is.null(packageName)) {
packageName <- "."
# use normalizePath
Expand Down
3 changes: 0 additions & 3 deletions R/processData.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ DataPackageR <- function(arg = NULL, deps = TRUE) {

logpath <- file.path(pkg_dir, "inst", "extdata", "Logfiles")
dir.create(logpath, recursive = TRUE, showWarnings = FALSE)
# open a log file
LOGFILE <- file.path(logpath, "processing.log")
.multilog_setup(LOGFILE)
# validate package
validate_package_skeleton(pkg_dir)
# validate datapackager.yml
Expand Down
3 changes: 0 additions & 3 deletions man/package_build.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5529d4f

Please sign in to comment.