View source: R/registerExtensions.R
| registerExtension | R Documentation |
Prepends one extension to the front of the active extension chain, giving it
the highest dispatch priority. Designed to be called from a package's
.onLoad hook so that the chain grows naturally in load order: the last
package loaded ends up outermost.
registerExtension(name, requirement = NA_character_, install = FALSE)
name |
A syntactically valid R name identifying the extension (e.g.
|
requirement |
A version string, installation specification, or
|
install |
Logical. If |
The call is idempotent: if the extension is already registered at any
position in the chain, the function returns silently without modifying the
chain. This makes it safe to call from devtools::load_all(), which
re-executes .onLoad.
The updated extension chain, invisibly.
registerExtensions() for registering an explicit full chain.
The guide to using mizer extension packages.
"Creating a mizer extension package":
Creating a mizer extension package
Other extension tools:
NOther(),
clearExtensionChain(),
coerceToExtensionClass(),
getRegisteredExtensions(),
initialNOther<-(),
recordExtension(),
registerExtensions(),
setComponent(),
setRateFunction()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.