Running ‘testthat.R’ [10s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(echarty)
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > 
  > test_check("echarty")
  
   isCovr=  
  Ashe,Alleghany,Surry,Currituck,Northampton,Hertford,Camden,Gates,Warren,Stokes,Caswell,Rockingham,Granville,Person,Vance,Halifax,Pasquotank,Wilkes,Watauga,Perquimans,Chowan,Avery,Yadkin,Franklin,Forsyth,Guilford,Alamance,Bertie,Orange,Durham,Nash,Mitchell,Edgecombe,Caldwell,Yancey,Martin,Wake,Madison,Iredell,Davie,Alexander,Davidson,Burke,Washington,Tyrrell,McDowell,Randolph,Chatham,Wilson,Rowan,Pitt,Catawba,Buncombe,Johnston,Haywood,Dare,Beaufort,Swain,Greene,Lee,Rutherford,Wayne,Harnett,Cleveland,Lincoln,Jackson,Moore,Mecklenburg,Cabarrus,Montgomery,Stanly,Henderson,Graham,Lenoir,Transylvania,Gaston,Polk,Macon,Sampson,Pamlico,Cherokee,Cumberland,Jones,Union,Anson,Hoke,Hyde,Duplin,Richmond,Clay,Craven,Scotland,Onslow,Robeson,Carteret,Bladen,Pender,Columbus,New Hanover,Brunswick,
   series: 108 records: 2529 
  1,
   series: 1 records: 3 
  1,
   series: 1 records: 2 
  Saving _problems/test-ec.util-253.R
  Saving _problems/test-ec.util-523.R
  Saving _problems/test-other-416.R
  Saving _problems/test-presets-257.R
  
   encode$data$value: speed dist
   hard values: TRUE
   axad= 2
   colX= 1  colY= 2
   colp= 1 2  ctyp= value value
   cnames= label⁛formatter⁛ dist itemStyle⁛color⁛ itemStyle⁛opacity⁛ value
  series= 1 scatter=
   axad= 2
   colX= 2  colY= 1
   colp= 2 1  ctyp= category value
   cnames= value
  series= 1 scatter=
  geoJSON has 5 features
  geoJSON has 5 features[ FAIL 4 | WARN 3 | SKIP 0 | PASS 365 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-ec.util.R:253:3'): lottie ──────────────────────────────────────
  Error in `open.connection(con, "rb")`: cannot open the connection to 'https://helgasoft.github.io/echarty/js/spooky-ghost.json'
  Backtrace:
      ▆
   1. └─jsonlite::fromJSON(json, simplifyDataFrame = FALSE) at test-ec.util.R:253:3
   2.   └─jsonlite:::parse_and_simplify(...)
   3.     └─jsonlite:::parseJSON(txt, bigint_as_char)
   4.       └─jsonlite:::parse_con(txt, bigint_as_char)
   5.         ├─base::open(con, "rb")
   6.         └─base::open.connection(con, "rb")
  ── Error ('test-ec.util.R:523:3'): ec.inspect and ec.fromJson ──────────────────
  Error in `open.connection(con, "rb")`: cannot open the connection to 'https://helgasoft.github.io/echarty/test/pfull.json'
  Backtrace:
      ▆
   1. └─echarty::ec.fromJson("https://helgasoft.github.io/echarty/test/pfull.json") at test-ec.util.R:523:3
   2.   └─jsonlite::unserializeJSON(url(txt))
   3.     ├─jsonlite:::unpack(parseJSON(txt))
   4.     └─jsonlite:::parseJSON(txt)
   5.       └─jsonlite:::parse_con(txt, bigint_as_char)
   6.         ├─base::open(con, "rb")
   7.         └─base::open.connection(con, "rb")
  ── Failure ('test-other.R:416:3'): mostly for coverage ─────────────────────────
  Expected `p$x$opts$series[[1]]$type` to equal "scatter".
  Differences:
  target is NULL, current is character
  ── Error ('test-presets.R:257:3'): presets for lottieParser and ecStat ─────────
  Error in `open.connection(con, "rb")`: cannot open the connection to 'https://helgasoft.github.io/echarty/test/pinJump.json'
  Backtrace:
      ▆
   1. └─jsonlite::fromJSON(url, simplifyDataFrame = FALSE) at test-presets.R:257:3
   2.   └─jsonlite:::parse_and_simplify(...)
   3.     └─jsonlite:::parseJSON(txt, bigint_as_char)
   4.       └─jsonlite:::parse_con(txt, bigint_as_char)
   5.         ├─base::open(con, "rb")
   6.         └─base::open.connection(con, "rb")
  
  [ FAIL 4 | WARN 3 | SKIP 0 | PASS 365 ]
  Error:
  ! Test failures.
  Execution halted