Running ‘test-that.R’ [86s/126s]
Running the tests in ‘tests/test-that.R’ failed.
Complete output:
  > library(testthat)
  > library(dsims)
  Loading required package: dssd
  > 
  > test_check("dsims", filter = "check_.*")
  [ FAIL 1 | WARN 4 | SKIP 0 | PASS 52 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-check_BasicSegmentedLine.R:51:3): Test creation and data generation ──
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'object' in selecting a method for function 'run.survey': object 'survey' not found
  Backtrace:
      ▆
   1. ├─dsims::run.simulation(sim, counter = FALSE) at test-check_BasicSegmentedLine.R:51:2
   2. │ └─dsims:::single.sim.loop(...)
   3. │   └─dsims::run.survey(object = survey, region = simulation@design@region)
   4. └─base::.handleSimpleError(...)
   5.   └─base h(simpleError(msg, call))
  
  [ FAIL 1 | WARN 4 | SKIP 0 | PASS 52 ]
  Error: Test failures
  Execution halted
Running ‘test-that.R’ [81s/82s]
Running the tests in ‘tests/test-that.R’ failed.
Complete output:
  > library(testthat)
  > library(dsims)
  Loading required package: dssd
  > 
  > test_check("dsims", filter = "check_.*")
  [ FAIL 1 | WARN 4 | SKIP 0 | PASS 52 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-check_BasicSegmentedLine.R:51:3): Test creation and data generation ──
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'object' in selecting a method for function 'run.survey': object 'survey' not found
  Backtrace:
      ▆
   1. ├─dsims::run.simulation(sim, counter = FALSE) at test-check_BasicSegmentedLine.R:51:2
   2. │ └─dsims:::single.sim.loop(...)
   3. │   └─dsims::run.survey(object = survey, region = simulation@design@region)
   4. └─base::.handleSimpleError(...)
   5.   └─base h(simpleError(msg, call))
  
  [ FAIL 1 | WARN 4 | SKIP 0 | PASS 52 ]
  Error: Test failures
  Execution halted
Installation failed.
See ‘/Volumes/Builds/packages/big-sur-arm64/results/4.1/dsims.Rcheck/00install.out’ for details.