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]]
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.