Running 'testthat.R' [97s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(shar)
  > library(spatstat.core)
  Loading required package: spatstat.data
  Loading required package: spatstat.geom
  spatstat.geom 2.3-2
  Loading required package: spatstat.random
  spatstat.random 2.1-0
  Loading required package: nlme
  
  Attaching package: 'nlme'
  
  The following object is masked from 'package:dplyr':
  
      collapse
  
  Loading required package: rpart
  spatstat.core 2.4-0
  > library(testthat)
  
  Attaching package: 'testthat'
  
  The following object is masked from 'package:dplyr':
  
      matches
  
  > 
  > test_check("shar")
  [ FAIL 13 | WARN 0 | SKIP 0 | PASS 36 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-calculate_energy.R:3:1): (code run outside of `test_that()`) ────
  Error: 'runifpoint' is not an exported object from 'namespace:spatstat.core'
  Backtrace:
      ▆
   1. └─shar::fit_point_process(pattern = species_a, n_random = 3, verbose = FALSE) at test-calculate_energy.R:3:0
   2.   └─base::lapply(...)
   3.     └─shar FUN(X[[i]], ...)
  ── Error (test-fit-point_process.R:4:1): (code run outside of `test_that()`) ───
  Error: 'runifpoint' is not an exported object from 'namespace:spatstat.core'
  Backtrace:
      ▆
   1. └─shar::fit_point_process(pattern = species_b, n_random = 3, verbose = FALSE) at test-fit-point_process.R:4:0
   2.   └─base::lapply(...)
   3.     └─shar FUN(X[[i]], ...)
  ── Error (test-list_to_randomized.R:3:1): (code run outside of `test_that()`) ──
  Error: 'runifpoint' is not an exported object from 'namespace:spatstat.core'
  Backtrace:
      ▆
   1. └─base::lapply(...) at test-list_to_randomized.R:3:0
   2.   └─shar FUN(X[[i]], ...)
   3.     └─shar::fit_point_process(...) at test-list_to_randomized.R:4:2
   4.       └─base::lapply(...)
   5.         └─shar FUN(X[[i]], ...)
  ── Error (test-plot_energy.R:3:1): (code run outside of `test_that()`) ─────────
  Error: 'runifpoint' is not an exported object from 'namespace:spatstat.core'
  Backtrace:
      ▆
   1. └─shar::reconstruct_pattern(...) at test-plot_energy.R:3:0
   2.   └─shar:::reconstruct_pattern_homo(...)
  ── Error (test-plot_rd_pat.R:3:1): (code run outside of `test_that()`) ─────────
  Error: 'runifpoint' is not an exported object from 'namespace:spatstat.core'
  Backtrace:
      ▆
   1. └─shar::fit_point_process(species_a, n_random = 3, verbose = FALSE) at test-plot_rd_pat.R:3:0
   2.   └─base::lapply(...)
   3.     └─shar FUN(X[[i]], ...)
  ── Error (test-print.R:3:1): (code run outside of `test_that()`) ───────────────
  Error: 'runifpoint' is not an exported object from 'namespace:spatstat.core'
  Backtrace:
      ▆
   1. └─shar::reconstruct_pattern(...) at test-print.R:3:0
   2.   └─shar:::reconstruct_pattern_homo(...)
  ── Error (test-reconstruct_pattern.R:4:1): (code run outside of `test_that()`) ──
  Error: 'runifpoint' is not an exported object from 'namespace:spatstat.core'
  Backtrace:
      ▆
   1. └─shar::reconstruct_pattern(...) at test-reconstruct_pattern.R:4:0
   2.   └─shar:::reconstruct_pattern_homo(...)
  ── Error (test-reconstruct_pattern_cluster.R:4:1): (code run outside of `test_that()`) ──
  Error: 'runifpoint' is not an exported object from 'namespace:spatstat.core'
  Backtrace:
      ▆
   1. └─shar:::reconstruct_pattern_cluster(...) at test-reconstruct_pattern_cluster.R:4:0
  ── Error (test-reconstruct_pattern_hetero.R:3:1): (code run outside of `test_that()`) ──
  Error: 'rpoispp' is not an exported object from 'namespace:spatstat.core'
  ── Error (test-reconstruct_pattern_homo.R:4:1): (code run outside of `test_that()`) ──
  Error: 'runifpoint' is not an exported object from 'namespace:spatstat.core'
  Backtrace:
      ▆
   1. └─shar:::reconstruct_pattern_homo(...) at test-reconstruct_pattern_homo.R:4:0
  ── Error (test-reconstruct_pattern_marks.R:3:1): (code run outside of `test_that()`) ──
  Error: 'runifpoint' is not an exported object from 'namespace:spatstat.core'
  Backtrace:
      ▆
   1. └─shar:::reconstruct_pattern_homo(...) at test-reconstruct_pattern_marks.R:3:0
  ── Error (test-results_habitat_association.R:5:1): (code run outside of `test_that()`) ──
  Error: 'runifpoint' is not an exported object from 'namespace:spatstat.core'
  Backtrace:
      ▆
   1. └─shar::fit_point_process(...) at test-results_habitat_association.R:5:0
   2.   └─base::lapply(...)
   3.     └─shar FUN(X[[i]], ...)
  ── Error (test-sample_randomized.R:3:1): (code run outside of `test_that()`) ───
  Error: 'runifpoint' is not an exported object from 'namespace:spatstat.core'
  Backtrace:
      ▆
   1. └─shar::fit_point_process(species_a, n_random = 9, verbose = FALSE) at test-sample_randomized.R:3:0
   2.   └─base::lapply(...)
   3.     └─shar FUN(X[[i]], ...)
  
  [ FAIL 13 | WARN 0 | SKIP 0 | PASS 36 ]
  Error: Test failures
  Execution halted