Skip to contents

Review pull requests which add packages to packages.json.

Usage

review_pull_requests(owner = "r-multiverse", repo = "contributions")

Arguments

owner

Character of length 1, name of the package repository owner.

repo

Character of length 1, URL of the package repository. R-multiverse uses "https://community.r-multiverse.org".

Value

NULL (invisibly).

Testing

Testing of this function unfortunately needs to be manual. Test cases:

  1. Add a package correctly (automatically merge).

  2. Add a bad URL (manual review).

  3. Change a URL (manual review).

  4. Add a file in a forbidden place (close).

  5. Add a custom JSON file which can be parsed (manual review).

See also

Other pull request reviews: review_pull_request()