[R-pkg-devel] submitting two packages simultaneously

Iñaki Ucar |uc@r @end|ng |rom |edor@project@org
Fri Nov 27 17:30:38 CET 2020


On Fri, 27 Nov 2020 at 17:20, jérémy Gelb <gelbjeremy22 using gmail.com> wrote:
>
> Dear All,
>
> I plan to submit a package I created called spNetwork. The package
> uses both Rcpp and parallelization to ensure reasonable calculation
> time. However, it is currently not possible to pass a compiled
> function to a child process. The recommended workaround is to store
> compiled functions in an existing package. So I put the worker
> functions using Rcpp in a separate package called spNetworkCpp and
> everything works like a charm (all tests and checks passed).

Probably I'm missing something, but why do you need the functions in a
separate package?

> To submit
> spNetwork to CRAN, how should I proceed? Should I submit spNetworkCpp
> first, then spNetwork?

Yes, this is the way (pun intended).

Iñaki

>
> Thank you in advance
> All the best,
>
> Jeremy Gelb
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



-- 
Iñaki Úcar



More information about the R-package-devel mailing list