ropensci / citecorp

Client for the Open Citations Corpus
https://docs.ropensci.org/citecorp
Other
11 stars 4 forks source link

Unit tests with 'real API requests' to check if API or database changes #12

Open Selbosh opened 1 week ago

Selbosh commented 1 week ago

There was a set of unit requests set to run daily, with the aim of flagging up if anything in the OC API or returned data changes, so that we can fix the relevant queries. However these have failed for a long time and I had to switch them off. Need to fix these, so that the package does not fail silently.

There are already unit tests based on pre-downloaded data but this is not robust to anything changing at the OpenCitations end.

Selbosh commented 1 week ago

See GitHub action real-requests https://github.com/ropensci/citecorp/actions/workflows/real-requests.yml