spec_check
will throw an error if a feature is being used that is
not supported yet. feature_check
will throw an error if a feature
is not being used, even though it is required by the spec version being used.
spec_check(
introduced_version,
feature,
exception_type = c("stop", "warning", "message")
)
feature_check(introduced_version, feature)
string with the version of the spec
(e.g. "0.0.5"
)
free-form text describing the feature
what type of exception to throw if the check is not passed
No return value. Called to get specific error messages when required.