benmarwick / rrtools

rrtools: Tools for Writing Reproducible Research in R
Other
668 stars 84 forks source link

Figure out system requirements for Dockerimage #129

Open eliocamp opened 4 years ago

eliocamp commented 4 years ago

Some R packages depend on system requirements which have to be installed before anything. use_dockerfile() could try to figure out which are the required system dependencies based on the dependencies listed in DESCRIPTION and using either sysreqsdb or r-system-requirements.

An alternative would be to have a use_requirements() (or better named) function that does the figuring out and then tells the user the command that they should put on their Dockerfile.