opal.version_compare: Compare

View source: R/opal.R

opal.version_compareR Documentation

Compare

Description

Compare Opal version with the provided one. Note that a request must have been done in order to have a non-null Opal version.

Usage

opal.version_compare(opal, version)

Arguments

opal

Opal object.

version

The semantic version string to be compared.

Value

>0 if Opal version is more recent, 0 if equals, <0 otherwise.

Examples

## Not run: 
o <- opal.login('administrator','password', url = 'https://opal-demo.obiba.org')
opal.version_compare(o, "2.6.0")
opal.logout(o)

## End(Not run)

opalr documentation built on Oct. 6, 2023, 5:08 p.m.