units
Measurement units for R
units reaches 1.0 by rewriting its parser and accepting the breakage that comes with it.
◆Recent moves
- 5mo ago
Memory-leak and udunits2 parsing fixes after 1.0
The consolidation pass behind the 1.0 tokenizer: pointers wrapped to stop leaks on error paths, udunits2 exception propagation checked, and a workaround for units containing 'per' such as percent and person.
View source ↗ - 10mo ago
New tokenizer parses compound units correctly
⚡ SPARKThe release that ends years of accepted parsing defects, at the cost of changing results for anyone who relied on the old behaviour. NIST printing rules, matrix multiplication and convert_to_base() land alongside it.
View source ↗ - 1y ago
Copy semantics fix in ud_convert(); C++17 for old R
A two-line patch stopping ud_convert() from mutating its input, plus a build-standard fix for older R versions.
View source ↗ - 1y ago
cbind/rbind methods, ud_convert() and broad fixes
One of the larger accretion releases: matrix binding methods, a vector conversion helper, several performance passes and a run of arithmetic and ggplot2 fixes. Typical of the 0.8-x habit of widening surface without touching the parser.
View source ↗ - 1y ago
Silences a CRAN compiler warning
A single-line release clearing a -Wformat-security warning on CRAN. No user-visible change.
View source ↗ - 2y ago
Restores simplify=FALSE for identical units
Reverts a prior behaviour change so units_options(simplify = FALSE) is respected again on identical division and multiplication, plus a ggplot2 scale fix.
View source ↗