ggmapinset
0.5.0Add Inset Panels to Maps
1packages depend
4.8Kdownloads / year
35.2%test coverage
13/13checks pass
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.
Install
Health
CRAN checks
13OK
Slowest check: 3.6 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.06
35.2%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
- OK2026-04-0214 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-103 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMEYes · 330 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
- Examples that run
- 100%
- Documented parameters
- 69%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
4.8K
CRAN downloads in the past year
Rank #5,906 · ~13/day · ~397/mo
Daily download trend is not available in this view yet.
39630 days
1.6K90 days
4.8K1 year
Also on119 r2u31 autocran
Repository
Repository
38Stars
0Forks
3Open issues
0Open PRs
4Releases
104Commits
1Contributors
data-visualizationgeospatialggplot-extensionggplot2
104 commits · Last activity 2026-03-25
Repository practices
Upstream repositoryBeta
7 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/cidm-ph/ggmapinset on 2026-07-19.
Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (2)
lintrRStudio project
Dependencies
Declared dependencies
17 external dependencies (excludes base and recommended)
Depends (2)
R >= 4.1sf
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Code & Tests
Code Composition
R 1,848 (63%)Rd 851 (29%)Vignettes 256 (9%)
Code characteristics
Object systems
S316
- Cyclomatic complexity
- 1.0 median / 12 max
- Test cases
- 3 / 0.06 per code line
Test coverage
Line coverage
35%
Expression
35.9%
Tests / Examples
35.2% / 68% ex
Functions
55 15 exported
Complexity
2.5 avg / 12 max
Call network
55 nodes / 68 edges
Call graph
Open call graph →Loading call graph…
Lowest coverage
55 functions| Function | Cyclo | Coverage |
|---|---|---|
| geom_inset_frame exp | 2 | 0% |
| geom_sf_label_inset exp | 3 | 0% |
| geom_sf_text_inset exp | 3 | 0% |
| shape_rectangle exp | 3 | 0% |
| shape_sf exp | 6 | 0% |
| stat_sf_coordinates_inset exp | 3 | 0% |
Datasets
Bundled datasets · 1
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| mozzies_nsw2301 | tbl_df/tbl/data.frame | 720 × 7 | – |
People & History
People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (1)
Copyright holder
Package Timeline
4 releases. Pick two to compare their code metrics. R releases are shown for context.
0 of 2 selectedCompare selected
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
- 545 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet