Running ‘testthat.R’ [9s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(PCRedux)
  > 
  > test_check("PCRedux")
  ── 1. Error: hookregNL gives the correct dimensions and properties (@test_hookre
  the condition has length > 1
  1: hookregNL(x = boggy[, 1], y = boggy[, 2]) at testthat/test_hookregNL.R:8
  
  ── 2. Error: mblrr gives the correct dimensions and properties (@test_mblrr.R#9)
  the condition has length > 1
  1: hookregNL(x = boggy[, 1], y = boggy[, 2]) at testthat/test_mblrr.R:9
  
  ── 3. Error: pcrfit_single gives the correct dimensions and properties (@test_pc
  the condition has length > 1
  1: pcrfit_single(boggy[, 2]) at testthat/test_pcrfit_single.R:8
  2: suppressMessages(PCRedux::hookregNL(x = cycles, x))
  3: withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
  4: PCRedux::hookregNL(x = cycles, x)
  
  ── 4. Error: visdat_pcrfit uses all types (@test_visdat_pcrfit.R#9)  ───────────
  the condition has length > 1
  1: cbind(runs = "F1.1", pcrfit_single(test_data[, 2])) at testthat/test_visdat_pcrfit.R:9
  2: pcrfit_single(test_data[, 2])
  3: suppressMessages(PCRedux::hookregNL(x = cycles, x))
  4: withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
  5: PCRedux::hookregNL(x = cycles, x)
  
  ── 5. Error: visdat_pcrfit uses the qpcR package types only (@test_visdat_pcrfit
  the condition has length > 1
  1: cbind(runs = "F1.1", pcrfit_single(test_data[, 2])) at testthat/test_visdat_pcrfit.R:21
  2: pcrfit_single(test_data[, 2])
  3: suppressMessages(PCRedux::hookregNL(x = cycles, x))
  4: withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
  5: PCRedux::hookregNL(x = cycles, x)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 25 SKIPPED: 0 FAILED: 5
  1. Error: hookregNL gives the correct dimensions and properties (@test_hookregNL.R#8) 
  2. Error: mblrr gives the correct dimensions and properties (@test_mblrr.R#9) 
  3. Error: pcrfit_single gives the correct dimensions and properties (@test_pcrfit_single.R#8) 
  4. Error: visdat_pcrfit uses all types (@test_visdat_pcrfit.R#9) 
  5. Error: visdat_pcrfit uses the qpcR package types only (@test_visdat_pcrfit.R#21) 
  
  Error: testthat unit tests failed
  Execution halted