- using R Under development (unstable) (2026-04-05 r89793)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-16) 15.2.0
GNU Fortran (Debian 15.2.0-16) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-04-06 14:05:06 UTC
- checking for file ‘echarty/DESCRIPTION’ ... OK
- this is package ‘echarty’ version ‘1.7.2’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘echarty’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [10s/13s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/3s] 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") :
cannot open URL 'https://helgasoft.github.io/echarty/test/pfull.json': HTTP status was '404 Not Found'
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
- checking for unstated dependencies in ‘demo’ ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/14s] ERROR
Running ‘testthat.R’ [7s/13s]
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [3s/4s] OK
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [2s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs