Running ‘testthat.R’ [7s/34s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(checkmate)
  > # library(mlr3oml)
  > 
  > test_check("mlr3oml")
  Loading required package: mlr3oml
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● Expensive manual test (1)
  ● On CRAN (6)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_OMLData.R:17:3): data backend ───────────────────────────────────
  Error: lexical error: invalid char in json text.
                                         <oml:error xmlns:oml="http://op
                       (right here) ------^
  
  Backtrace:
       █
    1. ├─global::expect_backend(as_data_backend(oml_data)) test_OMLData.R:17:2
    2. │ └─checkmate::expect_r6(...)
    3. │   └─checkmate::checkR6(...)
    4. ├─mlr3::as_data_backend(oml_data)
    5. ├─mlr3oml:::as_data_backend.OMLData(oml_data)
    6. │ ├─mlr3::as_data_backend(data$data)
    7. │ ├─data$data
    8. │ └─global::`$.R6`(data, "data")
    9. │   └─base::get(name, envir = x)
   10. ├─(function () ...
   11. │ └─mlr3oml:::.__OMLData__data(self = self, private = private, super = super)
   12. │   ├─mlr3oml:::cached(...)
   13. │   │ └─mlr3oml:::fun(id, ...)
   14. │   │   └─mlr3oml:::get_arff(desc$url, sparse = (desc$format == "sparse_arff"))
   15. │   │     └─base::sprintf(url, ...)
   16. │   ├─self$desc
   17. │   └─global::`$.R6`(self, "desc")
   18. │     └─base::get(name, envir = x)
   19. └─(function () ...
   20.   └─mlr3oml:::.__OMLData__desc(self = self, private = private, super = super)
   21.     └─mlr3oml:::cached(download_data_desc, "data_desc", self$id, cache_dir = self$cache_dir)
   22.       └─mlr3oml:::fun(id, ...)
   23.         └─mlr3oml:::get_json(...)
   24.           └─mlr3oml:::download_file(url, path, status_ok = status_ok)
   25.             └─jsonlite::fromJSON(readLines(res$content, warn = FALSE))
   26.               └─jsonlite:::parse_and_simplify(...)
   27.                 └─jsonlite:::parseJSON(txt, bigint_as_char)
   28.                   └─jsonlite:::parse_string(txt, bigint_as_char)
  ── Error (test_OMLData.R:23:3): no default target column fails gracefully (#1) ──
  Error: lexical error: invalid char in json text.
                                         <oml:error xmlns:oml="http://op
                       (right here) ------^
  
  Backtrace:
       █
    1. ├─mlr3oml:::expect_oml_data(oml_data) test_OMLData.R:23:2
    2. │ ├─checkmate::expect_string(oml_data$name) helper.R:6:2
    3. │ │ └─checkmate::checkString(...)
    4. │ │   └─`%and%`(...)
    5. │ │     └─base::isTRUE(lhs)
    6. │ ├─oml_data$name helper.R:6:2
    7. │ └─global::`$.R6`(oml_data, "name") helper.R:6:2
    8. │   └─base::get(name, envir = x)
    9. ├─(function () ...
   10. │ └─mlr3oml:::.__OMLData__name(self = self, private = private, super = super)
   11. │   ├─self$desc
   12. │   └─global::`$.R6`(self, "desc")
   13. │     └─base::get(name, envir = x)
   14. └─(function () ...
   15.   └─mlr3oml:::.__OMLData__desc(self = self, private = private, super = super)
   16.     └─mlr3oml:::cached(download_data_desc, "data_desc", self$id, cache_dir = self$cache_dir)
   17.       └─mlr3oml:::fun(id, ...)
   18.         └─mlr3oml:::get_json(...)
   19.           └─mlr3oml:::download_file(url, path, status_ok = status_ok)
   20.             └─jsonlite::fromJSON(readLines(res$content, warn = FALSE))
   21.               └─jsonlite:::parse_and_simplify(...)
   22.                 └─jsonlite:::parseJSON(txt, bigint_as_char)
   23.                   └─jsonlite:::parse_string(txt, bigint_as_char)
  
  [ FAIL 2 | WARN 0 | SKIP 7 | PASS 26 ]
  Error: Test failures
  Execution halted