Skip to content
Prev 14429 / 15075 Next

Help on reducing size of shared libraries on MacOS on CRAN

Gilberto,

Please note that size checks are not really relevant for binary packages - it is normal for binaries to be large as they may include static libraries (e.g., rgdal has 273Mb). Also note that 4.8Mb is rather small for a library since it also includes debugging symbols (CRAN packages are built with --dsym to make debugging easier) - so is there a particular reason you are concerned about the size? You can always remove the debugging symbols (libs/*.dsym) on your machine if you have issues with size.

Cheers,
Simon