Set Operations on Time Intervals
Overview
Implements the phinterval vector class for representing time spans that may contain gaps (disjoint intervals) or be empty. This class generalizes the 'lubridate' package's interval class to support vectorized set operations (intersection, union, difference, complement) that always return a valid time span, even when disjoint or empty intervals are created.
- Initial CRAN submission.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 22 (3 internal)includes a package overview page
- Examples that run
- 100%19 run in a plain check
- Exported functions with examples
- 95%
- Documented parameters
- 91%
- Return-value docs
- 95%
- Help pages citing references
- 0%
- phinterval HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 0
11 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/ethansansom/phinterval on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-03-28 · The repository has a site deploy workflow
pkgdown site last built 2026-03-28
Show all practicesHide 2 practices
Dependencies
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- 1.0.0Latest2026-02-03 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-02-03
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 207 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("phinterval")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.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.