Calculate Water Vapor Measures from Temperature and Dew Point
Overview
Vapor pressure, relative humidity, absolute humidity, specific humidity, and mixing ratio are commonly used water vapor measures in meteorology. This R package provides functions for calculating saturation vapor pressure (hPa), partial water vapor pressure (Pa), relative humidity (%), absolute humidity (kg/m^3), specific humidity (kg/kg), and mixing ratio (kg/kg) from temperature (K) and dew point (K). Conversion functions between humidity measures are also provided.
MISC
- Package CITATION file uses
bibentry()instead of old-stylecitEntry(). - fixed invalid URLs
- fixed incorrect descript of
T0 - fixed a bug in the vectorization step inside
SVP()
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-20
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 20
- Examples that run
- 100%12 run in a plain check
- Exported functions with examples
- 67%
- Documented parameters
- 100%
- Return-value docs
- 67%
- Help pages citing references
- 10%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 65
- Median days to close, 50 most recently updated closed PRs
- 0
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/caijun/humidity on 2026-10-18.
Dependencies
Installing humidity adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.1.6Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.1.52019-11-10 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.1.42018-06-10 · diff ↗
- 0.1.3
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.1.12016-07-22 · diff ↗
- 0.1.02016-07-22
Show 1 earlier eventHide 1 earlier event
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-07-22
- Total releases
- 6 / 10 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.2
- Bundled data
- 0.5 KB / 2 files
- Download size
- 309 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("humidity")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.