DataONEorg / rdataone

R package for reading and writing data at DataONE data repositories
http://doi.org/10.5063/F1M61H5X
36 stars 19 forks source link

test_that("D1Client downloadObject") failing CRAN checks #231

Closed jsta closed 5 years ago

jsta commented 5 years ago
── 1. Error: D1Client downloadObject (@test.D1Client.R#548) ────────────────────────────────────────
trying to get slot "obsoletedBy" from an object of a basic class ("NULL") with no slots
1: downloadObject(d1cKNB, pid, path) at testthat/test.D1Client.R:548
2: downloadObject(d1cKNB, pid, path)
3: .local(x, identifier, ...)

See: https://cran.rstudio.com/web/checks/check_results_dataone.html

jsta commented 5 years ago

Running the test manually I also get:

In addition: Warning message:
In .local(x, ...) :
  Error getting SystemMetadata: Certificate is expired (or not yet valid): certificate expired on 20190103195134GMT+00:00
gothub commented 5 years ago

@jsta thanks for logging this. I've identified the cause of this error and reported it to the DataONE Cyber Infrastructure personnel, who should be able to resolve it by early next week.

gothub commented 5 years ago

Fixed in commit e50f4ce555a398b872be86f2f442dd61cecadf8c. Updated package is available from CRAN (v2.1.2)