Skip to content

cppdoubles

0.4.0

Fast Relative Comparisons of Floating Point Numbers in 'C++'

1packages depend
4.2Kdownloads / year
96.7%test coverage
13/13checks pass

Overview

About
Maintained by Nick ChristofidesFirst published 2023-11-085 releasesCRAN page ↗GitHub ↗

Compare double-precision floating point vectors using relative differences. All equality operations are calculated using 'cpp11'.

Install

Health

CRAN checks
13OK
Slowest check: 1.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.74
96.7%
Coverage · measured lines
67%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 74 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

4.2K
CRAN downloads in the past year
Rank #12,280 · ~11/day · ~346/mo
Daily download trend is not available in this view yet.
20530 days
80590 days
4.2K1 year
Compare downloads with other packages →
Also on423 r2u

Repository

Repository
3Stars
0Forks
0Open issues
0Open PRs
2Releases
78Commits
1Contributors
78 commits · Last activity 2026-07-18 · 0% stars, 30d

Stars over time

2024-07-29 · 22026-07-07 · 3

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/nicchr/cppdoubles on 2026-08-03.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (0)
none
LinkingTo (1)
Suggests (2)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.0Latest
    2025-06-09 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.0
    2024-11-12 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.0
    2024-02-21 · diff ↗
  • 0.1.1
    2023-11-10 · diff ↗
  • 0.1.0
    2023-11-08
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-11-08
Total releases
5 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Download size
11 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("cppdoubles")

CRAN DOI

https://doi.org/10.32614/CRAN.package.cppdoubles

BibTeX, derived from DESCRIPTION

@Manual{cppdoubles,
  title  = {cppdoubles: Fast Relative Comparisons of Floating Point Numbers in 'C++'},
  author = {Christofides, Nick},
  year   = {2025},
  note   = {R package version 0.4.0},
  doi    = {10.32614/CRAN.package.cppdoubles},
  url    = {https://CRAN.R-project.org/package=cppdoubles}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatorycppdoubles,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {cppdoubles} version 0.4.0},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/cppdoubles},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cppdoubles version 0.4.0 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/cppdoubles

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for cppdoubles version 0.4.0
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/cppdoubles
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/cppdoubles.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

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