For a new package I've set up a R-CMD-check workflow on github:
The checks fail on all operating systems (except Windows) because system requirements are not installed. I've specified the system requirements in the DESCRIPTION file of my package. I've also submitted a JSON file with specifications of system requirements here:
Looking at the documentation of r-hub here:
I see that pak is used to setup system-requirements, but it does not recognize my package openmpt.
I must be missing something here. How do I get pak to recognize my package, and more importantly what do I need to do to get the R-CMD-check workflow to install the system requirements?
Thanks for the quick response. After updating the field specification in the DESCRIPTION file, I got the check routine to work! In order to make this helpful for others and for future reference, where is the formatting of the DESCRIPTION field documented? Maybe documentation at r-hub actions could cross-reference this documentation...
The format of DESCRIPTION is documented in "Writing R extensions", but SystemRequirements is a free-form field, so you can write anything you like there. But if you want pak etc. to match that field to system packages, then the regular expression in the system requirements rule must match the field in DESCRIPTION.