Welcome to ClientVPS Mirrors

CRAN: Package units

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: 1.0-1
Depends: R (≥ 3.5.0)
Imports: Rcpp
LinkingTo: Rcpp (≥ 1.1.0)
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
Published: 2026-03-11
DOI: 10.32614/CRAN.package.units
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://r-quantities.github.io/units/, 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.html , units.pdf
Vignettes: Measurement units in R (source, R code)
Units of Measurement for R Vectors: an Introduction (source, R code)

Downloads:

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

Reverse dependencies:

Reverse depends: photosynthesis, quantities, Rdistance, restoptr, tealeaves
Reverse imports: a5R, aNCA, ARUtools, crsuggest, cvasi, damAOI, dataquieR, dci, divseg, divvy, ECOTOXr, elevatr, EmissV, eplusr, epocakir, equil2, eSDM, FIESTAutils, flowcluster, formatdown, fude, gasanalyzer, geonuts, geoprofiler, ggOceanMaps, greenR, gtfs2emis, gtfs2gps, gtfstools, gunit, hosm, hydraulics, hydroloom, IceSat2R, intSDM, iNZightPlots, iNZightTools, ir, jmastats, jpgrid, jpmesh, latbias, lwgeom, mapboxapi, MassWateR, mesonet, meteo, meteoland, meteospain, microinverterdata, move2, MRG, ndi, nhdplusTools, nhdR, nngeo, pacu, PKbioanalysis, plantTracker, populR, prioritizr, rangeBuilder, raytracing, rcrisp, remap, roads, robust.prioritizr, rtop, RWmisc, segmetric, sf, sfnetworks, sits, smoothr, spatialrisk, spatialsample, spatsoc, spbal, spdep, spqdep, spsurvey, sspm, stars, starsExtra, starsTileServer, stoichUtilities, terrainr, tidycensus, tinyVAST, tmap, tmap.mapgl, tmaptools, transfR, vein, wikilake, wildlifeDI, yamlet
Reverse suggests: amt, aopdata, aorsf, babelmixr2, camtrapR, capybara, chopin, classInt, constants, cubble, degday, DTSg, eixport, EML, geometa, ggforce, himach, igr, ncdfCF, openrouteservice, paar, palaeoSig, partialling.out, pillar, PKNCA, qatarcars, rasterbc, RCzechia, rDataPipeline, redist, ricu, rmacrostrat, rmapshaper, rxode2, santoku, slendr, snapKrig, sociome, spatialEco, stxplore, tidylog, tsbox, waywiser

Linking:

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

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.