Running ‘testthat.R’ [20s/28s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(neotoma2)
  
  Attaching package: 'neotoma2'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("neotoma2")
  [ FAIL 1 | WARN 0 | SKIP 48 | PASS 14 ]
  
  ══ Skipped tests (48) ══════════════════════════════════════════════════════════
  • On CRAN (48): 'test-toJSON.R:2:3', 'test_c.R:10:3',
    'test_chroncontrols.R:5:3', 'test_chroncontrols.R:22:3',
    'test_chroncontrols.R:36:3', 'test_clean.R:5:3', 'test_datasets.R:3:3',
    'test_datasets.R:19:3', 'test_datasets.R:39:3', 'test_datasets.R:69:3',
    'test_datasets.R:86:3', 'test_datasets.R:109:3', 'test_download.R:3:3',
    'test_download.R:32:3', 'test_examples.R:3:3', 'test_filter.R:4:3',
    'test_filter.R:27:3', 'test_filter.R:50:3', 'test_filter.R:74:3',
    'test_filter.R:111:3', 'test_filter.R:138:3', 'test_filter.R:166:3',
    'test_filter.R:192:3', 'test_filter.R:208:3', 'test_filter.R:223:3',
    'test_generaltests.R:6:3', 'test_generaltests.R:17:3',
    'test_generaltests.R:22:3', 'test_generaltests.R:40:3',
    'test_generaltests.R:70:3', 'test_generaltests.R:78:5',
    'test_generaltests.R:99:3', 'test_methods.R:3:3', 'test_plotLeaflet.r:6:3',
    'test_plotLeaflet.r:18:3', 'test_samples.R:11:3', 'test_setsample.R:8:3',
    'test_setsite.r:8:3', 'test_sites.R:9:3', 'test_sites.R:21:3',
    'test_sites.R:37:3', 'test_sites.R:49:3', 'test_sites.R:62:3',
    'test_sites.R:90:3', 'test_specimens.R:3:3', 'test_specimens.R:11:3',
    'test_specimens.R:18:3', 'test_toWide.R:10:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_generaltests.R:65:3'): A faunmap dataset with some contacts actually works ──
  <http_503/http_500/http_error/error/condition>
  Error in `parseURL(base_url, ...)`: Service Unavailable (HTTP 503). Failed to Could not connect to the Neotoma API.
                      Check that the path is valid, and check the current
                       status of the Neotoma API services at
                        http://data.neotomadb.org.
  Backtrace:
      ▆
   1. ├─neotoma2::get_downloads(7032) at test_generaltests.R:65:3
   2. └─neotoma2:::get_downloads.numeric(7032)
   3.   └─neotoma2::parseURL(base_url, ...)
   4.     └─httr::stop_for_status(response, task = "Could not connect to the Neotoma API.\n                    Check that the path is valid, and check the current\n                     status of the Neotoma API services at\n                      http://data.neotomadb.org")
  
  [ FAIL 1 | WARN 0 | SKIP 48 | PASS 14 ]
  Error: Test failures
  Execution halted