Description Usage Arguments Details Value Examples
View source: R/utility-functions.R
Get a suitable Rocker image based on the R version. Needs network access to retrieve the available images.
1 | getImageForVersion(r_version, nearest = TRUE)
|
r_version |
A string representation of the R version, e.g. "3.4.2" |
nearest |
A boolean, should the closest version be returned if there is no match? |
If there was no matching image found, a warning is issued.
A string with the name of the Docker image
1 2 | getImageForVersion(getRVersionTag(utils::sessionInfo()))
getImageForVersion("3.4.3")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.