Description
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.
Downloads
304K
Last 30 days
197th
881.4K
Last 90 days
4.2M
Last year
Trend: +4.6% (30d vs prior 30d)
CRAN Check Status
13
OK
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR
r-devel-windows-x86_64
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/units.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Reverse Dependencies (147)
depends
imports
ARUtools
ECOTOXr
EmissV
FIESTAutils
ILORA
IceSat2R
MRG
MassWateR
PKbioanalysis
a5R
aNCA
crsuggest
cvasi
damAOI
dataquieR
dci
divseg
divvy
duckspatial
eSDM
elevatr
epocakir
equil2
flowcluster
formatdown
fude
gasanalyzer
geonuts
geoprofiler
ggOceanMaps
greenR
gtfs2emis
gtfs2gps
gtfstools
gunit
hosm
hydraulics
hydroloom
iNZightPlots
iNZightTools
intSDM
ir
jmastats
jpgrid
jpmesh
latbias
lwgeom
mapboxapi
medfate
mesonet
meteo
meteoland
meteospain
microinverterdata
move2
ndi
nhdR
nhdplusTools
nngeo
pacu
plantTracker
populR
prioritizr
rangeBuilder
raytracing
rcrisp
remap
roads
robust.prioritizr
rtop
segmetric
sf
sfnetworks
sits
smoothr
spatialrisk
spatialsample
spatsoc
spbal
spdep
spqdep
spsurvey
sspm
stars
starsExtra
starsTileServer
stoichUtilities
terrainr
tidycensus
tinyVAST
tmap
tmap.glyphs
tmap.mapgl
tmaptools
trafficCAR
transfR
vein
wikilake
wildlifeDI
yamlet
suggests
DTSg
EML
PKNCA
RCzechia
amt
aopdata
aorsf
babelmixr2
camtrapR
capybara
chopin
classInt
constants
cubble
degday
eixport
eplusr
geometa
ggforce
himach
igr
ncdfCF
openrouteservice
paar
palaeoSig
partialling.out
pillar
qatarcars
rDataPipeline
rasterbc
redist
ricu
rmacrostrat
rmapshaper
rxode2
slendr
snapKrig
sociome
spatialEco
stxplore
tidylog
tsbox
waywiser
Dependency Network
Version History
34 tracked
new
1.0-0
Mar 10, 2026