Skip to content

ggmapinset

0.5.0Package record

Add Inset Panels to Maps

1packages depend
5.2Kdownloads / year
35.2%test coverage
13/13flavors OK

Overview

About

Helper to add insets based on geom_sf() from 'ggplot2'. This package gives you a drop-in replacement for geom_sf() that supports adding a zoomed inset map without having to create and embed a separate plot.

Changes in 0.5.0
  • coerce_centre() is a new extension point needed by {ggautomap}.
  • The inset param of layer helpers and geom_sf_inset() no longer accepts NA. Instead waiver() is used as the default, and NULL still disables the inset. This should be updated in any extensions using build_sf_inset_layers().
  • geom_sf_inset() no longer draws the inset if inset = waiver() but there is no inset configured on the coord.
  • We now correctly declare the minimum supported R version.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-02
  • NOTE3 OK, 11 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.5.0
READMEYes · 330 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.5.0Citation fileNoWebsiteYes · pkgdown
Help pages
13includes a package overview page
Examples that run
100%10 run in a plain check
Exported functions with examples
91%
Documented parameters
69%
Return-value docs
100%
Help pages citing references
0%

Downloads

5.2K
CRAN downloads in the past year
Rank #6,695 · ~14/day · ~432/mo
Daily download trend is not available in this view yet.
42230 days
1.3K90 days
5.2K1 year
Compare downloads with other packages →
Also on90 r2u3 autocran

Repository

38Stars
0Forks
3Open issues
0Open PRs
4Releases
104Commits
1Commit identities
data-visualizationgeospatialggplot-extensionggplot2
104 commits · Last activity 2026-03-25 · Default branch at 0.5.0.9000, ahead of CRAN 0.5.0 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
74
PracticesBeta

12 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/cidm-ph/ggmapinset on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-03-25 · The repository has a site deploy workflow

pkgdown site last built 2026-03-25

Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Show all practicesHide 1 practice
Lint, format, editor (3)
lintrLint workflowRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing ggmapinset adds 26 packages (15 with compiled code, 30 MB of source tarballs). Heaviest: sf 9.3 MB, ggplot2 6.0 MB, s2 2.8 MB.

Depends (2)
R >= 4.1sf
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 0.2.3 (2023)
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.0Latest
    record
    2026-03-25 · current release · diff ↗ ·
    added 1 export
    coerce_centre
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.0
    record
    2024-12-18 · diff ↗ ·
    added 3 exports
    shape_circle, shape_rectangle, shape_sf
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.0
    record
    2023-04-28 · diff ↗ ·
    added 9 exports
    StatSfCoordinatesInset, StatSfInset, coord_sf_inset, geom_sf_label_inset, geom_sf_text_inset, get_inset_config, stat_sf_coordinates_inset, stat_sf_inset, transform_to_inset
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.3
    record
    2023-02-21
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-02-21
Total releases
4 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Bundled data
2.9 KB / 1 file
Download size
548 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ggmapinset")
Suster, C., & Western Sydney Local Health District, NSW Health. (2026). ggmapinset: Add Inset Panels to Maps (Version 0.5.0) [Computer software]. https://doi.org/10.32614/CRAN.package.ggmapinset

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ggmapinset version 0.5.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy