Skip to content

fmesher

0.8.0Package record

Triangle Meshes and Related Geometry Tools

17packages dependsuggested by 8
129.6Kdownloads / year
45.3%test coverage
13/13flavors OK

Overview

About

Generate planar and spherical triangle meshes, compute finite element calculations for 1-, 2-, and 3-dimensional flat and curved manifolds with associated basis function spaces, methods for lines and polygons, and transparent handling of coordinate reference systems and coordinate transformation, including 'sf' and 'sp' geometries. The core 'fmesher' library code was originally part of the 'INLA' package, and implements parts of "Triangulations and Applications" by Hjelle and Daehlen (2006) doi:10.1007/3-540-33261-8.

Changes in 0.8.0

Improved features

  • Make cc the canonical name for the most suitable 0th order mass matrix for all fm_fem() implementations, so that higher order basis functions can be used without "mass lumping", and the callers, such as INLA::inla.spde2.pcmatern() don't need to handle the logic themselves. (0.7.0.9001)
  • Speed up polygon integration by precomputing and storing vt vertex-to-triangle information in multiple formats (0.7.0.9002)
  • Speed up multi-polygon integration by moving work out of the blockwise loop. (0.7.0.9003)
  • Add multi argument with default FALSE to fm_diameter() for multi-domain spaces (fm_tensor and fm_collect) so that only user code that needs to be aware of per-domain diameters need to handle the multi-domain case. (0.7.0.9004)
Show all changes in 0.8.0Hide the rest of the changes in 0.8.0
  • Add fm_int<fm_collect> method of integration on fm_collect spaces (0.7.0.9005)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 10.2 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
  • WARNING12 OK, 1 WARNING2026-06-07
Show 6 earlier changesHide 6 earlier changes
  • OK13 OK2026-05-02
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE11 OK, 3 NOTE2026-03-29
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-03-25
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.8.0
READMEYes · 323 wordsVignettesYes · 6 · dynamicNEWSYes · 100% structured · mentions 0.8.0Citation fileNoWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
108 (33 internal)includes a package overview page
Examples that run
98%102 run in a plain check (4 of them under a condition) · 2 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
95%
Return-value docs
100%
Help pages citing references
2%

Downloads

129.6K
CRAN downloads in the past year
Rank #1,164 · ~355/day · ~10.8K/mo
Daily download trend is not available in this view yet.
11K30 days
29.6K90 days
129.6K1 year
Compare downloads with other packages →
Also on1.8K r2u4 autocran6.3K conda_forge74 c2d4u

Repository

22Stars
3Forks
5Open issues
0Open PRs
14Releases
950Commits
4Commit identities
License file reads as MPL-2.0 · 950 commits · Last activity 2026-09-29 · 0% stars, 30d · Default branch at 0.8.0.9004, ahead of CRAN 0.8.0 (checked 2026-10-21) · Discussions: 2 posts
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
14
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-08-30 · 182026-08-11 · 22
PracticesBeta

16 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/inlabru-org/fmesher 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-09-29 · The repository has a site deploy workflow

pkgdown site last built 2026-06-23

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 3 practices
CRAN release process (1)
cran-comments.md
Automation and maintenance (2)
Dependabotpre-commit
Lint, format, editor (5)
lintrLint workflowjarlAirRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing fmesher adds 26 packages (19 with compiled code, 26 MB of source tarballs). Heaviest: sf 9.3 MB, sp 4.3 MB, s2 2.8 MB.

Depends (2)
R >= 4.1.0methods
Imports (13)
dplyrgraphicsgrDeviceslifecycleMatrixRcpprlangsfsplancsstatstibbleutilswithr
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
17direct
5indirect
Imports 17
Suggested by 8
Show all 25 packagesHide all 25 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (4)
Author, Maintainer since 0.1.1 (2023), Copyright holder
Finn Lindgren wrote the main code
Contributor
Andy Seaton constributed features to the sf support
Contributor
Fabian Bachl co-developed precursors of fm_pixels and fm_split_lines in inlabru
Contributor
Man Ho Suen contributed features and code structure design for the integration methods
Releases (14)

Pick two releases to compare their code metrics.

  • 0.8.0Latest
    record
    2026-06-23 · current release · diff ↗ ·
    removed 1 export
    fm_sp2segment
  • R
    R 4.6.0 released · 2026-04-24
  • 0.7.0
    record
    2026-02-19 · diff ↗
  • 0.6.1
    record
    2025-12-12 · diff ↗ ·
    removed 5 exports
    fm_CRS_as_list, fm_CRSargs, fm_CRSargs_as_list, fm_list_as_CRS, fm_spTransform
    added 6 exports
    fm_subset, fm_zm, fm_zm_input, fm_zm_target, fmesher_spherical_harmonics, new_fm_int
  • 0.5.0
    record
    2025-07-07 · diff ↗ ·
    added 2 exports
    fm_components, fm_nonconvex_hull_fm
  • 0.4.0
    record
    2025-06-12 · diff ↗ ·
    removed 5 exports
    fm_as_sp_crs, fm_crs_get_wkt, fm_has_PROJ6, fm_identical_CRS, fm_sp_get_crs
    added 6 exports
    fm_as_collect, fm_as_collect_list, fm_collect, fm_hexagon_lattice, fm_mesh_components, fm_sizes
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.0
    record
    2025-03-18 · diff ↗ ·
    removed 4 exports
    fm_as_inla_mesh, fm_as_inla_mesh_segment, fm_evaluator_mesh_1d, fm_evaluator_mesh_2d
    added 14 exports
    fm_as_bbox_list, fm_as_lattice_Nd, fm_as_lattice_Nd_list, fm_as_mesh_3d, fm_as_mesh_3d_list, fm_assess, fm_bary_loc, fm_bary_simplex, fm_delaunay_3d, fm_lattice_Nd, fm_mesh_3d, fm_qinv, fmesher_bary3d, fmesher_mesh3d
  • 0.2.0
    record
    2024-11-06 · diff ↗ ·
    removed 8 exports
    old_globeproj, old_graticule, old_limits, old_outline, old_project, old_tissot, plot_PolySet, plot_globeproj
    added 7 exports
    fm_basis_mesh_1d, fm_basis_mesh_2d, fm_crs_graticule, fm_crs_plot, fm_crs_tissot, fm_manifold_get, fmexample_sp
  • 0.1.7
    record
    2024-07-01 · diff ↗ ·
    removed 1 export
    fmesher_subdivide
    added 1 export
    fm_subdivide
  • 0.1.6
    record
    2024-06-14 · diff ↗ ·
    added 1 export
    fmesher_subdivide
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.5
    record
    2023-12-20 · diff ↗
  • 0.1.4
    record
    2023-10-29 · diff ↗
  • 0.1.3
    record
    2023-10-18 · diff ↗
  • 0.1.2
    record
    2023-08-25 · diff ↗
Show 2 earlier eventsHide 2 earlier events
  • 0.1.1
    record
    2023-08-18
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-08-18
Total releases
14 / 3 yrs
License
MPL-2.0 OSI
Copyright
2010-2026 Finn Lindgren, except src/predicates.cc by Jonathan Richard Shewchuk, 1996
Minimum R
≥ 4.1.0
Bundled data
19 KB / 2 files
Download size
1.4 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("fmesher")
Lindgren, F., Andy, S., Bachl, F. E., & Man Ho, S. (2026). fmesher: Triangle Meshes and Related Geometry Tools (Version 0.8.0) [Computer software]. https://doi.org/10.32614/CRAN.package.fmesher

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 fmesher version 0.8.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