CRAN/E | units

units

Measurement Units for R Vectors

Installation

About

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.

Citation units citation info
r-quantities.github.io/units/
github.com/r-quantities/units
System requirements udunits-2
Bug report File report

Key Metrics

Version 0.8-5
R ≥ 3.0.2
Published 2023-11-28 8 days ago
Needs compilation? yes
License GPL-2
CRAN checks units results

Downloads

Last 24 hours 0 -100%
Last 7 days 54.685 -7%
Last 30 days 189.890 -3%
Last 90 days 592.989 -2%
Last 365 days 3.725.800 -49%

Maintainer

Maintainer

Edzer Pebesma

edzer.pebesma@uni-muenster.de

Authors

Edzer Pebesma

aut / cre

Thomas Mailund

aut

Tomasz Kalinowski

aut

James Hiebert

ctb

Iñaki Ucar

aut

Thomas Lin Pedersen

ctb

Material

NEWS
Reference manual
Package source

In Views

ChemPhys

Vignettes

Measurement units in R
Units of Measurement for R Vectors: an Introduction

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

units archive

Depends

R ≥ 3.0.2

Imports

Rcpp

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

LinkingTo

Rcpp ≥ 0.12.10

Reverse Depends

photosynthesis
quantities
restoptr
tealeaves

Reverse Imports

allometric
cdcfluview
crsuggest
divseg
divvy
elevatr
EmissV
eplusr
epocakir
epwshiftr
equil2
eSDM
fgdr
FIESTAutils
formatdown
ggOceanMaps
glottospace
gtfs2emis
gtfs2gps
gtfstools
gunit
gwavr
happign
hosm
hydraulics
hydroloom
IceSat2R
iemisc
iNZightPlots
iNZightTools
ir
jmastats
jpgrid
jpmesh
lwgeom
mapboxapi
MassWateR
meteo
meteoland
meteospain
move2
nhdplusTools
nhdR
nngeo
plantTracker
populR
rangeBuilder
raytracing
Rdistance
remap
Load all 73 items
(warning: might lead to performance issues and take some time)

Reverse Suggests

aopdata
aorsf
babelmixr2
classInt
constants
cubble
degday
DTSg
eixport
EML
geometa
ggforce
himach
iemiscdata
opensensmapr
palaeoSig
pillar
PKNCA
rasterbc
RCzechia
rDataPipeline
readwritesqlite
redist
ricu
rmapshaper
rxode2
rxode2et
santoku
sen2r
slendr
snapKrig
sociome
spatialEco
stxplore
tsbox
waywiser