This repository contains 2 files that define the official rOpenSci package suite: our registry for R-universe: the official list of rOpenSci packages, identified by the package name and git url (updated hourly).
The rOpenSci package suite consists of all R packages in the ropensci and ropenscilabs GitHub organizations, except for packages listed in exclude list, plus some extra packages listed in not_transferred.json.
The CI automatically updates the packages.json file using the makeregistry package.
The code to re-generate packages.json is in the makeregistry package. The build_ropensci_packages_json() function works as follows:
- It queries the GitHub API for all repositories in
ropensciandropenscilabs. - It removes entries from the exclude list
- It adds packages listed in not_transferred.json
- Saves the final list in
packages.json
This function should take less then a minute to complete, be very reliable, and we run it frequently.
For this we now use the R-universe API.