Skip to content

polyCub

0.9.4Package record

Cubature over Polygonal Domains

2packages depend
18.4Kdownloads / year
45.1%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.9.4
  • Removed obsolete gpclibPermit() and gpclibPermitStatus(): package **gpclib** is no longer supported (and no longer has a restricted license anyway).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.1 min · r-oldrel-macos-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.9.4
READMEYes · 323 wordsVignettesYes · 1 · dynamicNEWSYes · 33% structured · mentions 0.9.4Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JOSS paper
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

18.4K
CRAN downloads in the past year
Rank #2,866 · ~50/day · ~1.5K/mo
Daily download trend is not available in this view yet.
2.6K30 days
5K90 days
18.4K1 year
Compare downloads with other packages →
Also on559 r2u1 autocran5.1K conda_forge146 c2d4u

Repository

10Stars
0Forks
1Open issues
0Open PRs
8Releases
379Commits
1Commit identities
rnumerical-integrationpolygons
License file reads as GPL-2.0 · 379 commits · Last activity 2026-10-02
Responsiveness
How these are sampled
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

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

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.

Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing polyCub adds 1 package (1 with compiled code, 4.3 MB of source tarballs). Heaviest: sp 4.3 MB.

Depends (2)
R >= 3.4.0methods
Imports (4)
grDevicesgraphicsstatssp
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
3indirect
Imports 2 · LinkingTo 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (3)
Author, Maintainer since 0.2-0 (2013), Translator
Thesis advisor · added in 0.5-2
Thesis advisor
Releases (21)

Pick two releases to compare their code metrics.

  • 0.9.4Latest
    record
    2026-04-24 · current release · diff ↗ ·
    removed 2 exports
    gpclibPermit, gpclibPermitStatus
  • R
    R 4.6.0 released · 2026-04-24
  • 0.9.3
    record
    2026-04-11 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.9.2
    record
    2025-02-11 · diff ↗
  • 0.9.1
    record
    2024-05-21 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.9.0
    record
    2023-10-25 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.8.1
    record
    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
    record
    2021-01-27 · diff ↗ ·
    added 1 export
    sfg2gpc
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.7.1
    record
    2019-02-07 · diff ↗
Show 19 earlier eventsHide 19 earlier events
  • 0.7.0
    record
    2018-10-11 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.6.1
    record
    2017-10-02 · diff ↗ ·
    added 4 exports
    as.owin.Polygon, as.owin.Polygons, as.owin.SpatialPolygons, as.owin.gpc.poly
  • 0.6.0
    record
    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
    record
    2016-04-19 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.5-1
    record
    2014-10-24 · diff ↗
  • 0.5-0
    record
    2014-05-07 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 0.4-3
    record
    2014-03-14 · diff ↗ ·
    added 1 export
    checkintrfr
  • 0.4-2
    record
    2014-02-12 · diff ↗
  • 0.4-1
    record
    2013-12-05 · diff ↗
  • 0.4-0
    record
    2013-11-19 · diff ↗ ·
    removed 1 export
    discpoly
    added 3 exports
    gpc2owin, owin2gpc, xylist
  • 0.3-1
    record
    2013-08-22 · diff ↗
  • 0.3-0
    record
    2013-07-06 · diff ↗ ·
    added 3 exports
    .polyCub.iso, plotpolyf, polyCub.iso
  • 0.2-0
    record
    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
150 KB
Appears in task views

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for polyCub version 0.9.4 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

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