[R-pkg-devel] read-only mirror of the CRAN R package repository on GitHub

2019-04-11 Thread Mohammad Ali Nilforooshan
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

Re: [R-pkg-devel] could not find function "%dopar%"

2019-02-24 Thread Mohammad Ali Nilforooshan
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% ,

[R-pkg-devel] could not find function "%dopar%"

2019-02-24 Thread Mohammad Ali Nilforooshan
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

[R-pkg-devel] NOTE for a suggested package

2019-02-23 Thread Mohammad Ali Nilforooshan
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