Skip to content

ggmapinset

0.5.0

Add Inset Panels to Maps

1packages depend
4.8Kdownloads / year
35.2%test coverage
13/13checks pass

Overview

About
Maintained by Carl SusterFirst published 2023-02-214 releasesCRAN page ↗GitHub ↗

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-02
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    3 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
Compare downloads with other packages →
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
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)
Depends (2)
R >= 4.1sf
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

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

Loading call graph…

Lowest coverage

55 functions
FunctionCycloCoverage
geom_inset_frame exp20%
geom_sf_label_inset exp30%
geom_sf_text_inset exp30%
shape_rectangle exp30%
shape_sf exp60%
stat_sf_coordinates_inset exp30%

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
mozzies_nsw2301tbl_df/tbl/data.frame720 × 7

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (1)
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.0Latest
    2026-03-25 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.0
    2024-12-18 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.0
    2023-04-28 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.3
    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
545 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →