Running ‘testthat.R’ [18s/29s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(spacejamr)
  > 
  > test_check("spacejamr")
  Using the projected CRS WGS 84 / UTM zone 19N which uses 'm' for measurement units. Please visit https://spatialreference.org/ref/epsg/32619/ for more information about this CRS.
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 10 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-PointSim.R:8:5): we can simulate point processes ────────────────
  Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
  Backtrace:
      ▆
   1. └─spacejamr::PointSim(points = 10, window = RI) at test-PointSim.R:8:4
   2.   └─spacejamr:::new_PointSim(points, window, type, seed)
   3.     └─spacejamr:::validate_PointSim(points, window, type, seed)
   4.       ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
   5.       └─methods::is(window, c("spacejamr", "owin"))
   6.         └─base::stopifnot(length(class2) == 1L)
  ── Error (test-PointSim.R:16:5): we can generate a Halton Sequence ─────────────
  Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
  Backtrace:
      ▆
   1. └─spacejamr::PointSim(points = 10, window = RI, type = halton) at test-PointSim.R:16:4
   2.   └─spacejamr:::new_PointSim(points, window, type, seed)
   3.     └─spacejamr:::validate_PointSim(points, window, type, seed)
   4.       ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
   5.       └─methods::is(window, c("spacejamr", "owin"))
   6.         └─base::stopifnot(length(class2) == 1L)
  ── Error (test-compare.R:5:1): (code run outside of `test_that()`) ─────────────
  Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
  Backtrace:
      ▆
   1. └─spacejamr::PointSim(3, RI) at test-compare.R:5:0
   2.   └─spacejamr:::new_PointSim(points, window, type, seed)
   3.     └─spacejamr:::validate_PointSim(points, window, type, seed)
   4.       ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
   5.       └─methods::is(window, c("spacejamr", "owin"))
   6.         └─base::stopifnot(length(class2) == 1L)
  ── Error (test-generics.R:5:1): (code run outside of `test_that()`) ────────────
  Error in `methods::is(window, c("spacejamr", "owin"))`: length(class2) == 1L is not TRUE
  Backtrace:
      ▆
   1. └─spacejamr::PointSim(3, RI) at test-generics.R:5:0
   2.   └─spacejamr:::new_PointSim(points, window, type, seed)
   3.     └─spacejamr:::validate_PointSim(points, window, type, seed)
   4.       ├─base::stopifnot(methods::is(window, c("spacejamr", "owin")))
   5.       └─methods::is(window, c("spacejamr", "owin"))
   6.         └─base::stopifnot(length(class2) == 1L)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 10 ]
  Error: Test failures
  Execution halted