Running 'testthat.r' [6s]
Running the tests in 'tests/testthat.r' failed.
Complete output:
  > library(testthat)
  > library(geoelectrics)
  Loading required package: lattice
  Loading required package: rgl
  Loading required package: fields
  Loading required package: spam
  Spam version 2.9-1 (2022-08-07) is loaded.
  Type 'help( Spam)' or 'demo( spam)' for a short introduction 
  and overview of this package.
  Help for individual functions is also obtained by adding the
  suffix '.spam' to the function name, e.g. 'help( chol.spam)'.
  
  Attaching package: 'spam'
  
  The following objects are masked from 'package:base':
  
      backsolve, forwardsolve
  
  Loading required package: viridis
  Loading required package: viridisLite
  
  Try help(fields) to get started.
  
  Attaching package: 'fields'
  
  The following object is masked from 'package:testthat':
  
      describe
  
  > 
  > test_check("geoelectrics")
  Created an empty GPS coordinates object.
  Created an empty processed data object.
  Created an empty GPS coordinates object.
  Created an empty raw data object.
  Created an empty processed data object.
  Created an empty raw data object.
  [ FAIL 6 | WARN 6 | SKIP 1 | PASS 42 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_adjustHeight.r:9:3'): Test adding height works ─────────────────
  Error in `load(zfile, envir = tmp_env)`: empty (zero-byte) input file
  Backtrace:
      ▆
   1. └─utils::data(sinkhole) at test_adjustHeight.r:9:2
   2.   └─base::load(zfile, envir = tmp_env)
  ── Error ('test_levelplot.r:3:1'): (code run outside of `test_that()`) ─────────
  Error in `load(zfile, envir = tmp_env)`: empty (zero-byte) input file
  Backtrace:
      ▆
   1. └─utils::data(sinkhole) at test_levelplot.r:3:0
   2.   └─base::load(zfile, envir = tmp_env)
  ── Error ('test_plot.r:3:1'): (code run outside of `test_that()`) ──────────────
  Error in `load(zfile, envir = tmp_env)`: empty (zero-byte) input file
  Backtrace:
      ▆
   1. └─utils::data(sinkhole) at test_plot.r:3:0
   2.   └─base::load(zfile, envir = tmp_env)
  ── Error ('test_plot3d.r:3:1'): (code run outside of `test_that()`) ────────────
  Error in `load(zfile, envir = tmp_env)`: empty (zero-byte) input file
  Backtrace:
      ▆
   1. └─utils::data(sinkhole) at test_plot3d.r:3:0
   2.   └─base::load(zfile, envir = tmp_env)
  ── Error ('test_plotIntersect.r:3:1'): (code run outside of `test_that()`) ─────
  Error in `load(zfile, envir = tmp_env)`: empty (zero-byte) input file
  Backtrace:
      ▆
   1. └─utils::data(sinkhole) at test_plotIntersect.r:3:0
   2.   └─base::load(zfile, envir = tmp_env)
  ── Error ('test_plotLegend.r:3:1'): (code run outside of `test_that()`) ────────
  Error in `load(zfile, envir = tmp_env)`: empty (zero-byte) input file
  Backtrace:
      ▆
   1. └─utils::data(sinkhole) at test_plotLegend.r:3:0
   2.   └─base::load(zfile, envir = tmp_env)
  
  [ FAIL 6 | WARN 6 | SKIP 1 | PASS 42 ]
  Error: Test failures
  Execution halted