- using R version 4.5.2 (2025-10-31)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-10) 14.3.0
GNU Fortran (Debian 14.3.0-10) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘leaflet.extras/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘leaflet.extras’ version ‘2.0.1’
- package encoding: UTF-8
- 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 serialization versions ... OK
- checking whether package ‘leaflet.extras’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] 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 ... [7s/10s] OK
- checking Rd files ... [1s/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 examples ... [3s/5s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [11s/14s] ERROR
Running ‘testthat.R’ [10s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(leaflet)
> library(leaflet.extras)
>
> test_check("leaflet.extras")
Linking to GEOS 3.14.1, GDAL 3.12.1, PROJ 9.7.1; sf_use_s2() is TRUE
Reading layer `geodesic_lines' from data source
`/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/leaflet.extras/examples/data/geodesic_lines.shp'
using driver `ESRI Shapefile'
Simple feature collection with 2 features and 2 fields
Geometry type: LINESTRING
Dimension: XY
Bounding box: xmin: -4.921875 ymin: 31.71543 xmax: 66.09375 ymax: 64.93484
Geodetic CRS: WGS 84
! curl package not installed, falling back to using `url()`
Saving _problems/test-geojson_mini-3.R
! curl package not installed, falling back to using `url()`
Saving _problems/test-heatmaps-4.R
! curl package not installed, falling back to using `url()`
[ FAIL 2 | WARN 2 | SKIP 0 | PASS 646 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-geojson_mini.R:3:1'): (code run outside of `test_that()`) ──────
Error in `open.connection(con, "rb")`: cannot open the connection to 'https://rawgit.com/TrantorM/leaflet-choropleth/gh-pages/examples/basic_topo/crimes_by_district.topojson'
Backtrace:
▆
1. └─readr::read_file(fName) at test-geojson_mini.R:3:1
2. └─readr::datasource(file, skip_empty_rows = FALSE)
3. └─readr:::datasource_connection(...)
4. └─readr:::read_connection(path)
5. ├─base::open(con, "rb")
6. └─base::open.connection(con, "rb")
── Error ('test-heatmaps.R:2:1'): (code run outside of `test_that()`) ──────────
Error in `open.connection(con, "rb")`: cannot open the connection to 'https://rawgit.com/benbalter/dc-maps/master/maps/historic-landmarks-points.geojson'
Backtrace:
▆
1. └─readr::read_file("https://rawgit.com/benbalter/dc-maps/master/maps/historic-landmarks-points.geojson") at test-heatmaps.R:2:1
2. └─readr::datasource(file, skip_empty_rows = FALSE)
3. └─readr:::datasource_connection(...)
4. └─readr:::read_connection(path)
5. ├─base::open(con, "rb")
6. └─base::open.connection(con, "rb")
[ FAIL 2 | WARN 2 | SKIP 0 | PASS 646 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR