Running ‘testthat.R’ [5s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(echarty)
  > 
  > test_check("echarty")
  trying URL 'https://mapcruzin.com/sierra-leone-shapefiles/points.zip'
  Content type 'application/zip' length 32564 bytes (31 KB)
  ==================================================
  downloaded 31 KB
  
  ec.plugjs: simpleWarning in download.file(source, ffull, quiet = TRUE): URL https://cdn.jsdelivr.net/npm/echarts-gl@2.0.9/dist/echarts-gl.min.js: cannot open destfile '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/echarty/js/echarts-gl.min.js', reason 'Read-only file system'
  ec.plugjs: simpleWarning in download.file(source, ffull, quiet = TRUE): URL https://cdn.jsdelivr.net/npm/echarts-gl@2.0.9/dist/echarts-gl.min.js: cannot open destfile '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/echarty/js/echarts-gl.min.js', reason 'Read-only file system'
  ec.plugjs: simpleWarning in download.file(source, ffull, quiet = TRUE): URL https://raw.githubusercontent.com/apache/echarts/master/test/data/map/js/china-contour.js: cannot open destfile '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/echarty/js/china-contour.js', reason 'Read-only file system'
  
  geoJSON has 5 features
  geoJSON has 5 features[ FAIL 4 | WARN 6 | SKIP 0 | PASS 261 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-ec.util.R:8:3'): serie from ec.util with cartesian3D ───────────
  <packageNotFoundError/error/condition>
  Error in `library(sf)`: there is no package called 'sf'
  Backtrace:
      ▆
   1. └─base::library(sf) at test-ec.util.R:8:3
  ── Error ('test-ec.util.R:21:3'): shapefiles with multi-POLYGONS ───────────────
  <packageNotFoundError/error/condition>
  Error in `library(sf)`: there is no package called 'sf'
  Backtrace:
      ▆
   1. └─base::library(sf) at test-ec.util.R:21:3
  ── Error ('test-ec.util.R:61:3'): shapefile LINESTRING and MULTILINESTRING ─────
  Error in `st_linestring(rbind(c(0, 0), c(1, 1), c(2, 1)))`: could not find function "st_linestring"
  ── Error ('test-other.R:202:3'): Shiny commands ────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'shiny'
  Backtrace:
      ▆
   1. ├─echarty::ecs.render(...) at test-other.R:202:3
   2. │ └─htmlwidgets::shinyRenderWidget(wt, ecs.output, env, quoted = TRUE)
   3. └─base::loadNamespace(x)
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base (local) withOneRestart(expr, restarts[[1L]])
   6.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 4 | WARN 6 | SKIP 0 | PASS 261 ]
  Error: Test failures
  Execution halted