Running 'spelling.R' [0s]
  Running 'testthat.R' [56s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("retistruct")
  Loading required package: retistruct
  == Failed tests ================================================================
  -- Error (test-format-ijroi.R:4:3): IJROI format with image is read correctly --
  Error: object 'marks<-' is not exported by 'namespace:spatstat'
  Backtrace:
       x
    1. +-testthat::expect_warning(retistruct.read.dataset(dataset), "Scale file \"scale.csv\" does not exist. Scale bar will not be set.") test-format-ijroi.R:4:2
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. \-retistruct::retistruct.read.dataset(dataset)
    7.   \-retistruct:::ijroi.read.dataset(dataset, report, ...)
    8.     \-RImageJROI::read.ijroi
    9.       \-base::getExportedValue(pkg, name)
   10.         \-base::asNamespace(ns)
   11.           \-base::getNamespace(ns)
   12.             \-base::loadNamespace(name)
   13.               \-base::namespaceImportFrom(...)
   14.                 \-base::importIntoEnv(impenv, impnames, ns, impvars)
  -- Error (test-format-ijroi.R:20:5): IJROI format with data points and data counts is read correctly --
  Error: object 'marks<-' is not exported by 'namespace:spatstat'
  Backtrace:
       x
    1. +-testthat::expect_warning(retistruct.read.dataset(dataset), "Scale file \"scale.csv\" does not exist. Scale bar will not be set.") test-format-ijroi.R:20:4
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. \-retistruct::retistruct.read.dataset(dataset)
    7.   \-retistruct:::ijroi.read.dataset(dataset, report, ...)
    8.     \-RImageJROI::read.ijroi
    9.       \-base::getExportedValue(pkg, name)
   10.         \-base::asNamespace(ns)
   11.           \-base::getNamespace(ns)
   12.             \-base::loadNamespace(name)
   13.               \-base::namespaceImportFrom(...)
   14.                 \-base::importIntoEnv(impenv, impnames, ns, impvars)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 156 ]
  Error: Test failures
  Execution halted