cmtk.version: Return cmtk version or test for presence of at least a...

View source: R/cmtk.R

cmtk.versionR Documentation

Return cmtk version or test for presence of at least a specific version

Description

Return cmtk version or test for presence of at least a specific version

Usage

cmtk.version(minimum = NULL)

Arguments

minimum

If specified checks that the cmtk version

Details

NB this function has the side effect of setting an option nat.cmtk.version the first time that it is run in the current R session.

Value

returns numeric_version representation of CMTK version or if minimum is not NULL, returns a logical indicating whether the installed version exceeds the current version. If CMTK is not installed returns NA.

See Also

cmtk.bindir, cmtk.dof2mat

Examples

## Not run: 
cmtk.version()
cmtk.version('3.2.2')

## End(Not run)

nat documentation built on May 29, 2024, 10:36 a.m.