── R CMD check results ──────────────────────────── dataonderivatives 0.3.0 ────
Duration: 0ms

❯ checking tests ... ERROR
  See below...

❯ checking dependencies in R code ... NOTE
  Namespace in Imports field not imported from: ‘stats’
    All declared Imports should be used.

── Test failures ───────────────────────────────────────────────── testthat ────

> library(testthat)
> library(dataonderivatives)
> 
> test_check("dataonderivatives")
1. Failure: BSDR API accesible (@test-bsdr.R#6) --------------------------------
`df1` inherits from `NULL` not `data.frame`.


2. Failure: BSDR API accesible (@test-bsdr.R#8) --------------------------------
`df2` inherits from `NULL` not `data.frame`.


3. Failure: BSDR API accesible (@test-bsdr.R#9) --------------------------------
nrow(df1) <= nrow(df2) isn't true.


4. Failure: CME SDR file parses (@test-cme.R#22) -------------------------------
nrow(cme(lubridate::ymd(20161213), "FX")) > 0 isn't true.


testthat results ================================================================
OK: 23 SKIPPED: 0 FAILED: 4
1. Failure: BSDR API accesible (@test-bsdr.R#6) 
2. Failure: BSDR API accesible (@test-bsdr.R#8) 
3. Failure: BSDR API accesible (@test-bsdr.R#9) 
4. Failure: CME SDR file parses (@test-cme.R#22) 

Error: testthat unit tests failed
Execution halted

1 error ✖ | 0 warnings ✔ | 1 note ✖
