Skip to content

rmapshaper

Client for 'mapshaper' for 'Geospatial' Operations

v0.6.1 · May 9, 2026 · MIT + file LICENSE

Description

Edit and simplify 'geojson', 'Spatial', and 'sf' objects. This is wrapper around the 'mapshaper' 'JavaScript' library by Matthew Bloch <https://github.com/mbloch/mapshaper/> to perform topologically-aware polygon simplification, as well as other operations such as clipping, erasing, dissolving, and converting 'multi-part' to 'single-part' geometries.

Downloads

CRAN

7K

Last 30 days

1413th

24.5K

Last 90 days

102.8K

Last year

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

r2u CRAN

50

Last 30 days

185

Last 90 days

437

Last year

Trend: -15.3% (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 May 17, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE May 7, 2026
ERROR r-devel-linux-x86_64-fedora-clang

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘rmapshaper.Rmd’ using rmarkdown

Quitting from rmapshaper.Rmd:90-104 [unnamed-chunk-7]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `
...[truncated]...
ocessing vignette 'rmapshaper.Rmd' failed with diagnostics:
could not find function "%>%"
--- failed re-building ‘rmapshaper.Rmd’

SUMMARY: processing the following file failed:
  ‘rmapshaper.Rmd’

Error: Vignette re-building failed.
Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘rmapshaper.Rmd’ using rmarkdown

Quitting from rmapshaper.Rmd:90-104 [unnamed-chunk-7]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `
...[truncated]...
ocessing vignette 'rmapshaper.Rmd' failed with diagnostics:
could not find function "%>%"
--- failed re-building ‘rmapshaper.Rmd’

SUMMARY: processing the following file failed:
  ‘rmapshaper.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (18)

Dependency Network

Dependencies Reverse dependencies geojsonsf jsonify readr (>= 2.1.0) sf sp V8 MazamaSpatialUtils SUNGEO canadamaps cshapes dots micromapST FedData MultiscaleSCP StratifiedSampling alarmdata countryatlas csdata dawaR ipumsr leafdown +3 more reverse deps rmapshaper

Version History

14 tracked
updated 0.6.1 ← 0.6.0 diff May 9, 2026
new 0.6.0 Mar 10, 2026
updated 0.6.0 ← 0.5.0 diff Dec 3, 2025
updated 0.5.0 ← 0.4.6 diff Apr 10, 2023
updated 0.4.6 ← 0.4.5 diff May 10, 2022
updated 0.4.5 ← 0.4.4 diff May 25, 2021
updated 0.4.4 ← 0.4.3 diff Mar 31, 2020
updated 0.4.3 ← 0.4.2 diff Jan 27, 2020
updated 0.4.2 ← 0.4.1 diff Jan 16, 2020
updated 0.4.1 ← 0.4.0 diff Oct 15, 2018
updated 0.4.0 ← 0.3.0 diff Apr 2, 2018
updated 0.3.0 ← 0.2.0 diff Aug 15, 2017
updated 0.2.0 ← 0.1.0 diff Feb 15, 2017
new 0.1.0 Jun 28, 2016