needs_upgrading: Determine whether a MizerParams or MizerSim object needs to...

View source: R/upgrade.R

needs_upgradingR Documentation

Determine whether a MizerParams or MizerSim object needs to be upgraded

Description

Looks at the mizer version that was used to last update the object and returns TRUE if changes since that version require an upgrade of the object. You would not usually have to call this function. Upgrades are initiated automatically by validParams and validSim when necessary.

Usage

needs_upgrading(object)

Arguments

object

A MizerParams or MizerSim object

Value

TRUE or FALSE


mizer documentation built on Oct. 17, 2024, 9:07 a.m.