CRAN Package Check Results for Package echarty

Last updated on 2026-05-20 00:55:44 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.7.2 7.63 72.09 79.72 OK
r-devel-linux-x86_64-debian-gcc 1.7.2 4.46 48.74 53.20 ERROR
r-devel-linux-x86_64-fedora-clang 1.7.2 13.00 111.81 124.81 OK
r-devel-linux-x86_64-fedora-gcc 1.7.2 13.00 122.80 135.80 OK
r-devel-windows-x86_64 1.7.2 9.00 89.00 98.00 OK
r-patched-linux-x86_64 1.7.2 6.92 69.21 76.13 ERROR
r-release-linux-x86_64 1.7.2 6.34 69.06 75.40 OK
r-release-macos-arm64 1.7.2 2.00 42.00 44.00 OK
r-release-macos-x86_64 1.7.2 5.00 106.00 111.00 OK
r-release-windows-x86_64 1.7.2 10.00 90.00 100.00 OK
r-oldrel-macos-arm64 1.7.2 2.00 37.00 39.00 OK
r-oldrel-macos-x86_64 1.7.2 5.00 87.00 92.00 OK
r-oldrel-windows-x86_64 1.7.2 13.00 112.00 125.00 OK

Check Details

Version: 1.7.2
Check: examples
Result: ERROR Running examples in ‘echarty-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: ec.fromJson > ### Title: JSON to chart > ### Aliases: ec.fromJson > > ### ** Examples > > txt <- '{ + "xAxis": { "data": ["Mon", "Tue", "Wed"]}, "yAxis": { }, + "series": { "type": "line", "data": [150, 230, 224] } }' > ec.fromJson(txt) # text json > # outFile <- 'c:/temp/cars.json' > # cars |> ec.init() |> ec.inspect(target='full', file=outFile) > # ec.fromJson(file(outFile, 'rb')) > # ec.fromJson(url('http://localhost/echarty/cars.json')) > > ec.fromJson('https://helgasoft.github.io/echarty/test/pfull.json') Warning in open.connection(con, "rb") : URL 'https://helgasoft.github.io/echarty/test/pfull.json': status was 'Could not resolve hostname' Error in open.connection(con, "rb") : cannot open the connection to 'https://helgasoft.github.io/echarty/test/pfull.json' Calls: ec.fromJson ... unpack -> parseJSON -> parse_con -> open -> open.connection Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.7.2
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/130s] 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-ec.util-532.R Saving _problems/test-ec.util-533.R Saving _problems/test-ec.util-535.R Saving _problems/test-ec.util-568.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 6 | WARN 2 | SKIP 0 | PASS 366 ] ══ 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-ec.util.R:532:3'): ec.registerMap ──────────────────────────── Expected `p$x$registerMap[[1]]$mapName` to equal "usa". Differences: target is NULL, current is character ── Failure ('test-ec.util.R:533:3'): ec.registerMap ──────────────────────────── Expected `p$x$registerMap[[1]]$opt$geoJSON$type` to equal "FeatureCollection". Differences: target is NULL, current is character ── Failure ('test-ec.util.R:535:3'): ec.registerMap ──────────────────────────── Expected `p$x$registerMap[[1]]$mapName` to equal "us2". Differences: target is NULL, current is character ── Error ('test-ec.util.R:568:3'): ec.registerMap ────────────────────────────── Error in `startsWith(p$x$registerMap[[1]]$opt$svg, "<?xml")`: non-character object(s) Backtrace: ▆ 1. ├─testthat::expect_true(...) at test-ec.util.R:568:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::startsWith(p$x$registerMap[[1]]$opt$svg, "<?xml") [ FAIL 6 | WARN 2 | SKIP 0 | PASS 366 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.7.2
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/19s] 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-other-28.R Saving _problems/test-other-29.R Saving _problems/test-other-30.R Saving _problems/test-other-31.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 0 | SKIP 0 | PASS 370 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-other.R:28:3'): registerAll + custom-series v.6 ────────────── Expected `class(p$x$opts$series[[1]]$renderItem)` to equal "character". Differences: 1/1 mismatches x[1]: "NULL" y[1]: "character" ── Failure ('test-other.R:29:3'): registerAll + custom-series v.6 ────────────── Expected `grepl("segmented", p$dependencies[[1]]$src$href)` to be TRUE. Differences: `actual`: `expected`: TRUE ── Failure ('test-other.R:30:3'): registerAll + custom-series v.6 ────────────── Expected `p$x$opts$series[[1]]$type` to equal "custom". Differences: target is NULL, current is character ── Failure ('test-other.R:31:3'): registerAll + custom-series v.6 ────────────── Expected `p$x$opts$series[[1]]$coordinateSystem` to equal "none". Differences: target is NULL, current is character [ FAIL 4 | WARN 0 | SKIP 0 | PASS 370 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64