Running 'test-all.R' [5s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library(testthat)
  > library(wikitaxa)
  > test_check("wikitaxa")
  [ FAIL 3 | WARN 0 | SKIP 23 | PASS 4 ]
  
  == Skipped tests ===============================================================
  * On CRAN (23)
  
  == Failed tests ================================================================
  -- Error ('test-wikicommons.R:21'): wt_wikicommons returns non-empty results ---
  Error: lexical error: invalid char in json text.
                                         eyJwYXJzZSI6eyJ0aXRsZSI6IlBvYSB
                       (right here) ------^
  
  Backtrace:
      x
   1. +-vcr::use_cassette(...) at test-wikicommons.R:21:2
   2. | \-cassette$call_block(...)
   3. \-wikitaxa::wt_wikicommons(name = "Poa annua") at test-wikicommons.R:22:4
   4.   \-wikitaxa::wt_wikicommons_parse(pg, prop, tidy = TRUE)
   5.     \-wikitaxa::wt_wiki_page_parse(page, types = types, tidy = tidy)
   6.       \-jsonlite::fromJSON(rawToChar(page$content), tidy)
   7.         \-jsonlite:::parse_and_simplify(...)
   8.           \-jsonlite:::parseJSON(txt, bigint_as_char)
   9.             \-jsonlite:::parse_string(txt, bigint_as_char)
  -- Error ('test-wikipedia.R:22'): wt_wikipedia returns non-empty results -------
  Error: lexical error: invalid char in json text.
                                         eyJwYXJzZSI6eyJ0aXRsZSI6IlBvYSB
                       (right here) ------^
  
  Backtrace:
      x
   1. +-vcr::use_cassette(...) at test-wikipedia.R:22:2
   2. | \-cassette$call_block(...)
   3. \-wikitaxa::wt_wikipedia(name = "Poa annua") at test-wikipedia.R:23:4
   4.   \-wikitaxa::wt_wikipedia_parse(page = pg, types = prop, tidy = TRUE)
   5.     \-wikitaxa::wt_wiki_page_parse(page, types = types, tidy = tidy)
   6.       \-jsonlite::fromJSON(rawToChar(page$content), tidy)
   7.         \-jsonlite:::parse_and_simplify(...)
   8.           \-jsonlite:::parseJSON(txt, bigint_as_char)
   9.             \-jsonlite:::parse_string(txt, bigint_as_char)
  -- Error ('test-wikispecies.R:22'): wt_wikispecies returns non-empty results ---
  Error: lexical error: invalid char in json text.
                                         eyJwYXJzZSI6eyJ0aXRsZSI6IlBvYSB
                       (right here) ------^
  
  Backtrace:
      x
   1. +-vcr::use_cassette(...) at test-wikispecies.R:22:2
   2. | \-cassette$call_block(...)
   3. \-wikitaxa::wt_wikispecies(name = "Poa annua") at test-wikispecies.R:23:4
   4.   \-wikitaxa::wt_wikispecies_parse(pg, prop, tidy = TRUE)
   5.     \-wikitaxa::wt_wiki_page_parse(page, types = types, tidy = tidy)
   6.       \-jsonlite::fromJSON(rawToChar(page$content), tidy)
   7.         \-jsonlite:::parse_and_simplify(...)
   8.           \-jsonlite:::parseJSON(txt, bigint_as_char)
   9.             \-jsonlite:::parse_string(txt, bigint_as_char)
  
  [ FAIL 3 | WARN 0 | SKIP 23 | PASS 4 ]
  Error: Test failures
  Execution halted