Skip to content

leafem

0.2.5Package record

'leaflet' Extensions for 'mapview'

6packages dependsuggested by 5
442.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Provides extensions for packages 'leaflet' & 'mapdeck', many of which are used by package 'mapview'. Focus is on functionality readily available in Geographic Information Systems such as 'Quantum GIS'. Includes functions to display coordinates of mouse pointer position, query image values via mouse pointer and zoom-to-layer buttons. Additionally, provides a feature type agnostic function to add points, lines, polygons to a map.

Changes in 0.2.5

🐛 bug fixes

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 6.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.5
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · mentions 0.2.5Citation fileNoWebsiteYes · pkgdown
Help pages
24
Examples that run
85%17 run in a plain check (6 of them under a condition) · 2 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
Exported functions with examples
83%
Documented parameters
98%
Return-value docs
33%
Help pages citing references
0%

Downloads

442.1K
CRAN downloads in the past year
Rank #620 · ~1.2K/day · ~36.8K/mo
Daily download trend is not available in this view yet.
43.7K30 days
95.3K90 days
442.1K1 year
Compare downloads with other packages →
Also on2.8K r2u5 autocran9.8K conda_forge184 c2d4u

Repository

111Stars
31Forks
19Open issues
1Open PRs
0Releases
536Commits
20Commit identities
536 commits · Last activity 2025-11-04 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
94%
Median days to close, 50 most recently updated closed issues
12
Median days to close, 50 most recently updated closed PRs
3

Stars over time

2025-07-03 · 1092026-07-07 · 111
PracticesBeta

8 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/r-spatial/leafem on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-11-04 · The repository has a site deploy workflow

pkgdown site last built 2025-11-04

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing leafem adds 55 packages (34 with compiled code, 49 MB of source tarballs). Heaviest: sf 9.3 MB, bslib 5.6 MB, sp 4.3 MB.

Depends (1)
R >= 3.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
6direct
42indirect
Imports 6
Suggested by 5
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (14)
Maintainer since 0.0.1 (2019), Author
Contributor · added in 0.1.0
Contributor · added in 0.1.6
Contributor
Contributor, Copyright holder · added in 0.1.3
georaster-layer-for-leaflet
Contributor · added in 0.2.3
Contributor · added in 0.1.0
Contributor, Copyright holder · added in 0.1.3
FlatGeobuf plugin
Contributor · added in 0.1.0
Show 5 more contributorsHide 5 contributors
Contributor, Copyright holder
Leaflet.EasyButton plugin
Contributor · added in 0.1.6
Contributor · added in 0.1.0
Contributor
Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.5Latest
    record
    2025-08-28 · current release · diff ↗
  • 0.2.4
    record
    2025-05-01 · diff ↗ ·
    added 6 exports
    customizeLayersControl, hideLogo, imagequeryOptions, removeLogo, showLogo, updateLogo
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.3
    record
    2023-09-18 · diff ↗ ·
    added 5 exports
    addCOG, addPMPoints, addPMPolygons, addPMPolylines, paintRules
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.0
    record
    2022-04-16 · diff ↗
  • 0.1.6
    record
    2021-05-24 · diff ↗ ·
    added 1 export
    addReactiveFeatures
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.3
    record
    2020-07-26 · diff ↗ ·
    added 3 exports
    addGeoRaster, addGeotiff, colorOptions
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.1
    record
    2020-04-05 · diff ↗
  • 0.1.0
    record
    2020-03-29 · diff ↗ ·
    added 11 exports
    addCopyExtent, addExtent, addFgb, addLocalFile, addRasterRGB, addStarsImage, addStarsRGB, addStaticLabels, addTileFolder, clip2sfc, updateLayersControl
  • 0.0.1
    record
    2019-04-30
Show 1 earlier eventHide 1 earlier event
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-04-30
Total releases
9 / 7 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.1.0
Download size
941 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("leafem")
Appelhans, T., Busetto, L., Cazelles, K., Darley, J., Dufour, D., Friend, D., Gatscha, S., Harrtell, B., McBain, M., Montague, D., Neuwirth, Y., Ranghetti, L., Reudenbach, C., & Russell, K. (2025). leafem: 'leaflet' Extensions for 'mapview' (Version 0.2.5) [Computer software]. https://doi.org/10.32614/CRAN.package.leafem

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 leafem version 0.2.5 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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