Running ‘testthat.R’ [5s/71s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(foghorn)
  > 
  > test_check("foghorn")
  [ FAIL 3 | WARN 9 | SKIP 23 | PASS 29 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (23)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-foghorn.R:14'): invalid package name ───────────────────────────
  Error: Something went wrong with getting data for package name(s): 'foobarfoobar'
    Error in open.connection(x, "rb") : Could not resolve host: web
  
  Backtrace:
       ▆
    1. ├─testthat::expect_error(cran_results(pkg = "foobarfoobar"), "Invalid package name") at test-foghorn.R:14:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. └─foghorn::cran_results(pkg = "foobarfoobar")
    8.   └─foghorn:::cran_results_web(email, pkg, ...)
    9.     └─foghorn:::read_cran_web_from_pkg(pkg, ...)
   10.       └─foghorn:::handle_cran_web_issues(...)
  ── Error ('test-foghorn.R:25'): invalid email address ──────────────────────────
  Error: Something went wrong with getting data with email address(es): 'foo@foobarbar.rrrr'
    Error in open.connection(x, "rb") : Could not resolve host: web
  
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-foghorn.R:25:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. └─foghorn::cran_results(email = "foo@foobarbar.rrrr")
    8.   └─foghorn:::cran_results_web(email, pkg, ...)
    9.     └─foghorn:::read_cran_web_from_email(email, ...)
   10.       └─foghorn:::handle_cran_web_issues(...)
  ── Error ('test-foghorn.R:456'): check output for MASS ─────────────────────────
  Error: Something went wrong with getting data for package name(s): 'MASS'
    Error in open.connection(x, "rb") : Could not resolve host: web
  
  Backtrace:
      ▆
   1. └─foghorn::cran_results(pkg = "MASS") at test-foghorn.R:456:4
   2.   └─foghorn:::cran_results_web(email, pkg, ...)
   3.     └─foghorn:::read_cran_web_from_pkg(pkg, ...)
   4.       └─foghorn:::handle_cran_web_issues(...)
  
  [ FAIL 3 | WARN 9 | SKIP 23 | PASS 29 ]
  Error: Test failures
  Execution halted