Learn R Programming

dataquieR (version 2.0.1)

util_deprecate_soft: 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)
)

Value

NULL, invisibly.

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