Running ‘testthat.R’ [4s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(curl)
  Using libcurl 8.17.0 with GnuTLS/3.8.11
  > library(isoWater)
  > 
  > test_check("isoWater")
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 1
     Unobserved stochastic nodes: 6
     Total graph size: 72
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 1
     Unobserved stochastic nodes: 6
     Total graph size: 72
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 1
     Unobserved stochastic nodes: 6
     Total graph size: 72
  
  Initializing model
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 1
     Unobserved stochastic nodes: 6
     Total graph size: 72
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 1
     Unobserved stochastic nodes: 6
     Total graph size: 72
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 1
     Unobserved stochastic nodes: 4
     Total graph size: 46
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 1
     Unobserved stochastic nodes: 4
     Total graph size: 46
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 1
     Unobserved stochastic nodes: 4
     Total graph size: 46
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 1
     Unobserved stochastic nodes: 4
     Total graph size: 46
  
  Initializing model
  
  Compiling model graph
     Resolving undeclared variables
     Allocating nodes
  Graph information:
     Observed stochastic nodes: 1
     Unobserved stochastic nodes: 4
     Total graph size: 46
  
  Initializing model
  
  Saving _problems/test-wiDB-21.R
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 19 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-wiDB.R:20:3'): (code run outside of `test_that()`) ─────────────
  Error in `strsplit(fn, "=")`: non-character argument
  Backtrace:
      ▆
   1. └─isoWater::wiDB_data(...) at test-wiDB.R:20:3
   2.   └─base::strsplit(fn, "=")
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 19 ]
  Error:
  ! Test failures.
  Execution halted