In Longitudinal Analysis in R, in exercises with models that are S4 objects, check_arg("formula") does not flag incorrect formulas and the SCT passes with an incorrect entry.
Here is an example from Chapter 4. The following SCT does not highlight mistakes in the formula.
In Longitudinal Analysis in R, in exercises with models that are S4 objects,
check_arg("formula")
does not flag incorrect formulas and the SCT passes with an incorrect entry.Here is an example from Chapter 4. The following SCT does not highlight mistakes in the formula.
The following code needs to be included to flag incorrect formula entries:
cc: @sumedh10