Running 'testthat.R' [163s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(loose.rock)
  > 
  > test_check("loose.rock")
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  [ FAIL 2 | WARN 18 | SKIP 2 | PASS 218 ]
  
  == Skipped tests ===============================================================
  * empty test (2)
  
  == Failed tests ================================================================
  -- Error (test-coding.genes.R:137:5): getBM multiple combinations of useCache --
  Error in `load(bfc[[rid]])`: bad restore file magic number (file may be corrupted) -- no data loaded
  Backtrace:
      x
   1. +-testthat::expect_identical(...) at test-coding.genes.R:137:4
   2. | \-testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-base::do.call(loose.rock:::getBM.internal, args.3)
   5. \-loose.rock `<fn>`(...)
   6.   \-base::tryCatch(...)
   7.     \-base tryCatchList(expr, classes, parentenv, handlers)
   8.       \-base tryCatchOne(expr, names, parentenv, handlers[[1L]])
   9.         \-value[[3L]](cond)
  -- Error (test-coding.genes.R:162:5): getBM internal gets the same as biomaRt::getBM --
  Error in `load(bfc[[rid]])`: bad restore file magic number (file may be corrupted) -- no data loaded
  Backtrace:
      x
   1. +-testthat::expect_identical(...) at test-coding.genes.R:162:4
   2. | \-testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-base::do.call(biomaRt::getBM, args)
   5. \-biomaRt `<fn>`(...)
   6.   \-base::load(bfc[[rid]])
  
  [ FAIL 2 | WARN 18 | SKIP 2 | PASS 218 ]
  Error: Test failures
  In addition: Warning message:
  In for (i in (1L:cols)[do]) { :
    closing unused connection 4 (https://ftp.ncbi.nih.gov/pub/CCDS/current_human/CCDS.current.txt)
  Execution halted