Skip to contents

Create a dockerfile from the current R session

Usage

dk_from_session(
  base_image = NULL,
  include_packages = TRUE,
  include_sysreqs = TRUE,
  package_manager = "auto"
)

Arguments

base_image

Base image to use (default: rocker/r-ver with current R version)

include_packages

Include loaded packages (default: TRUE)

include_sysreqs

Include system requirements for packages (default: TRUE)

package_manager

Package manager to use (default: auto-detected)

Value

A dockerfile object