infer_docker_org: Infer Docker registry organisation name

View source: R/infer_docker_org.R

infer_docker_orgR Documentation

Infer Docker registry organisation name

Description

Infer Docker registry organisation name from DESCRIPTION file.

Usage

infer_docker_org(docker_org = NULL, docker_registry, verbose = TRUE, ...)

Arguments

docker_org

Docker registry organization name. Can simply be your registry username instead. If NULL, docker_org will be inferred as the R package's GitHub owner.

docker_registry

Docker container registry to push to. Options include:

"ghcr.io" :

GitHub Container Registry

"docker.io" :

DockerHub

verbose

Print messages.

...

Arguments passed on to get_description

refs

Reference for one or more GitHub repository in owner/repo format (e.g."neurogenomics/rworkflows"), or an R package name (e.g. "rworkflows").

paths

Paths to DESCRIPTION file(s) R package(s).

cache_dir

Directory where to cache downloaded files.

force_new

Ignore cached files and re-download them instead.

use_wd

Search the local working directory (and the one above it) for DESCRIPTION files.

use_repos

Use R standard R package repositories like CRAN and Bioc to find DESCRIPTION files.

db

A data.table of R package metadata generated by biocPkgList.

repo

The requested Bioconductor repository. The default will be the Bioconductor software repository: BioCsoft. Available repos include: "BioCsoft", "BioCann", "BioCexp", "BioCworkflows", and "CRAN". Note that not all repos are available for all versions, particularly older versions (but who would use those, right?).

Value

Docker registry organisation name.

Examples

infer_docker_org(docker_org="myorg", docker_registry="ghcr.io")

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