Skip to content

Commit

Permalink
more for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliot McIntire committed Aug 1, 2024
1 parent f731b43 commit be6e392
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion R/pkgDep3.R
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,12 @@ getDepsGH <- function(pkgDT, verbose, which, whichCatRecursive, libPaths, doSave
out <- pkgDepGitHub(pkgDT = pkgDT, which = which,
includeBase = FALSE, libPaths = libPaths, verbose = verbose)
rec <- FALSE # this function is only one time through
set(pkgDT, NULL, deps(FALSE), unname(out))

val <- unname(out)
if (length(val) == 0)
val <- lapply(seq_len(NROW(pkgDT)), function(x)
data.table(Package = character(), which = character(), packageFullName = character()))
set(pkgDT, NULL, deps(FALSE), val)

# rec <- recursiveType(whichCatRecursive)
snHere <- sn(rec)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if (.isDevelVersion() && nchar(Sys.getenv("R_REQUIRE_RUN_ALL_TESTS")) == 0) {
}
verboseForDev <- 2
Require.usePak <- FALSE
Require.installPackageSys <- 2 * (isMacOSX() %in% FALSE)
Require.installPackageSys <- 2# * (isMacOSX() %in% FALSE)

if (isTRUE(Require.usePak))
if (requireNamespace("pak"))
Expand Down

0 comments on commit be6e392

Please sign in to comment.