Adds package dependencies as a new RUN statement to Dockerfile. Sorts packages first into source (cran & github) and then alphabetically.
1 2 3 4 5 6 7 8 9 |
packages |
Which packages to add. |
github |
Are there github packages? |
strict |
Defaults to TRUE, force a specific version for github packages. |
file |
Where is the 'Dockerfile'? |
write |
Should the 'Dockerfile' be modified? |
open |
Should the file be opened? |
append |
Should the return value be appended to the 'Dockerfile'? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.