Skip to content

Commit

Permalink
NA NA NA NA NA problem fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotmcintire committed Dec 4, 2023
1 parent b4e16bb commit caf1603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/preProcess.R
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ preProcess <- function(targetFile = NULL, url = NULL, archive = NULL, alsoExtrac
from <- filesExtr[whFilesExtrInIP]
to <- makeAbsolute(makeRelative(from, destinationPath), destinationPathUser)
if (!isTRUE(all(from %in% to))) {
messagePrepInputs(" ...using file in getOption('reproducible.inputPaths')...",
messagePrepInputs(" ...using file(s) in getOption('reproducible.inputPaths')...",
verbose = verbose)
}
outHLC <- hardLinkOrCopy(from, to, verbose = verbose - 1)
Expand Down Expand Up @@ -746,7 +746,7 @@ preProcess <- function(targetFile = NULL, url = NULL, archive = NULL, alsoExtrac
failStop <- FALSE
if (is.null(targetFilePath)) {
failStop <- TRUE
} else if (isTRUE(is.na(targetFilePath))) { # this must come before next; but no need to change failStop
} else if (isTRUE(all(is.na(targetFilePath)))) { # this must come before next; but no need to change failStop
# failStop <- FALSE
} else if (!isTRUE(file.exists(targetFilePath))) {
failStop <- TRUE
Expand Down

0 comments on commit caf1603

Please sign in to comment.