Running ‘testthat.R’ [7s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(OpenLand)
  > 
  > test_check("OpenLand")
  ── 1. Error: (unknown) (@test_contingencyTable.R#7)  ───────────────────────────
  'where' must be an environment
  Backtrace:
    1. OpenLand::contingencyTable(demo_raster, pixelresolution = 1)
    2. base::lapply(...)
    3. OpenLand:::FUN(X[[i]], ...)
    4. dplyr::arrange(., Year_from)
   11. tidyr::separate(., Year_from, c("strings01", "yearFrom"), sep = "_")
   12. ellipsis::check_dots_used()
   14. ellipsis:::exit_handler(action)
   15. base::bquote(...)
  
  ── 2. Error: (unknown) (@test_intensityAnalysis.R#7)  ──────────────────────────
  'where' must be an environment
  Backtrace:
    1. OpenLand::contingencyTable(demo_raster, pixelresolution = 1)
    2. base::lapply(...)
    3. OpenLand:::FUN(X[[i]], ...)
    4. dplyr::arrange(., Year_from)
   11. tidyr::separate(., Year_from, c("strings01", "yearFrom"), sep = "_")
   12. ellipsis::check_dots_used()
   14. ellipsis:::exit_handler(action)
   15. base::bquote(...)
  
  ── 3. Error: (unknown) (@test_intensityClasses.R#7)  ───────────────────────────
  'where' must be an environment
  Backtrace:
    1. OpenLand::contingencyTable(demo_raster, pixelresolution = 1)
    2. base::lapply(...)
    3. OpenLand:::FUN(X[[i]], ...)
    4. dplyr::arrange(., Year_from)
   11. tidyr::separate(., Year_from, c("strings01", "yearFrom"), sep = "_")
   12. ellipsis::check_dots_used()
   14. ellipsis:::exit_handler(action)
   15. base::bquote(...)
  
  ── 4. Error: (unknown) (@test_plots.R#7)  ──────────────────────────────────────
  'where' must be an environment
  Backtrace:
    1. OpenLand::contingencyTable(demo_raster, pixelresolution = 1)
    2. base::lapply(...)
    3. OpenLand:::FUN(X[[i]], ...)
    4. dplyr::arrange(., Year_from)
   11. tidyr::separate(., Year_from, c("strings01", "yearFrom"), sep = "_")
   12. ellipsis::check_dots_used()
   14. ellipsis:::exit_handler(action)
   15. base::bquote(...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 30 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: (unknown) (@test_contingencyTable.R#7) 
  2. Error: (unknown) (@test_intensityAnalysis.R#7) 
  3. Error: (unknown) (@test_intensityClasses.R#7) 
  4. Error: (unknown) (@test_plots.R#7) 
  
  Error: testthat unit tests failed
  Execution halted