Namespaces in Imports field not imported from:
  ‘functional’ ‘xts’
  All declared Imports should be used.
Namespaces in Imports field not imported from:
  ‘functional’ ‘xts’
  All declared Imports should be used.
Running 'testthat.R' [31s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GBcurves)
  > 
  > test_check("GBcurves")
  [ FAIL 1 | WARN 8 | 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)`: Timeout was reached: [www.cbr.ru] Connection timed out after 10005 milliseconds
  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 8 | SKIP 0 | PASS 2 ]
  Error: Test failures
  Execution halted
Namespaces in Imports field not imported from:
  'functional' 'xts'
  All declared Imports should be used.
Running ‘testthat.R’ [4s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GBcurves)
  > 
  > test_check("GBcurves")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 2 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_gb.R:20:1): (code run outside of `test_that()`) ─────────────────
  <http_403/http_400/http_error/error/condition>
  Error in `read_html.response(tmp)`: Forbidden (HTTP 403).
  Backtrace:
       ▆
    1. ├─GBcurves::yields(init = init, fin = fin, mty = mty, ctry = "RU") at test_gb.R:20:0
    2. │ ├─... %>% rvest::html_text()
    3. │ ├─xml2::read_html(tmp)
    4. │ └─xml2:::read_html.response(tmp)
    5. │   └─httr::stop_for_status(x)
    6. ├─rvest::html_text(.)
    7. │ └─xml2::xml_text(x, trim = trim)
    8. ├─rvest::html_nodes(., "td")
    9. │ └─rvest::html_elements(...)
   10. └─rvest::html_nodes(., "table")
   11.   └─rvest::html_elements(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 2 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [4s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GBcurves)
  > 
  > test_check("GBcurves")
  [ FAIL 1 | WARN 0 | 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)`: gnutls_handshake() failed: The TLS connection was non-properly terminated.
  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 0 | SKIP 0 | PASS 2 ]
  Error: Test failures
  Execution halted
Namespaces in Imports field not imported from:
  ‘functional’ ‘xts’
  All declared Imports should be used.
Namespaces in Imports field not imported from:
  ‘functional’ ‘xts’
  All declared Imports should be used.
Running 'testthat.R' [23s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GBcurves)
  > 
  > test_check("GBcurves")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  
  == Failed tests ================================================================
  -- Error (test_gb.R:14:1): (code run outside of `test_that()`) -----------------
  <Rcpp::eval_error/C++Error/error/condition>
  Error: Evaluation error: zip file 'D:\temp\RtmpQdnsZ9\file209830b0647d.xlsx' cannot be opened.
  Backtrace:
      x
   1. \-GBcurves::yields(init = init, fin = fin, mty = mty, ctry = "CN") at test_gb.R:14:0
   2.   \-readxl::read_excel(tmp)
   3.     \-readxl:::read_excel_(...)
   4.       +-readxl:::set_readxl_names(...)
   5.       | \-tibble::as_tibble(l, .name_repair = .name_repair)
   6.       \-readxl read_fun(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted
Namespaces in Imports field not imported from:
  ‘functional’ ‘xts’
  All declared Imports should be used.
Running 'testthat.R' [31s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GBcurves)
  > 
  > test_check("GBcurves")
  [ FAIL 1 | WARN 0 | 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: SSL_ERROR_SYSCALL in connection to www.cbr.ru:443 
  Backtrace:
      x
   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 0 | SKIP 0 | PASS 2 ]
  Error: Test failures
  Execution halted