Learn R Programming

beadplexr (version 0.5.0)

raise_deprecated: Warn about deprecated parameters or functions

Description

Warn about deprecated parameters or functions

Usage

raise_deprecated(old, new, caller = NULL)

Value

Nothing. Just raise a warning

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.

Examples

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

Run the code above in your browser using DataLab