Skip to content

phinterval

1.0.0Package record

Set Operations on Time Intervals

0packages depend
1.8Kdownloads / year
96.2%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.0.0
  • Initial CRAN submission.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.0 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.0
READMEYes · 658 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 1.0.0Citation fileNoWebsiteYes · pkgdown
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%
Vignettes (1)

Downloads

1.8K
CRAN downloads in the past year
Rank #22,053 · ~5/day · ~150/mo
Daily download trend is not available in this view yet.
21630 days
60690 days
1.8K1 year
Compare downloads with other packages →
Also on229 r2u4 autocran

Repository

1Stars
0Forks
2Open issues
0Open PRs
1Releases
307Commits
1Commit identities
crandatetimeinterval-algebrar
307 commits · Last activity 2026-03-28 · Default branch at 1.0.0.9000, ahead of CRAN 1.0.0 (checked 2026-10-21)
Responsiveness
How these are sampled
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
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conductIssue templates
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-03-28 · The repository has a site deploy workflow

pkgdown site last built 2026-03-28

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing phinterval adds 16 packages (11 with compiled code, 7.2 MB of source tarballs). Heaviest: Rcpp 1.8 MB, vctrs 1.0 MB, rlang 766 KB.

Depends (1)
R >= 4.0.0
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 1.0.0 (2026), Copyright holder
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0Latest
    2026-02-03 · current release
  • R
    R 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")
Sansom, E. (2026). phinterval: Set Operations on Time Intervals (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

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

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.

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