Package: discretes 0.1.1

discretes: Discrete Numeric Series

Provides a framework for representing discrete numeric series (enumerable sets of numbers) that may be finite or infinite. Series can be traversed, combined using arithmetic operations, tested for membership, and queried for limit points ("sinks"), without explicit enumeration of all elements.

Authors:Vincenzo Coia [aut, cre, cph], Carlo De Michele [aut]

discretes_0.1.1.tar.gz
discretes_0.1.1.zip(r-4.7-any)discretes_0.1.1.zip(r-4.6-any)discretes_0.1.1.zip(r-4.5-any)
discretes_0.1.1.tgz(r-4.6-any)discretes_0.1.1.tgz(r-4.5-any)
discretes_0.1.1.tar.gz(r-4.7-any)discretes_0.1.1.tar.gz(r-4.6-any)
discretes_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
discretes/json (API)

# Install 'discretes' in R:
install.packages('discretes', repos = c('https://vincenzocoia.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/vincenzocoia/discretes/issues

Pkgdown/docs site:https://discretes.netlify.app

On CRAN:

Conda:

6.53 score 4 packages 9 scripts 544 downloads 23 exports 4 dependencies

Last updated from:9a6e03841a. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK175
source / vignettesOK152
linux-releaseOK183
macos-releaseOK113
macos-oldrelOK113
windows-develOK133
windows-releaseOK123
windows-oldrelOK200
wasm-releaseOK139

Exports:arithmeticas_discretesdsct_dropdsct_keepdsct_transformdsct_unionempty_seriesget_discretes_atget_discretes_inhas_discreteshas_negative_zerohas_positive_zerohas_sink_athas_sink_inintegersis_seriesnatural0natural1next_discretenum_discretesprev_discreterepresentativesinks

Dependencies:backportscheckmateellipsisrlang

Creating numeric series
Subsetting and combining | Arithmetic and standard functions | Custom transformations: dsct_transform()

Last update: 2026-03-15
Started: 2026-03-05

Querying a numeric series
Materializing values from a series | Traversing: next_discrete() and prev_discrete() | Pulling values: get_discretes_at() and get_discretes_in() | Subsetting by position: [ | Counting: num_discretes() | Which values are in the series? | Querying sinks

Last update: 2026-03-15
Started: 2026-03-05

Signed Zero

Last update: 2026-03-13
Started: 2026-03-05

Tolerance
Where is tol actually used? | Example: tol with arithmetic() | Example: tol with an explicit numeric series | Example: preserving numeric vectors | Choosing a tol

Last update: 2026-03-13
Started: 2026-02-25