Skip to content

polyCub

0.9.4

Cubature over Polygonal Domains

2packages depend
23.1Kdownloads / year
45.1%test coverage
13/13checks pass

Overview

About
Maintained by Sebastian MeyerFirst published 2013-05-1121 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 3.1 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.14
45.1%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-06-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-29
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-04-23
    13 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 323 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
93%
Return-value docs
92%
References docs
38%

Downloads

23.1K
CRAN downloads in the past year
Rank #3,168 · ~63/day · ~1.9K/mo
Daily download trend is not available in this view yet.
1.3K30 days
4.2K90 days
23.1K1 year
Compare downloads with other packages →
Also on564 r2u30 autocran5K conda_forge76 c2d4u

Repository

Repository
10Stars
0Forks
1Open issues
0Open PRs
8Releases
375Commits
1Contributors
rnumerical-integrationpolygons
License GPL-2.0 · 375 commits · Last activity 2026-04-24

Stars over time

2025-01-10 · 92026-07-07 · 10

Repository practices

Upstream repositoryBeta

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.

Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.4.0methods
Imports (4)
grDevicesgraphicsstatssp
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
2indirect

Code & Tests

Code Composition
R 1,852 (52%)Rd 1,069 (30%)C 350 (10%)Vignettes 320 (9%)
Code characteristics
Object systems
S311
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

Loading call graph…

Lowest coverage

50 functions
FunctionCycloCoverage
as.owin.Polygon exp10%
as.owin.Polygons exp10%
as.owin.SpatialPolygons exp10%
as.owin.gpc.poly exp10%
gpc2owin exp20%
owin2gpc exp20%

People & History

People (3)
Maintainer (1)
Author, Maintainer, Translator
Authors (1)
Author, Maintainer, Translator
Translators (1)
Author, Maintainer, Translator
Other (2)
Thesis advisor · added in 0.5-2
Thesis advisor
Package Timeline

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

  • 0.9.4Latest
    2026-04-24 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.9.3
    2026-04-11 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.9.2
    2025-02-11 · diff ↗
  • 0.9.1
    2024-05-21 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.9.0
    2023-10-25 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.8.1
    2022-11-28 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.8.0
    2021-01-27 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.7.1
    2019-02-07 · diff ↗
Show 19 earlier events
  • 0.7.0
    2018-10-11 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.6.1
    2017-10-02 · diff ↗
  • 0.6.0
    2017-05-26 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 0.5-2
    2016-04-19 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.5-1
    2014-10-24 · diff ↗
  • 0.5-0
    2014-05-07 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 0.4-3
    2014-03-14 · diff ↗
  • 0.4-2
    2014-02-12 · diff ↗
  • 0.4-1
    2013-12-05 · diff ↗
  • 0.4-0
    2013-11-19 · diff ↗
  • 0.3-1
    2013-08-22 · diff ↗
  • 0.3-0
    2013-07-06 · diff ↗
  • 0.2-0
    2013-05-11
  • R
    R 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
Appears in task views
Report a problem with this page →