r-lambda-workflow
r-lambda-workflow copied to clipboard
Empty packages.zip for R package layer with pre-build AMI
Hi, thank you for great guide for using R with lambda. I was tring to setup my own workflow and instal R package layer with pre-build AMI but after ec2 instance is terminated I'm left of with packages.zip directory that contains only empty library folder. No errors messages are shown in the cli. Could you please help me if you see that there is something I'm missing?
the code I'm runnig in macOs terminal:
./r_package_layer.py -k ~/.ssh/mykey.pem -m ami-0a1147e8e86aa6175 -p "glue, stringr"
Thank you
Hi,
The most probable cause of the problem is missing system dependency (my guess is that stringr dependency - stringi is the reason for problems). Unfortunately, the current version of r-lambda-workflow still misses a proper error messaging feature, but probably I'll be able to to start working on that soon.
Best
Hi @tomaskissik
I have added some logging tools to the workflow. If you still have problems, please change branch to develop and run the script with the flag -d. It should produce a more useful output.
Best