Cubature over Polygonal Domains
Overview
Numerical integration of continuously differentiable functions f(x,y) over simple closed polygonal domains. The following cubature methods are implemented: product Gauss cubature (Sommariva and Vianello, 2007, doi:10.1007/s10543-007-0131-2), the simple two-dimensional midpoint rule (wrapping 'spatstat.geom' functions), and adaptive cubature for radially symmetric functions via line integrate() along the polygon boundary (Meyer and Held, 2014, doi:10.1214/14-AOAS743, Supplement B). For simple integration along the axes, the 'cubature' package is more appropriate.
- Removed obsolete
gpclibPermit()andgpclibPermitStatus(): package **gpclib** is no longer supported (and no longer has a restricted license anyway).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-08
- ERROR12 OK, 1 ERROR2026-06-07
- OK13 OK2026-04-29
Show 2 earlier changesHide 2 earlier changes
- WARNING13 OK, 1 WARNING2026-04-23
- OK14 OK2026-03-10
Documentation
- Help pages
- 13includes a package overview page
- Examples that run
- 100%10 run in a plain check (2 of them under a condition)
- Exported functions with examples
- 83%
- Documented parameters
- 93%
- Return-value docs
- 92%
- Help pages citing references
- 38% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 69
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Releases over time
Issues over time
Commits over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/bastistician/polycub on 2026-10-18.
Dependencies
Installing polyCub adds 1 package (1 with compiled code, 4.3 MB of source tarballs). Heaviest: sp 4.3 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.9.4Latest
- RR 4.6.0 released · 2026-04-24
- 0.9.32026-04-11 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.9.22025-02-11 · diff ↗
- 0.9.12024-05-21 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.9.02023-10-25 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.8.12022-11-28 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.8.0
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.7.12019-02-07 · diff ↗
Show 19 earlier eventsHide 19 earlier events
- 0.7.02018-10-11 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.6.12017-10-02 · diff ↗ ·
added 4 exports
as.owin.Polygon, as.owin.Polygons, as.owin.SpatialPolygons, as.owin.gpc.poly - 0.6.02017-05-26 · diff ↗
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 0.5-22016-04-19 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 0.5-12014-10-24 · diff ↗
- 0.5-02014-05-07 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 0.4-3
- 0.4-22014-02-12 · diff ↗
- 0.4-12013-12-05 · diff ↗
- 0.4-0
- 0.3-12013-08-22 · diff ↗
- 0.3-0
- 0.2-02013-05-11
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2013-05-11
- Total releases
- 21 / 13 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.4.0
- Download size
- 150 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("polyCub")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.21105/joss.01056.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.