CONTRIBUTING.md

CONTRIBUTING

Bugs?

Code contributions

Testing

This package uses vcr on top of testthat for testing: HTTP requests and responses are saved so that when running tests, the cached things ("cassettes") are used instead of repeated calls to web services.

If you're new to such a testing setup, read HTTP testing in R.

In practice, it means:

rredlist requires an API key to work. When testing locally, you will need to use your own API key to generate new cassettes. The API key would normally be recorded in HTTP requests and responses. However, we've set it up so that vcr filters this sensitive data out of the cassettes. Make sure to never include your own API key when making changes to the codebase, including tests.

Also, check out our discussion forum



ropenscilabs/rredlist documentation built on Feb. 7, 2025, 2:28 a.m.