R package `libs` directory too large after compilation to submit on CRAN

Viewed 749

I am the developer of the following package https://gitlab.inria.fr/gdurif/pCMF and I have a problem: the compiled library is too big.

When I check it with R CMD check, I get the following note regarding the size of the compiled library:

checking installed package size ... NOTE installed size is 31.0Mb sub-directories of 1Mb or more: libs 30.8Mb

My package is based on C++ code interfaced thanks to the package and heavily uses the algebra template library Eigen based on the package RcppEigen.

Since Eigen is templated, I think that the compiled library can become large. However, I would like to submit my package on the CRAN and I have no idea at all how I could solve this.

Thanks

0 Answers
Related