util_deprecate_soft: Deprecate functions and arguments

View source: R/util_deprecate_soft.R

util_deprecate_softR Documentation

Deprecate functions and arguments

Description

if available, it calls lifecycle::deprecate_soft. otherwise, it just shows a warning.

Usage

util_deprecate_soft(
  when,
  what,
  with = NULL,
  details = NULL,
  id = NULL,
  env = rlang::caller_env(),
  user_env = rlang::caller_env(2)
)

Arguments

when

A string giving the version when the behavior was deprecated.

what

A string describing what is deprecated

with

An optional string giving a recommended replacement for the deprecated behavior. This takes the same form as what.

details

only used, if lifecycle::deprecate_soft is available

id

only used, if lifecycle::deprecate_soft is available

env

only used, if lifecycle::deprecate_soft is available

user_env

only used, if lifecycle::deprecate_soft is available

Value

NULL, invisibly.


dataquieR documentation built on July 26, 2023, 6:10 p.m.