Loads PIP release into .pipenv
setup_working_release.RdThis functions sets all the necessary information into the .pipenv
environment to be used by other PIP packages. It does not create releases.
Arguments
- identity
character: one of "PROD", "INT", or "TEST"
- owner
character: owner of repo
- repo
character: repository name
- file_path
character: file or folder path
- branch
character: branch where the file or folder is
- verbose
logical: whether to display additional information
- ppp
numeric: PPP year to use.
- creds
list. Basically, it is
get_github_creds()- ...
Arguments passed on to
pip_create_globalsroot_dircharacter: root directory of the PIP data
out_dircharacter: Output Directory. Default is
root_dircleanlogical: if TRUE it cleans all empty directories that have been created by mistake. Default is FALSE.
max_year_countrynumeric: Max year for country lineup. Default NULL, which is a heuristics that depends on the date this function is executed.
max_year_aggregatenumeric: Max year for regional nowcast.Default NULL, which is the current year
max_year_lineupnumeric: Max year for regional lineup.Default NULL, which is two years before the current year
Examples
if (FALSE) { # \dontrun{
# latest PROD release
setup_working_release()
# error if set up again
try(setup_working_release())
} # }