Working with PIP releases
working_with_releases.Rmd
Introduction
Creating releases goes beyond organization, information, and vintage control. The main purpose is having a well-defined structure that enables a clear, efficient and reproducible workflow.
Set up a release
creds <- get_github_creds()
(wr <- setup_working_release(creds = creds))
Notice that, by default, the working release will correspond to the
latest release of the most recent PPP round. Also, if you try to setup
the release again, you’ll get an error because there is release already
in the .pipenv
environment.
(wr <- setup_working_release(creds = creds))
If you need to set the environment again, you need to either restart
your R session or use argument force = TRUE
The .pipenv
environment
The .pipenv
environment contains many pieces of
information that are use internally by other functions of the PIP
ecosystem. For instance, the wr
object that is returned
invisibly by setup_working_release()
is available in
get_from_pipenv("working_release")
Moreover, all the information contained in the old function
pip_create_globals()
is now available in
gls <- get_from_pipenv("gls")
head(gls)