View source: R/registerExtensions.R
| assertExtensionChain | R Documentation |
Stops with an informative error if the object's extension chain is not a
suffix of the session's registered maximal chain, or (when check_class is
TRUE) if the object does not inherit from the expected S4 marker class.
assertExtensionChain(
object,
extensions = objectExtensions(object),
check_class = TRUE
)
object |
A |
extensions |
Named character vector giving the object's extension chain.
Defaults to |
check_class |
Logical. If |
Invisibly TRUE. Called for its side-effect of stopping on
incompatibility.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.