warningDeprecated: Create Warning About a Deprecated Function

View source: R/io.R

warningDeprecatedR Documentation

Create Warning About a Deprecated Function

Description

Create Warning About a Deprecated Function

Usage

warningDeprecated(old_name, new_name, parentheses = TRUE)

Arguments

old_name

name of deprecated function

new_name

name of new function to be used instead

parentheses

logical. Should parentheses be printed after the names in the output? Default: TRUE.

Examples

## Not run: 
warningDeprecated("old_function()", "new_function()")

## End(Not run)

KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.