Running ‘testthat.R’ [7s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(LWFBrook90R)
  > 
  > test_check("LWFBrook90R")
  Saving _problems/test-multirun-13.R
  Saving _problems/test-options-18.R
  Saving _problems/test-runLWFB90-17.R
  Saving _problems/test-runLWFB90_errors-26.R
  [ FAIL 4 | WARN 0 | SKIP 1 | PASS 9 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • Will fail as long as the source codes differ slightly?! (1):
    'test-output_vs_b90exe.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-multirun.R:13:1'): (code run outside of `test_that()`) ─────────
  Error in ``[.data.table`(soil_dt, , `:=`(mat, .GRP), by = list(ths, thr, alpha, npar, ksat, tort, gravel))`: attempt access index 17/17 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─LWFBrook90R::soil_to_param(soil) at test-multirun.R:13:1
   2.   ├─...[]
   3.   └─data.table:::`[.data.table`(...)
  ── Error ('test-options.R:15:3'): Precipitation correction works ───────────────
  Error in ``[.data.table`(soil_dt, , `:=`(mat, .GRP), by = list(ths, thr, alpha, npar, ksat, tort, gravel))`: attempt access index 17/17 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─LWFBrook90R::run_LWFB90(...) at test-options.R:15:3
   2.   └─LWFBrook90R::soil_to_param(soil, options_b90$imodel)
   3.     ├─...[]
   4.     └─data.table:::`[.data.table`(...)
  ── Error ('test-runLWFB90.R:14:1'): (code run outside of `test_that()`) ────────
  Error in ``[.data.table`(soil_dt, , `:=`(mat, .GRP), by = list(ths, thr, alpha, npar, ksat, tort, gravel))`: attempt access index 17/17 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─LWFBrook90R::run_LWFB90(...) at test-runLWFB90.R:14:1
   2.   └─LWFBrook90R::soil_to_param(soil, options_b90$imodel)
   3.     ├─...[]
   4.     └─data.table:::`[.data.table`(...)
  ── Error ('test-runLWFB90_errors.R:26:1'): (code run outside of `test_that()`) ──
  Error in ``[.data.table`(soil_dt, , `:=`(mat, .GRP), by = list(ths, thr, alpha, npar, ksat, tort, gravel))`: attempt access index 17/17 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─LWFBrook90R::soil_to_param(soil_bad) at test-runLWFB90_errors.R:26:1
   2.   ├─...[]
   3.   └─data.table:::`[.data.table`(...)
  
  [ FAIL 4 | WARN 0 | SKIP 1 | PASS 9 ]
  Error:
  ! Test failures.
  Execution halted