Check that disabled arguments are not specified
Source:R/function-factory-helpers.R
check_args_disabled.Rd
If the user of the function factory specified its .args_disabled
argument,
check_args_disabled()
enforces this ban.
Details
More precisely, it throws an error if the user of the factory-made function
specified one or more arguments which the user of the function factory had
disabled via the latter's .args_disabled
argument. The arguments would
otherwise be passed on to the function that is mapped within the factory-made
function.
on the use of the certain arguments of the function applied by the factory-made function.
Examples
check_args_disabled(c("disabled1", "disabled2"))