View source: R/build-templates.R
| bake_dockerfile_dependencies | R Documentation |
Bakes system dependencies (via the Posit Package Manager sysreqs API and
config$dependencies$system_packages) and R/Python package installs into
the image at build time so container launch does not have to
compile/install packages on the user's machine.
bake_dockerfile_dependencies(output_dir, dockerfile_dest, config = NULL)
For R apps the base image is rocker/r-ver, which pre-wires P3M
binaries; packages are therefore installed via install.packages().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.