aws-lambda-r-runtime icon indicating copy to clipboard operation
aws-lambda-r-runtime copied to clipboard

Remove unecessary files/folders from libraries

Open mojimi opened this issue 5 years ago • 1 comments

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

mojimi avatar Nov 25 '20 15:11 mojimi

Hi @mojimi , thanks for the suggestion. Currently we have no capacities to implement this but feel free to submit a PR :-)

philipp94831 avatar Dec 02 '20 07:12 philipp94831