Running ‘cX-ui-functions.R’ [1s/2s]
  Running ‘cx-get-ui-generated-test-setup.R’ [0s/0s]
  Running ‘testthat.R’ [8s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(canvasXpress)
  > 
  > #NOTE: temporary until canvasXpress.data is on CRAN
  > get_data <- function(file_name) {
  +     system.file("extdata", file_name, package = "canvasXpress")
  + }
  > 
  > 
  > test_check("canvasXpress")
  ── 1. Error: Barplot URL data (@test-other-data-url.R#5)  ──────────────────────
  Could not resolve host: www.canvasxpress.org
  Backtrace:
    1. canvasXpress::canvasXpress(...)
    2. canvasXpress:::assertDataCorrectness(data, graphType, config)
    4. httr:::http_error.character(data)
    6. httr::HEAD(x, ...)
    7. httr:::request_perform(req, hu$handle$handle)
    9. httr:::request_fetch.write_memory(req$output, req$url, handle)
   10. curl::curl_fetch_memory(url, handle = handle)
  
  ── 2. Error: cXnetwork9 (@test-ui-network.R#37)  ───────────────────────────────
  Could not resolve host: www.canvasxpress.org
  Backtrace:
    1. canvasXpress:::check_ui_test(cXnetwork9())
    5. global::cXnetwork9()
    6. canvasXpress::canvasXpress(...)
    7. canvasXpress:::assertDataCorrectness(data, graphType, config)
    9. httr:::http_error.character(data)
   11. httr::HEAD(x, ...)
   12. httr:::request_perform(req, hu$handle$handle)
   14. httr:::request_fetch.write_memory(req$output, req$url, handle)
   15. curl::curl_fetch_memory(url, handle = handle)
  
  ── 3. Error: cXnetwork10 (@test-ui-network.R#41)  ──────────────────────────────
  Could not resolve host: www.canvasxpress.org
  Backtrace:
    1. canvasXpress:::check_ui_test(cXnetwork10())
    5. global::cXnetwork10()
    6. canvasXpress::canvasXpress(...)
    7. canvasXpress:::assertDataCorrectness(data, graphType, config)
    9. httr:::http_error.character(data)
   11. httr::HEAD(x, ...)
   12. httr:::request_perform(req, hu$handle$handle)
   14. httr:::request_fetch.write_memory(req$output, req$url, handle)
   15. curl::curl_fetch_memory(url, handle = handle)
  
  ── 4. Error: cXnetwork11 (@test-ui-network.R#45)  ──────────────────────────────
  Could not resolve host: www.canvasxpress.org
  Backtrace:
    1. canvasXpress:::check_ui_test(cXnetwork11())
    5. global::cXnetwork11()
    6. canvasXpress::canvasXpress(...)
    7. canvasXpress:::assertDataCorrectness(data, graphType, config)
    9. httr:::http_error.character(data)
   11. httr::HEAD(x, ...)
   12. httr:::request_perform(req, hu$handle$handle)
   14. httr:::request_fetch.write_memory(req$output, req$url, handle)
   15. curl::curl_fetch_memory(url, handle = handle)
  
  ── 5. Error: cXnetwork12 (@test-ui-network.R#49)  ──────────────────────────────
  Could not resolve host: www.canvasxpress.org
  Backtrace:
    1. canvasXpress:::check_ui_test(cXnetwork12())
    5. global::cXnetwork12()
    6. canvasXpress::canvasXpress(...)
    7. canvasXpress:::assertDataCorrectness(data, graphType, config)
    9. httr:::http_error.character(data)
   11. httr::HEAD(x, ...)
   12. httr:::request_perform(req, hu$handle$handle)
   14. httr:::request_fetch.write_memory(req$output, req$url, handle)
   15. curl::curl_fetch_memory(url, handle = handle)
  
  ── 6. Error: cXnetwork13 (@test-ui-network.R#53)  ──────────────────────────────
  Could not resolve host: www.canvasxpress.org
  Backtrace:
    1. canvasXpress:::check_ui_test(cXnetwork13())
    5. global::cXnetwork13()
    6. canvasXpress::canvasXpress(...)
    7. canvasXpress:::assertDataCorrectness(data, graphType, config)
    9. httr:::http_error.character(data)
   11. httr::HEAD(x, ...)
   12. httr:::request_perform(req, hu$handle$handle)
   14. httr:::request_fetch.write_memory(req$output, req$url, handle)
   15. curl::curl_fetch_memory(url, handle = handle)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 807 | SKIPPED: 0 | WARNINGS: 30 | FAILED: 6 ]
  1. Error: Barplot URL data (@test-other-data-url.R#5) 
  2. Error: cXnetwork9 (@test-ui-network.R#37) 
  3. Error: cXnetwork10 (@test-ui-network.R#41) 
  4. Error: cXnetwork11 (@test-ui-network.R#45) 
  5. Error: cXnetwork12 (@test-ui-network.R#49) 
  6. Error: cXnetwork13 (@test-ui-network.R#53) 
  
  Error: testthat unit tests failed
  Execution halted