construct_cont: Construct containers list

View source: R/construct_cont.R

construct_contR Documentation

Construct containers list

Description

Construct containers list

Usage

construct_cont(
  default_registry = c("ghcr.io/", "docker.io/", "mcr.microsoft.com/"),
  default_cont = "bioconductor/bioconductor_docker",
  default_tag = "devel",
  cont = list(paste(default_cont, default_tag, sep = ":"), NULL, NULL),
  versions_explicit = FALSE,
  run_check_cont = FALSE,
  verbose = TRUE
)

Arguments

default_registry

The default container registry to use. Options include:

"ghcr.io/" :

GitHub Container Registry

"docker.io/" :

DockerHub

"mcr.microsoft.com/" :

Microsoft Container Registry

default_cont

The DockerHub container to default to. Used when it's detected that only the tag has been given in one or more cont entry.

default_tag

The DockerHub container tag to default to.

cont

Which Docker container to use on each OS (NULL means no container will be used for that OS). See here for a list of all official Bioconductor Docker container versions.

versions_explicit

Specify R/Bioc versions explicitly (e.g. r: 4.2.0, bioc: 3.16) as opposed to flexibly (e.g. r: "latest", bioc: "release").

run_check_cont

Check whether the requested container repo (and the tag, if specified) exist using check_cont.

verbose

Print messages.

Value

Named list of containers

Examples

cont <- construct_cont() 

rworkflows documentation built on Sept. 23, 2024, 1:08 a.m.