Skip to content

tmap

Thematic Maps

v4.4-1 · Jun 26, 2026 · GPL-3

Description

Thematic maps are geographical maps in which spatial data distributions are visualized. This package offers a flexible, layer-based, and easy to use approach to create thematic maps, such as choropleths and bubble maps.

Downloads

35.3K

Last 30 days

619th

109.3K

Last 90 days

422.1K

Last year

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

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

package dependencies

Packages required but not available:
  'leafem', 'leafgl', 'leaflegend', 'leafsync'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 15, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 12, 2026
ERROR r-release-windows-x86_64

examples

Running examples in 'tmap-Ex.R' failed
The error most likely occurred in:

> ### Name: tm_logo
> ### Title: Map component: logo
> ### Aliases: tm_logo
> 
> ### ** Examples
> 
> data(World)
> 
> tm_shape(World) +
+ 	tm_polygons("HPI", fill.scale = tm_
...[truncated]...
 = "tmap"))) +
+ 	tm_logo("https://happyplanetindex.org/wp-content/themes/hpi/public/images/hpi-logo.svg",
+ 			height=5, position = c("left", "center"))
Error: https://www.r-project.org/logo/Rlogo.png is neither a valid path nor url
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 3, 2026
ERROR r-devel-windows-x86_64

examples

Running examples in 'tmap-Ex.R' failed
The error most likely occurred in:

> ### Name: tm_chart
> ### Title: Legend charts
> ### Aliases: tm_chart tm_chart_histogram tm_chart_bar tm_chart_donut
> ###   tm_chart_violin tm_chart_box tm_chart_none tm_ch
...[truncated]...
 tm_scale_intervals(),
+     fill.chart = tm_chart_histogram())
Error in as.data.frame.integer(x[[i]], optional = TRUE) : 
  row names contain missing values
Calls: <Anonymous> ... data.frame -> as.data.frame -> as.data.frame.integer
Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.0Mb
  sub-directories of 1Mb or more:
    R      2.1Mb
    data   2.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.1Mb
  sub-directories of 1Mb or more:
    R      2.0Mb
    data   2.1Mb

Reverse Dependencies (59)

Dependency Network

Dependencies Reverse dependencies classInt cli cols4all data.table htmltools htmlwidgets base64enc leafem leafgl leaflegend leaflet leafsync maptiles rlang sf +5 more dependencies CvmortalityMult GREENeR LabourMarketAreas MainExistingDatasets MazamaSpatialPlots bangladesh bayesEO bdl fireexposuR geocmeans mlspatial ofpetrial pacu ppcSpatial priorCON +44 more reverse deps tmap

Version History

36 tracked
updated 4.4-1 ← 4.4 diff Jun 26, 2026
updated 4.4 ← 4.3 diff Jun 14, 2026
updated 4.3 ← 4.2 diff Apr 20, 2026
new 4.2 Mar 10, 2026
updated 4.2 ← 4.1 diff Sep 9, 2025
updated 4.1 ← 4.0 diff May 11, 2025
updated 4.0 ← 3.3-4 diff Jan 27, 2025
updated 3.3-4 ← 3.3-3 diff Sep 11, 2023
updated 3.3-3 ← 3.3-2 diff Mar 1, 2022
updated 3.3-2 ← 3.3-1 diff Jun 15, 2021
updated 3.3-1 ← 3.3 diff Mar 14, 2021
updated 3.3 ← 3.2 diff Jan 18, 2021
updated 3.2 ← 3.1 diff Sep 14, 2020
updated 3.1 ← 3.0 diff Jul 8, 2020
updated 3.0 ← 2.3-2 diff Apr 8, 2020