Create a dockerfile from an R script
Usage
dk_from_script(
script_file,
base_image = "rocker/r-ver:latest",
include_sysreqs = TRUE
)
Arguments
- script_file
Path to R script
- base_image
Base image to use (default: latest rocker/r-ver)
- include_sysreqs
Include system requirements (default: TRUE)
Value
A dockerfile object