Running ‘testthat.R’ [16s/95s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(canvasXpress)
  > require(canvasXpress.data)
  Loading required package: canvasXpress.data
  > 
  > test_check("canvasXpress")
  Loading required package: htmlwidgets
  Loading required package: readr
  
  Attaching package: 'readr'
  
  The following objects are masked from 'package:testthat':
  
      edition_get, local_edition
  
  Loading required package: ggplot2
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  [ FAIL 1 | WARN 0 | SKIP 435 | PASS 44 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (431)
  • empty test (4)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-other--BASE.R:46'): Incorrect Data Types ─────────────────────
  `canvasXpress(data = "'Test'")` threw an error with unexpected message.
  Expected match: "[Couldn't|Could not] resolve.*"
  Actual message: "URL using bad/illegal format or missing URL"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(canvasXpress(data = "'Test'"), regexp = "[Couldn't|Could not] resolve.*") at test-other--BASE.R:46:4
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─canvasXpress::canvasXpress(data = "'Test'")
    7.   └─canvasXpress:::assertDataCorrectness(data, graphType, config)
    8.     ├─httr::http_error(data)
    9.     └─httr:::http_error.character(data)
   10.       ├─httr::http_error(HEAD(x, ...))
   11.       └─httr::HEAD(x, ...)
   12.         └─httr:::request_perform(req, hu$handle$handle)
   13.           ├─httr:::request_fetch(req$output, req$url, handle)
   14.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   15.             └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 1 | WARN 0 | SKIP 435 | PASS 44 ]
  Error: Test failures
  Execution halted