On Fri, 27 Nov 2020 at 17:20, jérémy Gelb <gelbjerem...@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@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Iñaki Úcar ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel