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
refsReference for one or more GitHub repository in owner/repo format
(e.g."neurogenomics/rworkflows"), or an R package name
(e.g. "rworkflows").
pathsPaths to DESCRIPTION file(s) R package(s).
cache_dirDirectory where to cache downloaded files.
force_newIgnore cached files and re-download them instead.
use_wdSearch the local working directory (and the one above it) for DESCRIPTION files.
use_reposUse R standard R package repositories like CRAN and Bioc to find DESCRIPTION files.
dbA data.table of R package metadata generated by biocPkgList.
repocharacter(1) The requested Bioconductor repository. The default
is to pull from the "BioCsoft" repository. Possible repositories include
"BioCsoft", "BioCexp", "BioCworkflows", "BioCann", and "CRAN". Note that
not all repos are available for all versions, particularly older versions.
Docker registry organisation name.
infer_docker_org(docker_org="myorg", docker_registry="ghcr.io")
#> [1] "myorg"