Running ‘testthat.R’ [59s/68s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(aqp)
  This is aqp 2.1.0
  > 
  > # limit all tests involving data.table 
  > # to 2 threads for CRAN compliance
  > data.table::setDTthreads(Sys.getenv("OMP_THREAD_LIMIT", unset = 2))
  > 
  > # Sys.setenv("_SP_EVOLUTION_STATUS_"=2)
  > test_check("aqp")
  Failed with error:  'there is no package called 'sf''
  Failed with error:  'there is no package called 'sf''
  Failed with error:  'there is no package called 'plyr''
  [ FAIL 1 | WARN 0 | SKIP 11 | PASS 1478 ]
  
  ══ Skipped tests (11) ══════════════════════════════════════════════════════════
  • Gmedian cannot be loaded (5): 'test-L1_profiles.R:7:3',
    'test-SoilProfileCollection-metadata.R:48:3', 'test-colorQuantiles.R:8:3',
    'test-colorQuantiles.R:23:3', 'test-colorQuantiles.R:37:3'
  • On CRAN (4): 'test-DT-tbl.R:6:3', 'test-color-signature.R:64:3',
    'test-fix-find-overlap.R:40:3', 'test-fix-find-overlap.R:89:3'
  • compositions cannot be loaded (1): 'test-bootstrapSoilTexture.R:11:3'
  • sf cannot be loaded (1): 'test-SPC-objects.R:205:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-profile_compare.R:43:5'): profile_compare works as expected ────
  Error: package `plyr` is required to use `profile_compare()`; use `NCSP()` instead or install the `plyr` package
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-profile_compare.R:42:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─base::suppressMessages(...) at test-profile_compare.R:43:5
    7. │ └─base::withCallingHandlers(...)
    8. ├─aqp::profile_compare(...)
    9. └─aqp::profile_compare(...)
   10.   └─aqp (local) .local(s, ...)
   11.     ├─aqp::profile_compare(...)
   12.     └─aqp::profile_compare(...)
   13.       └─aqp (local) .local(s, ...)
  
  [ FAIL 1 | WARN 0 | SKIP 11 | PASS 1478 ]
  Error: Test failures
  Execution halted