Reason: The dynamic libraries are not stripped.
rocker/tidyverse (Ubuntu 20.04, RSPM, binary install):
root@89f0a27ec269:/usr/local/lib/R/site-library/vroom/libs# du -h vroom.so
24M vroom.so
root@89f0a27ec269:/usr/local/lib/R/site-library/vroom/libs# file vroom.so
vroom.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=88a2384029c2331d1d8f91274db23fb30edb9668, with debug_info, not stripped
custom build (Debian 11, CRAN, source install):
root@bfc0aad5ae64:/usr/local/lib/R/site-library/vroom/libs# du -h vroom.so
848K vroom.so
root@bfc0aad5ae64:/usr/local/lib/R/site-library/vroom/libs# file vroom.so
vroom.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=f6d17acb2cf4f8e75af5e97dcb7a17297ff5f9ee, stripped
Total size of /usr/local/lib/R/site-library:
rocker/tidyverse: 732 MB
custom build: 198 MB
@eddelbuettel Can you think of a reason why the dynamic libraries of the RSPM binaries are not stripped?
Reason: The dynamic libraries are not stripped.
rocker/tidyverse(Ubuntu 20.04, RSPM, binary install):custom build(Debian 11, CRAN, source install):Total size of
/usr/local/lib/R/site-library:rocker/tidyverse: 732 MBcustom build: 198 MB@eddelbuettel Can you think of a reason why the dynamic libraries of the RSPM binaries are not stripped?