Learn R Programming

sybil (version 2.2.0)

checkVersion-methods: checks Version of modelorg

Description

Checks the Version of the modelorg.

Usage

# S4 method for modelorg
checkVersion(object)

Arguments

object

An object of class '>modelorg or of class '>summaryOptsol.

Value

Returns TRUE if the version is correct. Otherwise returns a character stating the reason.

Methods

signature(object = "modelorg")

method to use with objects of class '>modelorg.

Details

This method checks whether this instance of a modelorg-Class is of the currently used version. All methods of sybil create the correct version of modelorg, but if objects saved to disk may be of an older version. Current version can be obtained by SYBIL_SETTINGS("VERSION").

See Also

Class '>modelorg, method upgradeModelorg and SYBIL_SETTINGS