Validate a definition of derived quantities evaluated in R.

validate_derived_quantities(x)