polyCub
0.9.4Cubature 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.
Install
Health
- OK2026-06-0813 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0712 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-2913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-04-2313 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 93%
- Return-value docs
- 92%
- References docs
- 38%
Downloads
Repository
Stars over time
Releases over time
Issues over time
Repository practices
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/bastistician/polycub on 2026-07-19.
Dependencies
Code & Tests
- Cyclomatic complexity
- 2.0 median / 12 max
Test coverage
Line coverage
45%
Expression
44.1%
Tests / Examples
45.1% / 59% ex
Functions
50 17 exported
Complexity
2.7 avg / 12 max
Call network
50 nodes / 42 edges
Call graph
Open call graph →Lowest coverage
50 functions| Function | Cyclo | Coverage |
|---|---|---|
| as.owin.Polygon exp | 1 | 0% |
| as.owin.Polygons exp | 1 | 0% |
| as.owin.SpatialPolygons exp | 1 | 0% |
| as.owin.gpc.poly exp | 1 | 0% |
| gpc2owin exp | 2 | 0% |
| owin2gpc exp | 2 | 0% |
People & History
21 releases. Pick two to compare their code metrics. R releases are shown for context.
- 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.02021-01-27 · diff ↗
- 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 events
- 0.7.02018-10-11 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.6.12017-10-02 · diff ↗
- 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-32014-03-14 · diff ↗
- 0.4-22014-02-12 · diff ↗
- 0.4-12013-12-05 · diff ↗
- 0.4-02013-11-19 · diff ↗
- 0.3-12013-08-22 · diff ↗
- 0.3-02013-07-06 · diff ↗
- 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
- 121 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet