units: Measurement Units for R Vectors

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.

Version: 0.8-0
Depends: R (≥ 3.0.2)
Imports: Rcpp
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, rmarkdown
Published: 2022-02-05
Author: Edzer Pebesma ORCID iD [aut, cre], Thomas Mailund [aut], Tomasz Kalinowski [aut], James Hiebert [ctb], Iñaki Ucar ORCID iD [aut], Thomas Lin Pedersen [ctb]
Maintainer: Edzer Pebesma <edzer.pebesma at uni-muenster.de>
BugReports: https://github.com/r-quantities/units/issues/
License: GPL-2
URL: https://github.com/r-quantities/units/
NeedsCompilation: yes
SystemRequirements: udunits-2
Citation: units citation info
Materials: NEWS
In views: ChemPhys
CRAN checks: units results

Documentation:

Reference manual: units.pdf
Vignettes: Measurement units in R
Units of Measurement for R Vectors: an Introduction

Downloads:

Package source: units_0.8-0.tar.gz
Windows binaries: r-devel: units_0.8-0.zip, r-release: units_0.8-0.zip, r-oldrel: units_0.8-0.zip
macOS binaries: r-release (arm64): units_0.8-0.tgz, r-oldrel (arm64): units_0.8-0.tgz, r-release (x86_64): units_0.8-0.tgz, r-oldrel (x86_64): units_0.8-0.tgz
Old sources: units archive

Reverse dependencies:

Reverse depends: photosynthesis, quantities, restoptr, tealeaves
Reverse imports: APAtree, cdcfluview, crsuggest, divseg, elevatr, EmissV, eplusr, epocakir, epwshiftr, eSDM, fgdr, FIESTAutils, ggOceanMaps, glottospace, gtfs2gps, gtfstools, gunit, gwavr, hydraulics, IceSat2R, iemisc, ir, japanmesh, jpgrid, jpmesh, lwgeom, mapboxapi, meteoland, meteospain, nhdplusTools, nhdR, nngeo, raytracing, remap, roads, RstoxData, RWmisc, segmetric, sf, sfnetworks, smoothr, spatialrisk, spatialsample, spdep, spsurvey, sspm, stars, starsExtra, starsTileServer, terrainr, tidycensus, tmap, tmaptools, traitdataform, transfR, vein, wikilake, yamlet
Reverse suggests: aopdata, aorsf, checkr, classInt, constants, DTSg, EML, geometa, ggforce, himach, pillar, rasterbc, RCzechia, rDataPipeline, readwritesqlite, redist, ricu, rmapshaper, RxODE, rxode2, santoku, sen2r, slendr, sociome

Linking:

Please use the canonical form https://CRAN.R-project.org/package=units to link to this page.