renamed_kwargs: Checks if the deprecated argument is in kwargs

View source: R/deprecations.R

renamed_kwargsR Documentation

Checks if the deprecated argument is in kwargs

Description

Raises warning, if present.

Usage

renamed_kwargs(old_name, new_name, value, kwargs)

Arguments

old_name

(str): name of deprecated argument

new_name

(str): name of the new argument

value

(str): value associated with new name, if supplied

kwargs

(list): keyword arguments dict

Value

value of the keyword argument, if present


DyfanJones/sagemaker-r-local documentation built on June 14, 2022, 10:32 p.m.