View source: R/function-factory-helpers.R
check_args_disabled | R Documentation |
If the user of the function factory specified its .args_disabled
argument,
check_args_disabled()
enforces this ban.
check_args_disabled(args_disabled)
args_disabled |
String. One or more names of arguments of the function applied within the factory-made function. |
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.
No return value; might throw an error.
check_args_disabled(c("disabled1", "disabled2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.