ropensci / citecorp

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

make sure egs run only if okay #5

Closed sckott closed 4 years ago

sckott commented 4 years ago

via cran checks

  > if (crul::ok('http://opencitations.net/sparql')) {
    + oc_doi2ids("10.1097/igc.0000000000000609")
... removed
    Error: No description found for code: 520

and

 > if (crul::ok("http://opencitations.net/index/coci/api/v1")) {
    + # references
    + oc_coci_refs(doi1)
... removed
    Error in fauxpas::find_error_class(x$status_code) :
     no method found for 520
    Calls: oc_coci_refs -> oc_coci_stub -> oc_GET -> errs -> <Anonymous>