[R-pkg-devel] Reducing installed package size with --strip-debug

Ege Rubak rubak at math.aau.dk
Tue Oct 31 15:02:20 CET 2017


Based on Dirk's blog post [1] about stripping debug information from the 
shared object of my package `s2` I reduced the shared object file size 
from 7 to 0.7 MB and get rid of a NOTE about the installed package size 
(on my local Linux machine).

Dirk suggests that one could conditionally do this in the Makevars file 
if the strip tool is available (typically the case on Linux). Does 
anybody know what CRAN's take is on this?



Ege Rubak, Associate Professor,
Department of Mathematical Sciences, Aalborg University
Skjernvej 4A, 9220 Aalborg East, Denmark
Phone: (+45)99408861
Mobile: (+45)30230252
Email: rubak at math.aau.dk

More information about the R-package-devel mailing list