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, ggforce, magrittr
Enhances
Linking to
Reverse
depends
Reverse
imports
ggforce, sf, tidycensus, vein
Reverse
suggests
Reverse
enhances
Reverse
linking to

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