ThinkR-open / attachment

Tools to deal with dependencies in scripts, Rmd and packages
https://thinkr-open.github.io/attachment/
Other
108 stars 13 forks source link

Make requirement of `Suggests` package optional #69

Closed yogat3ch closed 1 year ago

yogat3ch commented 1 year ago

It is rarely the case that packages in the Suggests field are needed when deploying a golem app. R does not install Suggests packages when packages are downloaded, and thus the the build process for Dockerfiles should not require that packages listed in Suggests be installed for deployment.

This adds an argument require_suggests to the following functions:

VincentGuyader commented 1 year ago

thanks for this PR, I will work on it to add unit test It is really a feature that will be useful to alleviate the deployment of golem app!

yogat3ch commented 1 year ago

Thanks for considering it @VincentGuyader!