Releases: r-quantities/units
units 0.8-7
units 0.8-6
-
Add methods for
cbind
andrbind
; fixes #311 -
Performance improvements in
data.frame
methods; suggested in #361 @grcatlin -
Fix
weighted.mean.units
for unitless objects; #363 -
Fix incorrect use of
round()
in%%
and%/%
methods; #365 @UchidaMizuki -
Fix
ggplot2
deprecation warnings; #367 -
Fix
hist()
error; #368 -
Add support for
lims()
inggplot2
scales; #370 -
Fix simplification of inverse units; #378
-
Replace call to
Rf_error()
withRcpp::stop()
; RcppCore/Rcpp#1247 -
Fix UBs in the C++ glue code; #380
-
Add support for
brew
path discovery in macOS; #384 -
Several performance improvements; #387, #388, #393, #400 addressing #386, #389
-
Improve
keep_units()
helper for more general usage scenarios;
#394 @d-morrison addressing #392 -
Add
ud_convert()
to convert units of a vector; #399 @dlebauer addressing #398 -
Fix
scale_units
for upcoming version of ggplot2; #401
units 0.8-5
- avoid -Wformat-security warning on CRAN
units 0.8-4
-
Identical unit division and multiplication will now respect
units_options(simplify = FALSE)
reverting a change from #310; #355
@billdenney -
Fix
scale_units
when bothunit
andtrans
are specified; #357
units 0.8-3
units 0.8-2
-
Names are preserved when doing unit conversions; #305 @billdenney
-
Identical units will always divide (
/
) and allow integer division (%/%
).
And, inverse units will always be able to multiply; #310 @billdenney -
Compare units via
ud_compare()
, fixing inconsistent results for aliases
and symbols; #339, #346, #347 -
Fix
units<-()
to treat an empty unit the same asNULL
; #332 -
New
as.data.frame()
method formixed_units
; #309 -
Use short paths for database loading on Windows to fix UTF-16 issues; #342
-
Add example in the docs about reversing a ggplot2 units scale; #343
-
Fix units in transformed axis; #323
-
Consider unitless as radians in trigonometric functions; #328
units 0.8-1
units 0.8-0
-
enhance unit mapping for newly installed units; #290
-
remove deprecations:
install_symbolic_unit
,remove_symbolic_unit
,
install_conversion_constant
,install_conversion_offset
; #290 -
fix multipliers for round trip log-exp operations; #292
-
integrate
ggplot2
scales (previously in theggforce
package) to
automatically print axes with units; #294 addressing #164 -
fix
all.equal.units
for non-unitscurrent
-
fix zero power; #285
-
fix
unique.units
to support arrays and matrices, implement methods for
duplicated
andanyDuplicated
-
always add units to labels, including user-provided ones; as part of #298
-
new symbols/names with a percentage character are not allowed due to an
upstream bug; #289