CRAN Package Check Results for Maintainer ‘Martijn Tennekes <mtennekes at gmail.com>’

Last updated on 2025-12-20 08:49:26 CET.

Package ERROR NOTE OK
cols4all 13
tmap 3 2 8
tmap.cartogram 3 10
tmap.glyphs 3 10
tmap.mapgl 3 10
tmap.networks 13
tmaptools 1 12
tmapverse 2 11
treemap 13

Package cols4all

Current CRAN status: OK: 13

Package tmap

Current CRAN status: ERROR: 3, NOTE: 2, OK: 8

Version: 4.2
Check: examples
Result: ERROR Running examples in ‘tmap-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: qtm > ### Title: Quick thematic map plot > ### Aliases: qtm > > ### ** Examples > > data(World, World_rivers, metro) > > # just the map > qtm(World) [tip] Consider a suitable map projection, e.g. by adding `+ tm_crs("auto")`. This message is displayed once per session. Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), : attempt access index 4/4 in VECTOR_ELT Calls: <Anonymous> -> print.tmap -> step4_plot -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 4.2
Check: examples
Result: ERROR Running examples in ‘tmap-Ex.R’ failed The error most likely occurred in: > ### Name: qtm > ### Title: Quick thematic map plot > ### Aliases: qtm > > ### ** Examples > > data(World, World_rivers, metro) > > # just the map > qtm(World) [tip] Consider a suitable map projection, e.g. by adding `+ tm_crs("auto")`. This message is displayed once per session. Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), : attempt access index 4/4 in VECTOR_ELT Calls: <Anonymous> -> print.tmap -> step4_plot -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 4.2
Check: installed package size
Result: NOTE installed size is 5.0Mb sub-directories of 1Mb or more: R 2.1Mb data 2.0Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Package tmap.cartogram

Current CRAN status: ERROR: 3, OK: 10

Version: 0.2
Check: examples
Result: ERROR Running examples in ‘tmap.cartogram-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: tm_cartogram > ### Title: Map layer: cartogram > ### Aliases: tm_cartogram tm_cartogram_ncont tm_cartogram_dorling > ### opt_tm_cartogram opt_tm_cartogram_ncont opt_tm_cartogram_dorling > > ### ** Examples > > library(tmap) > > Africa = World[World$continent == "Africa", ] > > tm_shape(Africa, crs = "+proj=robin") + + tm_cartogram_ncont(size = "pop_est", options = opt_tm_cartogram_ncont()) Cartogram in progress... Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), : attempt access index 4/4 in VECTOR_ELT Calls: <Anonymous> -> print.tmap -> step4_plot -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2
Check: examples
Result: ERROR Running examples in ‘tmap.cartogram-Ex.R’ failed The error most likely occurred in: > ### Name: tm_cartogram > ### Title: Map layer: cartogram > ### Aliases: tm_cartogram tm_cartogram_ncont tm_cartogram_dorling > ### opt_tm_cartogram opt_tm_cartogram_ncont opt_tm_cartogram_dorling > > ### ** Examples > > library(tmap) > > Africa = World[World$continent == "Africa", ] > > tm_shape(Africa, crs = "+proj=robin") + + tm_cartogram_ncont(size = "pop_est", options = opt_tm_cartogram_ncont()) Cartogram in progress... Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), : attempt access index 4/4 in VECTOR_ELT Calls: <Anonymous> -> print.tmap -> step4_plot -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Package tmap.glyphs

Current CRAN status: ERROR: 3, OK: 10

Version: 0.1
Check: examples
Result: ERROR Running examples in ‘tmap.glyphs-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: opt_tm_donuts > ### Title: Map layer: donuts > ### Aliases: opt_tm_donuts tm_donuts > > ### ** Examples > > library(tmap) > > ZH_muni = NLD_muni[NLD_muni$province == "Zuid-Holland", ] > > ZH_muni$income_middle = 100 - ZH_muni$income_high - ZH_muni$income_low > > which.max(ZH_muni$population) [1] 26 > > ZH_muni$population[c(10,26)] = 500000 > > ZH_muni$income_high[1:15] = NA > > tm_shape(ZH_muni) + + tm_polygons() + + tm_donuts(parts = tm_vars(c("income_low", "income_middle", "income_high"), multivariate = TRUE), + fill.scale = tm_scale_categorical(values = "-pu_gn_div"), + size = "population", + lwd = 1, + size.scale = tm_scale_continuous(ticks = c(50000, 100000, 250000, 500000)), + options = opt_tm_donuts(fill_hole = FALSE)) [plot mode] map layer `tm_donuts` not available for mode "plot" and also not for the other modes Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), : attempt access index 4/4 in VECTOR_ELT Calls: <Anonymous> -> print.tmap -> step4_plot -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1
Check: examples
Result: ERROR Running examples in ‘tmap.glyphs-Ex.R’ failed The error most likely occurred in: > ### Name: opt_tm_donuts > ### Title: Map layer: donuts > ### Aliases: opt_tm_donuts tm_donuts > > ### ** Examples > > library(tmap) > > ZH_muni = NLD_muni[NLD_muni$province == "Zuid-Holland", ] > > ZH_muni$income_middle = 100 - ZH_muni$income_high - ZH_muni$income_low > > which.max(ZH_muni$population) [1] 26 > > ZH_muni$population[c(10,26)] = 500000 > > ZH_muni$income_high[1:15] = NA > > tm_shape(ZH_muni) + + tm_polygons() + + tm_donuts(parts = tm_vars(c("income_low", "income_middle", "income_high"), multivariate = TRUE), + fill.scale = tm_scale_categorical(values = "-pu_gn_div"), + size = "population", + lwd = 1, + size.scale = tm_scale_continuous(ticks = c(50000, 100000, 250000, 500000)), + options = opt_tm_donuts(fill_hole = FALSE)) [plot mode] map layer `tm_donuts` not available for mode "plot" and also not for the other modes Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), : attempt access index 4/4 in VECTOR_ELT Calls: <Anonymous> -> print.tmap -> step4_plot -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Package tmap.mapgl

Current CRAN status: ERROR: 3, OK: 10

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘tmap.mapgl-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: tmap_mapbox > ### Title: Export tmap to mapbox and maplibre > ### Aliases: tmap_mapbox tmap_maplibre > > ### ** Examples > > library(tmap) > library(tmap.mapgl) > map = tm_shape(World) + tm_polygons() > tmap_maplibre(map, show = TRUE) Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), : attempt access index 4/4 in VECTOR_ELT Calls: tmap_maplibre ... print -> print.tmap -> step4_plot -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘tmap.mapgl-Ex.R’ failed The error most likely occurred in: > ### Name: tmap_mapbox > ### Title: Export tmap to mapbox and maplibre > ### Aliases: tmap_mapbox tmap_maplibre > > ### ** Examples > > library(tmap) > library(tmap.mapgl) > map = tm_shape(World) + tm_polygons() > tmap_maplibre(map, show = TRUE) Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), : attempt access index 4/4 in VECTOR_ELT Calls: tmap_maplibre ... print -> print.tmap -> step4_plot -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Package tmap.networks

Current CRAN status: OK: 13

Package tmaptools

Current CRAN status: ERROR: 1, OK: 12

Version: 3.3
Check: examples
Result: ERROR Running examples in ‘tmaptools-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: crop_shape > ### Title: Crop shape object > ### Aliases: crop_shape > > ### ** Examples > > if (require(tmap) && packageVersion("tmap") >= "3.99") { + data(World, NLD_muni, land, metro) + + #land_NLD <- crop_shape(land, NLD_muni) + + #qtm(land_NLD, raster="trees", style="natural") + + metro_Europe <- crop_shape(metro, World[World$continent == "Europe", ], polygon = TRUE) + + qtm(World) + + tm_shape(metro_Europe) + + tm_bubbles("pop2010", + col="red", + size.legend = tm_legend("European cities")) + + tm_legend(frame=TRUE) + } Loading required package: tmap ── tmap v3 code detected ─────────────────────────────────────────────────────── [v3->v4] `tm_legend()`: use 'tm_legend()' inside a layer function, e.g. 'tm_polygons(..., fill.legend = tm_legend())' This message is displayed once every 8 hours. [tip] Consider a suitable map projection, e.g. by adding `+ tm_crs("auto")`. This message is displayed once per session. Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), : attempt access index 4/4 in VECTOR_ELT Calls: <Anonymous> -> print.tmap -> step4_plot -> [ -> [.data.table Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed approx_areas 6.111 0.469 8.214 Flavor: r-devel-linux-x86_64-debian-gcc

Package tmapverse

Current CRAN status: NOTE: 2, OK: 11

Version: 0.1.0
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘cols4all’ ‘stars’ ‘terra’ ‘tmap’ ‘tmap.cartogram’ ‘tmap.glyphs’ ‘tmap.mapgl’ ‘tmap.networks’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Package treemap

Current CRAN status: OK: 13