Skip to content

echarts4r

Create Interactive Graphs with 'Echarts JavaScript' Version 6

v0.5.0 · Feb 9, 2026 · Apache License (>= 2.0)

Description

Easily create interactive charts by leveraging the 'Echarts Javascript' library which includes 36 chart types, themes, 'Shiny' proxies and animations.

Downloads

CRAN

5.1K

Last 30 days

1635th

17.6K

Last 90 days

96.3K

Last year

Trend: -23.5% (30d vs prior 30d)

r2u CRAN

153

Last 30 days

534

Last 90 days

1.2K

Last year

Trend: +3.4% (30d vs prior 30d)

autoCRAN

9

Last 7 days

21

Last 30 days

3

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘echarts4r-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: e_tooltip
> ### Title: Tooltip
> ### Aliases: e_tooltip e_tooltip_item_formatter e_tooltip_choro_for
...[truncated]...
0.5.0', reason 'No space left on device'
Error in normalizePath(target_dir, "/", TRUE) : 
  path[1]="lib/echarts4r-binding-0.5.0": No such file or directory
Calls: <Anonymous> ... lapply -> FUN -> copyDependencyToDir -> normalizePath
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 21, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 20, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [25s/87s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(echarts4r)
  > 
  > test_check("echarts4r")
  Loading required package: shiny
  Saving _problems/test-map-347.R
  [ FAIL
...[truncated]...
s_char)
   5.         └─jsonlite:::parse_con(txt, bigint_as_char)
   6.           ├─base::open(con, "rb")
   7.           └─base::open.connection(con, "rb")
  
  [ FAIL 1 | WARN 1 | SKIP 19 | PASS 2022 ]
  Error:
  ! Test failures.
  Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.8Mb
  sub-directories of 1Mb or more:
    htmlwidgets   5.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.8Mb
  sub-directories of 1Mb or more:
    htmlwidgets   5.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.7Mb
  sub-directories of 1Mb or more:
    htmlwidgets   5.5Mb

Code

Structure

Lines of code

39,717

Files

324

Compiled share

0%

Has compiled src

No

Language breakdown

R 17,849 (44.9%)Tests 12,943 (32.6%)Docs 8,925 (22.5%)

API

Exported functions

275

Internal functions

156

Recent export changes

v0.5.0+23 e_annotations, e_barRange, e_chord +20 more
v0.4.5+2 e_locale_manual, e_morph

Testing & CI

Has tests

Yes

Test-to-code ratio

0.73

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

2.1%

\dontrun example ratio

9.3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

12

Dep constraint coverage

7.7%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

Apache License (>= 2.0)

License flags

not SPDX, not OSI

History

Versions

15

First release

2018-09-17

Latest release

2026-02-10

Avg cadence

125 days

Cold removal rate

100%

Dep drift

17

LOC over versions

v0.1.1: 9,594 LOCv0.2.0: 12,310 LOCv0.2.1: 15,699 LOCv0.2.2: 16,005 LOCv0.2.3: 16,031 LOCv0.3.2: 18,995 LOCv0.3.3: 20,961 LOCv0.4.0: 23,280 LOCv0.4.1: 23,324 LOCv0.4.2: 23,763 LOCv0.4.3: 23,860 LOCv0.4.4: 23,786 LOCv0.4.5: 24,129 LOCv0.4.6: 24,270 LOCv0.5.0: 39,717 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (8)

suggests

Dependency Network

Dependencies Reverse dependencies htmlwidgets cli dplyr purrr countrycode broom rlang shiny scales corrplot htmltools jsonlite rstudioapi AutoPlots discoveR forecasteR loadeR pedquant predictoR regressoR tablerDash echarts4r

Version History

16 tracked
new 0.5.0 Mar 10, 2026
updated 0.5.0 ← 0.4.6 diff Feb 9, 2026
updated 0.4.6 ← 0.4.5 diff Sep 10, 2025
updated 0.4.5 ← 0.4.4 diff Jun 16, 2023
updated 0.4.4 ← 0.4.3 diff May 27, 2022
updated 0.4.3 ← 0.4.2 diff Jan 2, 2022
updated 0.4.2 ← 0.4.1 diff Oct 3, 2021
updated 0.4.1 ← 0.4.0 diff Jul 13, 2021
updated 0.4.0 ← 0.3.3 diff Mar 6, 2021
updated 0.3.3 ← 0.3.2 diff Oct 15, 2020
updated 0.3.2 ← 0.2.3 diff Jun 17, 2020
updated 0.2.3 ← 0.2.2 diff Jul 17, 2019
updated 0.2.2 ← 0.2.1 diff Apr 8, 2019
updated 0.2.1 ← 0.2.0 diff Jan 4, 2019
updated 0.2.0 ← 0.1.1 diff Nov 13, 2018