Skip to contents

Update the staging universe.

Usage

update_staging(
  path_staging,
  path_community,
  repo_community = "https://community.r-multiverse.org",
  mock = NULL
)

Arguments

path_staging

Character string, directory path to the source files of the staging universe.

path_community

Character string, directory path to the source files of the community universe.

repo_community

Character string, URL of the community universe.

mock

For testing purposes only, a named list of data frames for inputs to various intermediate functions.

Value

NULL (invisibly)

Details

update_staging() controls how packages enter and leave the staging universe. It updates the staging packages.json manifest depending on the contents of the community universe and issues with package checks.

See also

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)
update_staging(
  path_staging = path_staging,
  path_community = path_community,
  repo_community = "https://community.r-multiverse.org"
)
} # }