Freeze the targeted versions of base R and CRAN packages.
Details
freeze_dependencies()
runs during the month-long
dependency freeze phase of Staging in which base R and CRAN packages
are locked in the Staging universe until after the next Production
snapshot. This establishes checks in the Staging universe
using the exact set of dependencies that will be used in the
candidate freeze (see stage_candidates()
).
freeze_dependencies()
copies the Community repository packages.json
into the Staging repository to reset the Staging process.
It also writes a config.json
file with the date
of the targeted CRAN snapshot.
See also
Other staging:
filter_meta()
,
rclone_includes()
,
stage_candidates()
Examples
if (FALSE) { # \dontrun{
url_staging = "https://github.com/r-multiverse/staging"
url_community = "https://github.com/r-multiverse/community"
path_staging <- tempfile()
path_community <- tempfile()
gert::git_clone(url = url_staging, path = path_staging)
gert::git_clone(url = url_community, path = path_community)
freeze_dependencies(
path_staging = path_staging,
path_community = path_community
)
} # }