Infer Docker registry organisation name from DESCRIPTION file.
infer_docker_org(docker_org = NULL, docker_registry, verbose = TRUE, ...)
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 container registry to push to. Options include:
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?).
Docker registry organisation name.
infer_docker_org(docker_org="myorg", docker_registry="ghcr.io")
#> [1] "myorg"