Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [8s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rvest)
  > 
  > test_check("rvest")
  [ FAIL 4 | WARN 0 | SKIP 28 | PASS 80 ]
  
  ══ Skipped tests (28) ══════════════════════════════════════════════════════════
  • On CRAN (27): 'test-encoding.R:13:3', 'test-form.R:29:3', 'test-form.R:76:3',
    'test-form.R:94:3', 'test-form.R:106:3', 'test-form.R:131:3',
    'test-form.R:164:3', 'test-form.R:202:3', 'test-rename.R:4:3',
    'test-rename.R:21:3', 'test-rename.R:25:3', 'test-selectors.R:63:3',
    'test-session.R:22:3', 'test-session.R:43:3', 'test-session.R:82:3',
    'test-table.R:11:3', 'test-table.R:40:3', 'test-table.R:55:3',
    'test-table.R:69:3', 'test-table.R:84:3', 'test-table.R:100:3',
    'test-table.R:115:3', 'test-table.R:128:3', 'test-table.R:175:3',
    'test-table.R:186:3', 'test-table.R:196:3', 'test-utils.R:7:3'
  • On Linux (1): 'test-encoding.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-session.R:2:3'): basic session process works as expected ───────
  `{ ... }` threw an unexpected error.
  Message: object 's' not found
  Class:   simpleError/error/condition
  ── Error ('test-session.R:31:3'): session responds to httr and rvest methods ───
  Error in `curl::curl_fetch_memory(url, handle = handle)`: SSL peer certificate or SSH remote key was not OK: [hadley.nz] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─rvest::session("http://hadley.nz/") at test-session.R:31:2
   2.   └─rvest:::session_get(session, url)
   3.     └─httr::GET(url, x$config, ..., handle = x$handle)
   4.       └─httr:::request_perform(req, hu$handle$handle)
   5.         ├─httr:::request_fetch(req$output, req$url, handle)
   6.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   7.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-session.R:50:3'): can navigate back and forward ────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: SSL peer certificate or SSH remote key was not OK: [hadley.nz] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─rvest::session("https://hadley.nz/") at test-session.R:50:2
   2.   └─rvest:::session_get(session, url)
   3.     └─httr::GET(url, x$config, ..., handle = x$handle)
   4.       └─httr:::request_perform(req, hu$handle$handle)
   5.         ├─httr:::request_fetch(req$output, req$url, handle)
   6.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   7.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-session.R:99:3'): can submit a form ────────────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: SSL peer certificate or SSH remote key was not OK: [hadley.nz] server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
      ▆
   1. └─rvest::session("http://hadley.nz/") at test-session.R:99:2
   2.   └─rvest:::session_get(session, url)
   3.     └─httr::GET(url, x$config, ..., handle = x$handle)
   4.       └─httr:::request_perform(req, hu$handle$handle)
   5.         ├─httr:::request_fetch(req$output, req$url, handle)
   6.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   7.           └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 4 | WARN 0 | SKIP 28 | PASS 80 ]
  Error: Test failures
  Execution halted