Running ‘testthat.R’ [60s/87s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(aqp)
  The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
  which was just loaded, will retire in October 2023.
  Please refer to R-spatial evolution reports for details, especially
  https://r-spatial.org/r/2023/05/15/evolution4.html.
  It may be desirable to make the sf package available;
  package maintainers should consider adding sf to Suggests:.
  The sp package is now running under evolution status 2
       (status 2 uses the sf package in place of rgdal)
  This is aqp 1.42
  > 
  > test_check("aqp")
  [ FAIL 8 | WARN 0 | SKIP 5 | PASS 1263 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-DT-tbl.R:6:3', 'test-color-signature.R:64:3',
    'test-fix-find-overlap.R:39:3', 'test-fix-find-overlap.R:62:3'
  • rgdal cannot be loaded (1): 'test-SPC-objects.R:193:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-profileInformationIndex.R:11:3'): .pii works ─────────────────
  `x` not equal to 2L.
  1/1 mismatches
  [1] 2.21 - 2 == 0.214
  ── Failure ('test-profileInformationIndex.R:15:3'): .pii works ─────────────────
  `x` not equal to 3.615.
  1/1 mismatches
  [1] 3.54 - 3.62 == -0.0765
  ── Failure ('test-profileInformationIndex.R:29:3'): basic operation ────────────
  as.vector(p) not equal to c(3, 4.3).
  1/2 mismatches
  [2] 3.67 - 4.3 == -0.63
  ── Failure ('test-profileInformationIndex.R:32:3'): basic operation ────────────
  as.vector(p) not equal to c(0, 0.458).
  1/2 mismatches
  [2] 0.223 - 0.458 == -0.235
  ── Failure ('test-profileInformationIndex.R:35:3'): basic operation ────────────
  as.vector(p) not equal to c(0, 0.529).
  1/2 mismatches
  [2] 0 - 0.529 == -0.529
  ── Failure ('test-profileInformationIndex.R:38:3'): basic operation ────────────
  as.vector(p) not equal to c(29, 62).
  2/2 mismatches (average diff: 12.5)
  [1] 38 - 29 ==  9
  [2] 78 - 62 == 16
  ── Failure ('test-profileInformationIndex.R:41:3'): basic operation ────────────
  as.vector(p) not equal to c(8.666, 19.666).
  2/2 mismatches (average diff: 4.17)
  [1] 11.7 -  8.67 == 3.00
  [2] 25.0 - 19.67 == 5.33
  ── Failure ('test-profileInformationIndex.R:44:3'): basic operation ────────────
  as.vector(p) not equal to c(8, 23).
  2/2 mismatches (average diff: 3)
  [1] 11 -  8 == 3
  [2] 26 - 23 == 3
  
  [ FAIL 8 | WARN 0 | SKIP 5 | PASS 1263 ]
  Error: Test failures
  Execution halted