Learn R Programming

mizer (version 3.4.0)

recordExtension: Record an extension and its version stamp on a mizer object

Description

Writes an entry for name into the object's extension metadata, converting it to the versioned list form. Existing entries (and their version stamps) are preserved, keeping their position in the chain. A genuinely new entry is prepended to the front of the list.

Usage

recordExtension(params, name, version = NULL, requirement = NULL)

Value

The params object with updated extension metadata.

Arguments

params

A MizerParams object.

name

The extension identifier (package/class name).

version

Optional version string to stamp. If NULL (default) the existing stamp is preserved.

requirement

Optional requirement string (e.g. "sizespectrum/mizerMR" or "1.0.0").

Details

This is infrastructure for extension package authors. An extension constructor normally calls recordExtension() and then coerceToExtensionClass(). Ordinary model users do not need either call.

See Also

"Creating a mizer extension package": Creating a mizer extension package

Other extension tools: NOther(), coerceToExtensionClass(), initialNOther<-(), other_mort(), setComponent(), setRateFunction()