checking that arguments and columns are in the correct class
flux_fun_check.Rdchecking that arguments and columns are in the correct class
Arguments
- args
list of arguments or dataframe to check
- fn
list of functions used to check (
is.numeric,is.character, ...)- msg
list of messages to return in case of failed check
- origdf
in case args is a df with selected columns to check origdf is the orginal df to take the name from for a more obvious error message