[R] registerDoParallel and R CMD check --as-cran errors
Witold E Wolski
wewolski at gmail.com
Wed Sep 2 14:39:38 CEST 2015
I am testing a package with
R CMD check
and
R CMD check --as-cran
some code which is run in the examples section uses the foreach and
doParallel package.
When run with --as-cran I have an error.
registerDoParallel function causes an error.
Error in .check_ncores(length(names)) : 6 simultaneous processes spawned
Calls: annotatePeptides ... registerDoParallel -> makeCluster ->
makePSOCKcluster -> .check_ncores
What should can I do to prevent this error and pas the --as-cran check?
best regards
Witold
--
Witold Eryk Wolski
[[alternative HTML version deleted]]
More information about the R-help
mailing list