Hi,
In the past, there were read-only mirrors of the CRAN R packages on GitHub
(i.e., https://github.com/cran/).
I cannot find this for my R package (ggroups), which became available on
CRAN a few weeks ago. Does CRAN still provide package repositories on
GitHub? If yes, please elaborate how the r
Problem solved!
`%dopar%` <- foreach::`%dopar%`
One of my functions does parallel processing with "doParallel" and
> "foreach". "foreach" is a dependency to "doParallel". My R package keeps
> failing, because %dopar% is not recognized as a function. I tried
> %foreach::dopar%, %parallel::dopar% ,
One of my functions does parallel processing with "doParallel" and
"foreach". "foreach" is a dependency to "doParallel". My R package keeps
failing, because %dopar% is not recognized as a function. I tried
%foreach::dopar%, %parallel::dopar% , %doParallel::dopar%, and
%iterators::dopar%. It didn't
I'm struggling to stop receiving a NOTE about a suggested package, and it
seems to be the problem for many people. Your help is really appreciated.
In the function, I have:
if(requireNamespace("doParallel", quietly=TRUE))
{
library("doParallel")
cl = parallel::makeCluster(ncl)
doParallel