Running 'testthat.R' [91s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(raster)
  Loading required package: sp
  > library(steps)
  > 
  > test_check("steps")
  [1] "Kernel-based dispersal utilising available RAM to speed up operations"
  [1] "Kernel-based dispersal utilising available RAM to speed up operations"
  [1] "Kernel-based dispersal utilising available RAM to speed up operations"
  [1] "Kernel-based dispersal utilising available RAM to speed up operations"
  [1] "Kernel-based dispersal utilising available RAM to speed up operations"
  [1] "Kernel-based dispersal utilising available RAM to speed up operations"
  [1] "Kernel-based dispersal utilising available RAM to speed up operations"
  [1] "Kernel-based dispersal utilising available RAM to speed up operations"
  == Failed tests ================================================================
  -- Error (test_simulation_results_class.R:548:3): simulation_results classes work --
  Error in `(function (classes, fdef, mtable) 
  {
      methods <- .findInheritedMethods(classes, fdef, mtable)
      if (length(methods) == 1L) 
          return(methods[[1L]])
      else if (length(methods) == 0L) {
          cnames <- paste0("\"", vapply(classes, as.character, 
              ""), "\"", collapse = ", ")
          stop(gettextf("unable to find an inherited method for function %s for signature %s", 
              sQuote(fdef@generic), sQuote(cnames)), domain = NA)
      }
      else stop("Internal error in finding inherited methods; didn't return a unique method", 
          domain = NA)
  })(list(structure("Extent", package = "raster")), new("standardGeneric", 
      .Data = function (x) 
      standardGeneric("xmin"), generic = structure("xmin", package = "terra"), 
      package = "terra", group = list(), valueClass = character(0), 
      signature = "x", default = NULL, skeleton = (function (x) 
      stop("invalid call in method dispatch to 'xmin' (no default method)", 
          domain = NA))(x)), <environment>)`: unable to find an inherited method for function 'xmin' for signature '"Extent"'
  Backtrace:
      x
   1. +-base::plot(test_simulation[1], object = "population", type = "raster") test_simulation_results_class.R:548:2
   2. \-steps:::plot.simulation_results(...)
   3.   +-base::print(...)
   4.   +-rasterVis::levelplot(...)
   5.   \-rasterVis::levelplot(...)
   6.     \-rasterVis:::.local(x, data = data, ...)
   7.       \-rasterVis:::.levelplot(...)
   8.         \-terra::xmin(bb)
   9.           \-(function (classes, fdef, mtable) ...
  
  [ FAIL 1 | WARN 96 | SKIP 0 | PASS 45 ]
  Error: Test failures
  Execution halted