Running ‘tests.R’ [1s/2s]
  Running ‘testthat.R’ [108s/131s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(stepR)
  Successfully loaded stepR package version 2.1-11.
  Several new functions are added in version 2.0-0. Some older functions are deprecated (still working) and may be defunct in a later version. Please read the documentation for more details.
  > 
  > savePathRcache <- R.cache::getCacheRootPath()
  > R.cache::setCacheRootPath(path = file.path(R.cache::getCacheRootPath(), "test"))
  > 
  > tryCatch(
  +   test_check("stepR"),
  +   finally = {
  +     unlink(R.cache::getCacheRootPath(), force = TRUE, recursive = TRUE)
  +     R.cache::setCacheRootPath(savePathRcache)
  +   }
  + )
  Saving _problems/test-computeBounds-1413.R
  [ FAIL 1 | WARN 17 | SKIP 23 | PASS 23706 ]
  
  ══ Skipped tests (23) ══════════════════════════════════════════════════════════
  • On CRAN (23): 'test-computeStat.R:1389:3', 'test-computeStat.R:1508:3',
    'test-critVal.R:2841:3', 'test-critVal.R:3118:3', 'test-critVal.R:3318:3',
    'test-critVal.R:3376:3', 'test-critVal.R:3504:3',
    'test-monteCarloSimulation.R:517:3', 'test-monteCarloSimulation.R:530:3',
    'test-monteCarloSimulation.R:549:3', 'test-monteCarloSimulation.R:566:3',
    'test-monteCarloSimulation.R:582:3', 'test-monteCarloSimulation.R:590:3',
    'test-monteCarloSimulation.R:605:3', 'test-monteCarloSimulation.R:655:3',
    'test-monteCarloSimulation.R:690:3', 'test-monteCarloSimulation.R:698:3',
    'test-monteCarloSimulation.R:706:3', 'test-monteCarloSimulation.R:818:3',
    'test-monteCarloSimulation.R:959:3', 'test-monteCarloSimulation.R:1020:3',
    'test-monteCarloSimulation.R:1078:3', 'test-monteCarloSimulation.R:1205:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-computeBounds.R:1413:3'): argument q is tested and works for family 'jsmurf' ──
  Error in `file(pathname, open = "wb")`: cannot open the connection
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-computeBounds.R:1413:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─stepR::computeBounds(testy, family = "jsmurf", filter = testfilter)
    7.   └─stepR (local) .RemoveAdditionalArgsCV(...)
    8.     └─stepR:::.critVal(...)
    9.       └─stepR:::.getVectorStat(...)
   10.         └─stepR:::.getStat(...)
   11.           └─stepR:::.saveMatrix(stat = stat, options = options, n = data$n)
   12.             └─stepR:::.saveRcache(...)
   13.               ├─R.cache::saveCache(stat, key = key, dirs = dirs)
   14.               └─R.cache:::saveCache.default(stat, key = key, dirs = dirs)
   15.                 └─base::file(pathname, open = "wb")
  
  [ FAIL 1 | WARN 17 | SKIP 23 | PASS 23706 ]
  Error:
  ! Test failures.
  Execution halted