Values for the checks argument of System(): CheckNone disables input
validation, CheckAll enables all of it (as TRUE), and
CheckComponents and CheckUnits enable the structural checks and the
unit checks alone. Combine flags with bitwOr().
Examples
t <- t_nounits; D <- D_nounits
x <- Variable("x", t, unit = "m")
v <- Parameter("v", unit = "s")
try(System(list(D(x) ~ v), t, name = "bad"))
#> Warning: in eq. #1: units [m] for left and [s] for right do not match.
#> Error : Some equations had invalid units. See warnings for details.
sys <- System(list(D(x) ~ v), t, name = "unchecked", checks = CheckComponents)