check_args(ignore, select)
Checks all the arguments in the parent function and makes sure that none of them are NULL
myfunc <- function(verbose = get_opts("verbose"), b = get_opts("b")){ check_args() } set_opts(verbose = 1) ## this will throw an error, suggesting b is not defined properly try(myfunc())Checking arguments for function: myfunc value of following variables is null: 'b