HenrikBengtsson / doFuture

:rocket: R package: doFuture - Use Foreach to Parallelize via Future Framework
https://doFuture.futureverse.org
84 stars 6 forks source link

CLEANUP: Move remaining plyr, BiocParallel, ... tests to "opt-in" files #43

Closed HenrikBengtsson closed 4 years ago

HenrikBengtsson commented 4 years ago

Move any test code on plyr, BiocParallel, ... not part of the formal package dependencies to their own tests/zzz,opt-in,*.R files;

$ grep -F "require(" tests/*.R | grep -vF doRNG
tests/foreach.R:  if (require(plyr, character.only = TRUE)) {
tests/foreach.R:  } ## if (require(plyr))
tests/foreach.R:  if (require(BiocParallel, character.only = TRUE) &&
tests/foreach.R:  } ## if (require(BiocParallel))
tests/future.BatchJobs.R:if (require(future.BatchJobs, character.only = TRUE)) {
tests/future.BatchJobs.R:  if (require(plyr, character.only = TRUE)) {
tests/future.BatchJobs.R:  } ## if (require(plyr))
tests/future.BatchJobs.R:  if (require(BiocParallel, character.only = TRUE) &&
tests/future.BatchJobs.R:  } ## if (require(BiocParallel))
tests/future.BatchJobs.R:} ## if (require(future.BatchJobs))
tests/future.batchtools.R:if (require(future.batchtools, character.only = TRUE)) {
tests/future.batchtools.R:  if (require(plyr, character.only = TRUE)) {
tests/future.batchtools.R:  } ## if (require(plyr))
tests/future.batchtools.R:  if (require(BiocParallel, character.only = TRUE) &&
tests/future.batchtools.R:  } ## if (require(BiocParallel))
tests/future.batchtools.R:} ## if (require(future.batchtools))