Running 'testthat.R' [16s]
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")
  Error in curl::curl_fetch_memory(url, handle = handle) : 
    schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen.
  Error in curl::curl_fetch_memory(url, handle = handle) : 
    schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen.
  [ FAIL 7 | WARN 0 | SKIP 48 | PASS 8 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (48)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_contacts.R:2:3'): Non integer x returns nothing: ───────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen.
  Backtrace:
       ▆
    1. ├─neotoma2::get_contacts(x = "Goring") at test-get_contacts.R:2:2
    2. ├─neotoma2:::get_contacts.default(x = "Goring")
    3. │ ├─parseURL(baseURL, ...) %>% cleanNULL()
    4. │ └─neotoma2::parseURL(baseURL, ...)
    5. │   └─httr::GET(...)
    6. │     └─httr:::request_perform(req, hu$handle$handle)
    7. │       ├─httr:::request_fetch(req$output, req$url, handle)
    8. │       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
    9. │         └─curl::curl_fetch_memory(url, handle = handle)
   10. └─neotoma2::cleanNULL(.)
   11.   └─base::rapply(...)
  ── Error ('test-get_contacts.R:7:3'): Integer x returns sets of contacts: ──────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen.
  Backtrace:
       ▆
    1. ├─neotoma2::get_contacts(x = 1) at test-get_contacts.R:7:2
    2. ├─neotoma2:::get_contacts.numeric(x = 1)
    3. │ ├─parseURL(baseURL) %>% cleanNULL()
    4. │ └─neotoma2::parseURL(baseURL)
    5. │   └─httr::GET(...)
    6. │     └─httr:::request_perform(req, hu$handle$handle)
    7. │       ├─httr:::request_fetch(req$output, req$url, handle)
    8. │       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
    9. │         └─curl::curl_fetch_memory(url, handle = handle)
   10. └─neotoma2::cleanNULL(.)
   11.   └─base::rapply(...)
  ── Error ('test-get_table.R:6:3'): Call a single database table: ───────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen.
  Backtrace:
       ▆
    1. ├─testthat::expect_is(get_table("agetypes"), "data.frame") at test-get_table.R:6:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─neotoma2::get_table("agetypes")
    5.   └─neotoma2::parseURL(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-get_table.R:11:3'): We can apply the limits for get_table() ────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen.
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-get_table.R:11:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::nrow(get_table("agetypes", limit = 1))
    5. └─neotoma2::get_table("agetypes", limit = 1)
    6.   └─neotoma2::parseURL(...)
    7.     └─httr::GET(...)
    8.       └─httr:::request_perform(req, hu$handle$handle)
    9.         ├─httr:::request_fetch(req$output, req$url, handle)
   10.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-get_table.R:16:3'): Limit and offsets work for the get_table() call ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen.
  Backtrace:
       ▆
    1. ├─testthat::expect_false(...) at test-get_table.R:16:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─rlang::hash(get_table("agetypes", limit = 1))
    5. └─neotoma2::get_table("agetypes", limit = 1)
    6.   └─neotoma2::parseURL(...)
    7.     └─httr::GET(...)
    8.       └─httr:::request_perform(req, hu$handle$handle)
    9.         ├─httr:::request_fetch(req$output, req$url, handle)
   10.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-ping.R:5:3'): The Pings work ───────────────────────────────────
  Error in `ping_head$status_code`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. └─testthat::expect_equal(ping_head$status_code, ping_call$status_code) at test-ping.R:5:2
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Error ('test_generaltests.R:65:3'): A faunmap dataset with some contacts actually works ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen.
  Backtrace:
      ▆
   1. ├─neotoma2::get_downloads(7032) at test_generaltests.R:65:2
   2. └─neotoma2:::get_downloads.numeric(7032)
   3.   └─neotoma2::parseURL(base_url, ...)
   4.     └─httr::GET(...)
   5.       └─httr:::request_perform(req, hu$handle$handle)
   6.         ├─httr:::request_fetch(req$output, req$url, handle)
   7.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   8.           └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 7 | WARN 0 | SKIP 48 | PASS 8 ]
  Error: Test failures
  Execution halted