Running ‘testthat.R’ [23s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ralger)
  > 
  > test_check("ralger")
  ── FAILURE (test-paragraphs_scrap.R:2:3): paragraphs_scrap() works ─────────────
  paragraphs_scrap(link = "https://www.nytimes.com/") not identical to `%>%`(...).
  1/49 mismatches
  x[1]: "  Nate Cohn, in New York  17m ago "
  y[1]: "  Nate Cohn, in New York  19m ago "
  
  ── FAILURE (test-titles_scrap.R:20:3): titles_scrap() works ────────────────────
  titles_scrap("https://www.nytimes.com/") not equivalent to data <- c(h1, h2, h3).
  2/56 mismatches
  x[32]: ".css-11f6h48{margin-right:5px;}.css-11f6h48:hover{border-bottom:1px solid
  x[32]:  #e2e2e2;}After tough House losses, Conor Lamb, a moderate, says he’s ‘fru
  x[32]: strated’ by progressive rhetoric and policy proposals..css-m7dmkp{font-fam
  x[32]: ily:nyt-franklin,helvetica,arial,sans-serif;color:#d0021b;font-weight:600;
  x[32]: font-size:0.75rem;line-height:0.8125rem;display:inline-block;}12m ago"
  y[32]: ".css-11f6h48{margin-right:5px;}.css-11f6h48:hover{border-bottom:1px solid
  y[32]:  #e2e2e2;}After tough House losses, Conor Lamb, a moderate, says he’s ‘fru
  y[32]: strated’ by progressive rhetoric and policy proposals..css-m7dmkp{font-fam
  y[32]: ily:nyt-franklin,helvetica,arial,sans-serif;color:#d0021b;font-weight:600;
  y[32]: font-size:0.75rem;line-height:0.8125rem;display:inline-block;}11m ago"
  
  x[33]: "‘In America, you get four years and you can do it again.’ Nebraska greets
  x[33]:  Biden win with a shrug.42m ago"
  y[33]: "‘In America, you get four years and you can do it again.’ Nebraska greets
  y[33]:  Biden win with a shrug.41m ago"
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  FAILURE (test-paragraphs_scrap.R:2:3): paragraphs_scrap() works
  FAILURE (test-titles_scrap.R:20:3): titles_scrap() works
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 14 ]
  Error: Test failures
  Execution halted