Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slager committed Apr 20, 2024
1 parent c27867a commit 92f290a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions R/processData.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,7 @@ DataPackageR <- function(arg = NULL, deps = TRUE) {
stop("exiting", call. = FALSE)
}
} else {
logpath <-
normalizePath(
file.path(pkg_dir, "inst/extdata"),
winslash = "/"
)
logpath <- file.path(logpath, "Logfiles")

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")
Expand Down

0 comments on commit 92f290a

Please sign in to comment.