Create new release for PIP update
new_pip_release.RdCAUTION: 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"),
confirm_remove = getOption("pipfun.confirm_remove"),
...
)Arguments
- 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_releasesownercharacter: owner of repo
repocharacter: repository name
file_pathcharacter: file or folder path
branchcharacter: branch where the file or folder is
credslist. Basically, it is
get_github_creds()