Given a character vector, checks if all names are present in names(data).
Throws error if stops=TRUE, else returns FALSE if some variable name is not present.
all_names_present(data, var.names, stops = TRUE, msg = NULL)`TRUE` if all `var.names` are in `data`, else `FALSE`,
dataset where the variable names should be found
a character vector of variable names, e.g.
c("var1", "var2")
logical, stop returns exception
Custom message to return instead of default message.
Special: include %%VARS%% in message string and the missing
variable names will be inserted there (quoted, separated by comma, e.g.
'var1', 'var2' --- no leading or tracing white space).
Joonas Miettinen
robust_values