Running 'testthat.R' [2s/3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(wordpressr)
  > 
  > test_check("wordpressr")
  [1] 1
  [1] 1
  == Failed tests ================================================================
  -- Error (test-get-wp-authors.R:7:3): get_wp_authors() returns a data frame ----
  Error: Please install xml2 package
  Backtrace:
      x
   1. \-wordpressr::get_wp_authors(root_url = "altmediauncensored.com") test-get-wp-authors.R:7:2
   2.   \-httr::content(...)
   3.     \-httr:::parse_auto(raw, type, encoding, ...)
   4.       \-httr:::parser(...)
   5.         \-httr:::need_package("xml2")
  -- Error (test-get-wp-authors.R:14:3): get_wp_authors() returns a dataframe with 4 columns --
  Error: Please install xml2 package
  Backtrace:
      x
   1. \-wordpressr::get_wp_authors(root_url = "altmediauncensored.com") test-get-wp-authors.R:14:2
   2.   \-httr::content(...)
   3.     \-httr:::parse_auto(raw, type, encoding, ...)
   4.       \-httr:::parser(...)
   5.         \-httr:::need_package("xml2")
  -- Error (test-get-wp-pages.R:7:3): returns a data frame when page count argument not provided --
  Error: Please install xml2 package
  Backtrace:
      x
   1. \-wordpressr::get_wp_pages(...) test-get-wp-pages.R:7:2
   2.   \-httr::content(...)
   3.     \-httr:::parse_auto(raw, type, encoding, ...)
   4.       \-httr:::parser(...)
   5.         \-httr:::need_package("xml2")
  -- Error (test-get-wp-pages.R:14:3): returns a data frame when page count argument is provided --
  Error: Please install xml2 package
  Backtrace:
      x
   1. \-wordpressr::get_wp_pages(root_url = "altmediauncensored.com") test-get-wp-pages.R:14:2
   2.   \-httr::content(...)
   3.     \-httr:::parse_auto(raw, type, encoding, ...)
   4.       \-httr:::parser(...)
   5.         \-httr:::need_package("xml2")
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [1s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(wordpressr)
  > 
  > test_check("wordpressr")
  [1] 1
  [1] 1
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get-wp-authors.R:7:3): get_wp_authors() returns a data frame ────
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_authors(root_url = "altmediauncensored.com") test-get-wp-authors.R:7:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  ── Error (test-get-wp-authors.R:14:3): get_wp_authors() returns a dataframe with 4 columns ──
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_authors(root_url = "altmediauncensored.com") test-get-wp-authors.R:14:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  ── Error (test-get-wp-pages.R:7:3): returns a data frame when page count argument not provided ──
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_pages(...) test-get-wp-pages.R:7:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  ── Error (test-get-wp-pages.R:14:3): returns a data frame when page count argument is provided ──
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_pages(root_url = "altmediauncensored.com") test-get-wp-pages.R:14:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(wordpressr)
  > 
  > test_check("wordpressr")
  [1] 1
  [1] 1
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get-wp-authors.R:7:3): get_wp_authors() returns a data frame ────
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_authors(root_url = "altmediauncensored.com") test-get-wp-authors.R:7:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  ── Error (test-get-wp-authors.R:14:3): get_wp_authors() returns a dataframe with 4 columns ──
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_authors(root_url = "altmediauncensored.com") test-get-wp-authors.R:14:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  ── Error (test-get-wp-pages.R:7:3): returns a data frame when page count argument not provided ──
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_pages(...) test-get-wp-pages.R:7:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  ── Error (test-get-wp-pages.R:14:3): returns a data frame when page count argument is provided ──
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_pages(root_url = "altmediauncensored.com") test-get-wp-pages.R:14:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(wordpressr)
  > 
  > test_check("wordpressr")
  [1] 1
  [1] 1
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get-wp-authors.R:7:3): get_wp_authors() returns a data frame ────
  Error: object of type 'externalptr' is not subsettable
  Backtrace:
      █
   1. └─wordpressr::get_wp_authors(root_url = "altmediauncensored.com") test-get-wp-authors.R:7:2
   2.   └─tibble::tibble(...)
   3.     └─tibble:::tibble_quos(xs[!is.null], .rows, .name_repair)
   4.       └─rlang::eval_tidy(xs[[j]], mask)
  ── Error (test-get-wp-authors.R:14:3): get_wp_authors() returns a dataframe with 4 columns ──
  Error: object of type 'externalptr' is not subsettable
  Backtrace:
      █
   1. └─wordpressr::get_wp_authors(root_url = "altmediauncensored.com") test-get-wp-authors.R:14:2
   2.   └─tibble::tibble(...)
   3.     └─tibble:::tibble_quos(xs[!is.null], .rows, .name_repair)
   4.       └─rlang::eval_tidy(xs[[j]], mask)
  ── Error (test-get-wp-pages.R:7:3): returns a data frame when page count argument not provided ──
  Error: object of type 'externalptr' is not subsettable
  Backtrace:
      █
   1. └─wordpressr::get_wp_pages(...) test-get-wp-pages.R:7:2
   2.   └─tibble::tibble(...)
   3.     └─tibble:::tibble_quos(xs[!is.null], .rows, .name_repair)
   4.       └─rlang::eval_tidy(xs[[j]], mask)
  ── Error (test-get-wp-pages.R:14:3): returns a data frame when page count argument is provided ──
  Error: subscript out of bounds
  Backtrace:
      █
   1. └─wordpressr::get_wp_pages(root_url = "altmediauncensored.com") test-get-wp-pages.R:14:2
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
   6.     \-httr:::request_perform(req, hu$handle$handle)
  -- Error (test-get-wp-pages.R:14:3): returns a data frame when page count argument is provided --
  Error: argument is of length zero
  Backtrace:
      x
   1. \-wordpressr::get_wp_pages(root_url = "altmediauncensored.com") test-get-wp-pages.R:14:2
   2.   +-httr::content(...)
   3.   | +-base::stopifnot(is.response(x))
   4.   | \-httr:::is.response(x)
   5.   \-httr::GET(...)
   6.     \-httr:::request_perform(req, hu$handle$handle)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(wordpressr)
  > 
  > test_check("wordpressr")
  [1] 1
  [1] 1
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get-wp-authors.R:7:3): get_wp_authors() returns a data frame ────
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_authors(root_url = "altmediauncensored.com") test-get-wp-authors.R:7:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  ── Error (test-get-wp-authors.R:14:3): get_wp_authors() returns a dataframe with 4 columns ──
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_authors(root_url = "altmediauncensored.com") test-get-wp-authors.R:14:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  ── Error (test-get-wp-pages.R:7:3): returns a data frame when page count argument not provided ──
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_pages(...) test-get-wp-pages.R:7:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  ── Error (test-get-wp-pages.R:14:3): returns a data frame when page count argument is provided ──
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_pages(root_url = "altmediauncensored.com") test-get-wp-pages.R:14:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(wordpressr)
  > 
  > test_check("wordpressr")
  [1] 1
  [1] 1
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get-wp-authors.R:7:3): get_wp_authors() returns a data frame ────
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_authors(root_url = "altmediauncensored.com") test-get-wp-authors.R:7:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  ── Error (test-get-wp-authors.R:14:3): get_wp_authors() returns a dataframe with 4 columns ──
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_authors(root_url = "altmediauncensored.com") test-get-wp-authors.R:14:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  ── Error (test-get-wp-pages.R:7:3): returns a data frame when page count argument not provided ──
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_pages(...) test-get-wp-pages.R:7:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  ── Error (test-get-wp-pages.R:14:3): returns a data frame when page count argument is provided ──
  Error: Please install xml2 package
  Backtrace:
      █
   1. └─wordpressr::get_wp_pages(root_url = "altmediauncensored.com") test-get-wp-pages.R:14:2
   2.   └─httr::content(...)
   3.     └─httr:::parse_auto(raw, type, encoding, ...)
   4.       └─httr:::parser(...)
   5.         └─httr:::need_package("xml2")
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [1s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
   6.     └─httr:::request_perform(req, hu$handle$handle)
  ── Error (test-get-wp-pages.R:14:3): returns a data frame when page count argument is provided ──
  Error: argument is of length zero
  Backtrace:
      █
   1. └─wordpressr::get_wp_pages(root_url = "altmediauncensored.com") test-get-wp-pages.R:14:2
   2.   ├─httr::content(...)
   3.   │ ├─base::stopifnot(is.response(x))
   4.   │ └─httr:::is.response(x)
   5.   └─httr::GET(...)
   6.     └─httr:::request_perform(req, hu$handle$handle)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted