The files in this directory are based off of carpentries/feeds.carpentries.org (MIT licenced). If they require an update you should check that repository first.
These R scripts depend on the following libraries:
If you have a Conda environment for local development and testing, install the packages:
conda install -c conda-forge r-colorspace r-dplyr r-gh r-jsonlite r-purrr r-tibbleGitHub may limit your API access if you are not authenticated. To avoid this,
generate a basic Personal Access Token
with no roles associated (not even "repo"). Copy the token, and export it
under the new environment variable GITHUB_PAT.
For CI platforms, installing a full R environment is time-consuming. A faster alternative is to use the EESSI filesystem overlay.
There is a GitHub Action for this: eessi/github-action-eessi. This is used in
our /.github/workflows/build-and-deploy.yml.
To build the data feeds locally, from the top-level directory of this repository, run
make dataThis will create (or update) JSON files under _data with the latest content.