aws-lambda-r-runtime
aws-lambda-r-runtime copied to clipboard
Remove unecessary files/folders from libraries
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
Hi @mojimi , thanks for the suggestion. Currently we have no capacities to implement this but feel free to submit a PR :-)