Skip to content

Commit

Permalink
Fix a && on a logical vector
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Jul 25, 2023
1 parent 7ea4e47 commit fc51e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/binaries.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ update_cache_binaries <- function(destdir, warnings, lib, timestamp,
args) {

if ("INSTALL_opts" %in% names(args) &&
grepl("--no-test-load", args$INSTALL_opts, fixed = TRUE)) return()
any(grepl("--no-test-load", args$INSTALL_opts, fixed = TRUE))) return()

if (missing(lib) || is.null(lib)) lib <- .libPaths()[[1]]

Expand Down

0 comments on commit fc51e31

Please sign in to comment.