-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hi,
the CRAN present version of the package formats with digits="pdg"
1.234 +- 0.0950 -> 1.2 +- 0.1 (expected: 1.23 +- 0.10)
In short, the case of last three digits 950-999 should format to 10 with 2 digits, and formats 1 digit instead.
I have produced here a working version: https://github.com/alusiani-forked/errors, starting from the current https://github.com/cran/errors .
If acceptable, I can propose a pull request. There are some modifications to print.R and utils.R. I have added an additional argument, that could facilitate a future extension to asking the PDG number of digits plus an extra offset. This argument does nothing now.
Cheers,
Alberto
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels