units (0.8-7)
Published 2026-02-24 13:47:33 +00:00 by atheaadmin
Installation
options("repos" = c(getOption("repos"), c(gitea=" ")))install.packages("units")About this package
Support for measurement units in R vectors, matrices and arrays: automatic propagation, conversion, derivation and simplification of units; raising errors in case of unit incompatibility. Compatible with the POSIXct, Date and difftime classes. Uses the UNIDATA udunits library and unit database for unit compatibility checking and conversion. Documentation about 'units' is provided in the paper by Pebesma, Mailund & Hiebert (2016, <doi:10.32614/RJ-2016-061>), included in this package as a vignette; see 'citation("units")' for details.Measurement Units for R Vectors
Dependencies
| Imports | Rcpp |
| Depends | R (>= 3.0.2) |
| LinkingTo | Rcpp (>= 0.12.10) |
| Suggests | NISTunits, measurements, xml2, magrittr, pillar (>= 1.3.0), dplyr (>= 1.0.0), vctrs (>= 0.3.1), ggplot2 (> 3.2.1), testthat (>= 3.0.0), vdiffr, knitr, rvest, rmarkdown |
Details
2026-02-24 13:47:33 +00:00
Assets (1)
Versions (1)
View all
CRAN
0
GPL-2
Edzer Pebesma
Thomas Mailund
Tomasz Kalinowski
James Hiebert
Iñaki Ucar
Thomas Lin Pedersen
343 KiB
units_0.8-7.tar.gz
343 KiB
0.8-7
2026-02-24