Running ‘testthat.R’ [20s/26s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(geohabnet)
  > 
  > test_check("geohabnet")
  trying URL 'https://s3.us-east-2.amazonaws.com/earthstatdata/HarvestedAreaYield175Crops_Indvidual_Geotiff/avocado_HarvAreaYield_Geotiff.zip'
  Content type 'application/zip' length 6271196 bytes (6.0 MB)
  ==================================================
  downloaded 6.0 MB
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 17 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-functional.R:7:3'): System test - Test Senstivity analysis run on default configuration ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'pkgdown'
  Backtrace:
       ▆
    1. ├─testthat::expect_no_condition(...) at test-functional.R:7:3
    2. │ └─testthat:::expect_no_(...)
    3. │   └─testthat:::quasi_capture(enquo(object), NULL, capture)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─rlang::try_fetch(...)
    6. │     │   └─base::withCallingHandlers(...)
    7. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    8. ├─geohabnet::sensitivity_analysis()
    9. │ └─geohabnet:::.connectivity(...)
   10. │   └─geohabnet::connectivity(...)
   11. │     └─geohabnet::hci_mean(...)
   12. │       └─geohabnet:::.plot(...)
   13. │         └─geohabnet (local) plotf(...)
   14. └─base::loadNamespace(x)
   15.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   16.     └─base (local) withOneRestart(expr, restarts[[1L]])
   17.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 17 ]
  Error: Test failures
  Execution halted