Create new release for PIP update
new_pip_release.Rd
CAUTION: Use this functions with care.
Usage
new_pip_release(
release = format(Sys.Date(), "%Y%m%d"),
identity = getOption("pipfun.identities"),
verbose = getOption("pipfun.verbose"),
root_dir = Sys.getenv("PIP_ROOT_DIR"),
working_dir = fs::path(root_dir, getOption("pipfun.working_dir")),
ppps = getOption("pipfun.ppps"),
...
)
remove_pip_release(
release,
identity = getOption("pipfun.identities"),
verbose = getOption("pipfun.verbose"),
working_dir = NULL,
ppps = getOption("pipfun.ppps"),
...
)
Arguments
- release
character: date in the form "%Y%m%d"
- identity
character: for PIP repos it must be one of
c("PROD", "INT", "TEST")
. For other repos, just leave de default, which is 'PROD'.- verbose
A logical: whether to print detailed messages about the process. The default is
TRUE
- root_dir
character: Root directory for PIP data, defaults to
Sys.getenv("PIP_ROOT_DIR")
- working_dir
character: Working directory where files will be created. Defaults to a subdirectory of
root_dir
- ppps
numeric: vector of PPP years.
- ...
Arguments passed on to
get_pip_releases
owner
character: owner of repo
repo
character: repository name
file_path
character: file path
branch
character: branch where the file is
creds
list. Basically, it is
get_github_creds()