Running ‘testthat.R’ [3s/21s]
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()`) ─────────────────
  <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 1 | SKIP 0 | PASS 2 ]
  Error: Test failures
  Execution halted