Check whether specified special functions have been used.
Source:R/checkers.R
check_for_special_functions.RdA generic function to check whether specific special functions have been used
special functions include if, for, while, repeat, break, next, return, function, quote, switch, {, (.
Check here for the updated list of special function names.
Examples
example_script("generic_script") |>
check_for_special_functions(func_vector = "for")
#> [1] 0