Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rbi.helpers)
  Loading required package: rbi
  
  Attaching package: 'rbi'
  
  The following objects are masked from 'package:stats':
  
      filter, optimise, predict, simulate, update
  
  The following object is masked from 'package:utils':
  
      fix
  
  The following object is masked from 'package:base':
  
      sample
  
  > 
  > test_check("rbi.helpers")
  Error in R_nc4_open: NetCDF: HDF error
  ── 1. Error: (unknown) (@test-DIC.r#3)  ────────────────────────────────────────
  Error in nc_open trying to open file /home/ripley/R/Lib32/rbi/example_output.nc
  1: bi_read(system.file(package = "rbi", "example_output.nc")) at testthat/test-DIC.r:3
  2: bi_open(x)
  3: nc_open(tools::file_path_as_absolute(x))
  4: stop(paste("Error in nc_open trying to open file", filename))
  
  Error in R_nc4_open: NetCDF: HDF error
  ── 2. Error: (unknown) (@test-adapt.r#4)  ──────────────────────────────────────
  Error in nc_open trying to open file /home/ripley/R/Lib32/rbi/example_output.nc
  1: bi_read(system.file(package = "rbi", "example_output.nc")) at testthat/test-adapt.r:4
  2: bi_open(x)
  3: nc_open(tools::file_path_as_absolute(x))
  4: stop(paste("Error in nc_open trying to open file", filename))
  
  Error in R_nc4_open: NetCDF: HDF error
  ── 3. Error: (unknown) (@test-times.r#3)  ──────────────────────────────────────
  Error in nc_open trying to open file /home/ripley/R/Lib32/rbi/example_output.nc
  1: bi_read(system.file(package = "rbi", "example_output.nc")) at testthat/test-times.r:3
  2: bi_open(x)
  3: nc_open(tools::file_path_as_absolute(x))
  4: stop(paste("Error in nc_open trying to open file", filename))
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 1 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: (unknown) (@test-DIC.r#3) 
  2. Error: (unknown) (@test-adapt.r#4) 
  3. Error: (unknown) (@test-times.r#3) 
  
  Error: testthat unit tests failed
  Execution halted