validateFormula.Rd
Check if the formula syntax is valid
validateFormula(formula)
A formula to check
A formula if valid, otherwise an error