check...: Check that arguments supplied via ... are allowed

View source: R/utils.R

check...R Documentation

Check that arguments supplied via ... are allowed

Description

This function checks that arguments supplied via ... are allowed. This function was written to support other functions, specifically via the return of a helpful error message if arguments that cannot be supplied via ... have been supplied. The function is not intended for general use.

Usage

check...(not_allowed, ...)

Arguments

not_allowed

A character vector of the names of function arguments that are not allowed.

...

Other arguments

Value

The function checks other arguments supplied via ...; if these contain an argument that is not allowed, the function returns an error. Otherwise, nothing is returned.

Author(s)

Edward Lavender


edwardlavender/Tools4ETS documentation built on Nov. 29, 2022, 7:41 a.m.