raise_deprecated: Warn about deprecated parameters or functions

View source: R/raise_deprecated.R

raise_deprecatedR Documentation

Warn about deprecated parameters or functions

Description

Warn about deprecated parameters or functions

Usage

raise_deprecated(old, new, caller = NULL)

Arguments

old

A character giving the old function or parameter.

new

A character giving the replacement function or parameter.

caller

A character vector giving the function with the deprecated parameter.

Value

Nothing. Just raise a warning

Examples

beadplexr:::raise_deprecated("XX", "YY")
beadplexr:::raise_deprecated(old = "XX", new = "YY", caller = "ZZZ")
beadplexr:::raise_deprecated(old = "XX", new = "YY", caller = "ZZZ()")


beadplexr documentation built on July 9, 2023, 5:59 p.m.