Support for measurement units in R vectors; automatic propagation, conversion, derivation and simplification of units; raising errors in case of unit incompatibility. Compatible with the difftime class. Uses the UNIDATA udunits library and unit database for unit conversion and compatibility checking.

Maintainer: Edzer Pebesma <edzer.pebesma at uni-muenster.de>

Author(s): Edzer Pebesma*, Thomas Mailund*

Install package and any missing dependencies by running this line in your R console:

install.packages("units")

Depends R (>= 3.0.0)
Imports udunits2(>=0.13)
Suggests NISTunits, measurements, xml2, tibble, knitr, testthat, covr
Enhances
Linking to
Reverse
depends
Reverse
imports
ggforce, sf
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package units
Materials
URL https://github.com/edzer/units/
Task Views
Version 0.4-2
Published 2017-01-13
License GPL-2
BugReports https://github.com/edzer/units/issues/
SystemRequirements
NeedsCompilation no
Citation
CRAN checks units check results
Package source units_0.4-2.tar.gz