Skip to content

round

0.21-0.2

Rounding to Decimal Digits

1packages depend
40.7Kdownloads / year
83.7%test coverage
13/13checks pass

Overview

About
Maintained by Martin MaechlerFirst published 2020-01-246 releasesCRAN page ↗GitLab ↗

Decimal rounding is non-trivial in binary arithmetic. ISO standard round to even is more rare than typically assumed as most decimal fractions are not exactly representable in binary. Our 'roundX()' versions explore differences between current and potential future versions of round() in R. Further, provides (some partly related) C99 math lib functions not in base R.

Install

Health

CRAN checks
13OK
Slowest check: 1.9 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 2.99
83.7%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-04
    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 · 29 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
58%
Return-value docs
100%
References docs
67%

Downloads

40.7K
CRAN downloads in the past year
Rank #2,257 · ~111/day · ~3.4K/mo
Daily download trend is not available in this view yet.
2.4K30 days
9.6K90 days
40.7K1 year
Compare downloads with other packages →
Also on405 r2u9 autocran26 c2d4u

Repository

Repository practices

Upstream repositoryBeta

Repository gitlab.com/mmaechler/round is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (1)
stats
LinkingTo (0)
none
Suggests (7)
grDevicesgraphicsMatrixlatticegmpknitrrmarkdown
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (1)
Contributor
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.21-0.2Latest
    2024-01-10 · current release · diff ↗
  • 0.21-0.1
    2023-12-07 · diff ↗
  • 0.21-0
    2023-10-12 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.20-0
    2021-01-05 · diff ↗
  • 0.12-2
    2020-07-07 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.12-1
    2020-01-24
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-01-24
Total releases
6 / 6 yrs
License
AGPL (>= 3) | file LICENSE OSI
Download size
71 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("round")
Maechler, M., & R-core. (2024). round: Rounding to Decimal Digits (Version 0.21-0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.round

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 round version 0.21-0.2 [Data set]. HJJB, LLC. Data release v2026-08-11. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-11, 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