Skip to content
Prev 10042 / 10988 Next

[Rcpp-devel] Rcpp package structure

El jue., 12 jul. 2018 a las 15:32, Vissarion Fisikopoulos
(<fisikop at gmail.com>) escribi?:
See this thread:
https://stat.ethz.ch/pipermail/r-package-devel/2017q2/001680.html

Summing up, a shared library must be installed in a standard location,
otherwise, it should be under R-proj/src. For example, this is what
MonetDBLite does:
https://github.com/hannesmuehleisen/MonetDBLite-R/tree/master/src

If you are using git, I think that a good approach is to have a repo
for the main C++ library and to add it as a git submodule under src/
in the R package repo. This eases the burden of code synchronisation.
But then you need to remember to always clone recursively.

Hope it helps.
I?aki