spec_check | R Documentation |
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)
introduced_version |
string with the version of the spec
(e.g. |
feature |
free-form text describing the feature |
exception_type |
what type of exception to throw if the check is not passed |
No return value. Called to get specific error messages when required.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.