* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/leaflet.extras.Rcheck’ * using R Under development (unstable) (2026-01-22 r89323) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * 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 whether package ‘leaflet.extras’ can be installed ... OK * checking package 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... OK * checking Rd files ... 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 ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘leaflet.extras-Ex.R’ failed The error most likely occurred in: > ### Name: enableMeasurePath > ### Title: Enables measuring of length of polylines and areas of polygons > ### Aliases: enableMeasurePath measurePathOptions addMeasurePathToolbar > > ### ** Examples > > ## No test: > geoJson <- readr::read_file( + "https://rawgit.com/benbalter/dc-maps/master/maps/ward-2012.geojson" + ) Warning: Failed to open 'https://rawgit.com/benbalter/dc-maps/master/maps/ward-2012.geojson': Could not resolve host: rawgit.com Error in open.connection(con, "rb") : cannot open the connection Calls: ... datasource_connection -> read_connection -> open -> open.connection Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR 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.12.2, GDAL 3.8.5, PROJ 9.3.1; sf_use_s2() is TRUE Reading layer `geodesic_lines' from data source `/data/blackswan/ripley/R/packages/tests-devel/leaflet.extras.Rcheck/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 Saving _problems/test-geojson_mini-3.R Saving _problems/test-heatmaps-4.R [ 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 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 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 ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 2 ERRORs See ‘/data/blackswan/ripley/R/packages/tests-devel/leaflet.extras.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:09.19, 43.72 + 24.23