Running ‘testthat.R’ [3s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GBcurves)
  > 
  > test_check("GBcurves")
  Error in match.arg(method, c("auto", "internal", "libcurl", "wget", "curl",  : 
    'arg' should be one of "auto", "internal", "libcurl", "wget", "curl", "lynx"
  Error in match.arg(method, c("auto", "internal", "libcurl", "wget", "curl",  : 
    'arg' should be one of "auto", "internal", "libcurl", "wget", "curl", "lynx"
  Error in match.arg(method, c("auto", "internal", "libcurl", "wget", "curl",  : 
    'arg' should be one of "auto", "internal", "libcurl", "wget", "curl", "lynx"
  Error in match.arg(method, c("auto", "internal", "libcurl", "wget", "curl",  : 
    'arg' should be one of "auto", "internal", "libcurl", "wget", "curl", "lynx"
  Error in match.arg(method, c("auto", "internal", "libcurl", "wget", "curl",  : 
    'arg' should be one of "auto", "internal", "libcurl", "wget", "curl", "lynx"
  Error in match.arg(method, c("auto", "internal", "libcurl", "wget", "curl",  : 
    'arg' should be one of "auto", "internal", "libcurl", "wget", "curl", "lynx"
  Error in match.arg(method, c("auto", "internal", "libcurl", "wget", "curl",  : 
    'arg' should be one of "auto", "internal", "libcurl", "wget", "curl", "lynx"
  Error in match.arg(method, c("auto", "internal", "libcurl", "wget", "curl",  : 
    'arg' should be one of "auto", "internal", "libcurl", "wget", "curl", "lynx"
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 2 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_gb.R:20:1): (code run outside of `test_that()`) ─────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: OpenSSL SSL_connect: Connection reset by peer in connection to www.cbr.ru:443 
  Backtrace:
      ▆
   1. └─GBcurves::yields(init = init, fin = fin, mty = mty, ctry = "RU") at test_gb.R:20:0
   2.   └─httr::GET("https://www.cbr.ru/eng/hd_base/zcyc_params/", query = list(DateTo = dates[i]))
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 2 ]
  Error: Test failures
  Execution halted