I'm not an expert in R, but this repository was very useful for building a R lambda for a client, problem is, its really easy to reach lambda's limitation, some R libraries are huge in size.
But I noticed you can shave several megabytes off by removing some folders like docs, help, html, examples, tests, translations.
Would be cool to add this removal logic to the bash files, both for creating layers with libraries and for the bootstrap layer
I'm not an expert in R, but this repository was very useful for building a R lambda for a client, problem is, its really easy to reach lambda's limitation, some R libraries are huge in size.
But I noticed you can shave several megabytes off by removing some folders like docs, help, html, examples, tests, translations.
Would be cool to add this removal logic to the bash files, both for creating layers with libraries and for the bootstrap layer