R/deprecated.R

Defines functions unitted_deprecate_warn

Documented in unitted_deprecate_warn

#' Warn about deprecation of a units-related argument or function
#' @keywords internal
unitted_deprecate_warn <- function(what) {
  deprecate_warn(
    what = sprintf('streamMetabolizer::%s', what),
    when = "0.12.0",
    details = "streamMetabolizer will someday stop using units and the unitted package.")
}
USGS-R/streamMetabolizer documentation built on Aug. 15, 2023, 7:50 a.m.