Skip to content

Commit b655ab2

Browse files
committed
remove redundant t2es docs
1 parent f0db66a commit b655ab2

3 files changed

Lines changed: 3 additions & 19 deletions

File tree

modules/data.atmosphere/NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ export(split_wind)
105105
export(subdaily_pred)
106106
export(sw2par)
107107
export(sw2ppfd)
108-
export(t2es)
109108
export(temporal.downscale.functions)
110109
export(temporal_downscale_half_hour)
111110
export(upscale_met)

modules/data.atmosphere/R/metutils.R

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ sat_vapor_pressure <- function(
108108
temp,
109109
temp_units = "degC",
110110
out_units = "kPa",
111-
method = c("ClausiusClapeyron")) {
111+
method = "ClausiusClapeyron") {
112112
method <- match.arg(method)
113113
# normalize common alias
114114
if (tolower(out_units) == "mb") out_units <- "hPa"
@@ -158,16 +158,6 @@ get.es <- function(temp) {
158158
)
159159
}
160160

161-
#' @rdname sat_vapor_pressure
162-
#' @md
163-
#' @details
164-
#' Alias for temperature→e_s convenience. Identical to `sat_vapor_pressure()`.
165-
#' @param temp see `sat_vapor_pressure()`
166-
#' @export
167-
t2es <- function(temp, ...) {
168-
sat_vapor_pressure(temp = temp, ...)
169-
}
170-
171161
##' Calculate RH from temperature and dewpoint
172162
##'
173163
##' Based on equation 12 in Lawrence 2005, The Relationship between

modules/data.atmosphere/man/sat_vapor_pressure.Rd

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)