GNVersion | R Documentation |
This class is an utility wrap the Geonetwork version
R6Class
object.
GeoNetwork REST API - GeoNetwork Version
Object of R6Class
for modelling a GeoNetwork version
version
version
value
value
new()
Initializes an object of class GNVersion
GNVersion$new(version)
version
version
lowerThan()
Compares to a version and returns TRUE if it is lower, FALSE otherwise
GNVersion$lowerThan(version)
version
version
TRUE
if lower, FALSE
otherwise
greaterThan()
Compares to a version and returns TRUE if it is greater, FALSE otherwise
GNVersion$greaterThan(version)
version
version
TRUE
if lower, FALSE
otherwise
equalTo()
Compares to a version and returns TRUE if it is equal, FALSE otherwise
GNVersion$equalTo(version)
version
version
TRUE
if lower, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
GNVersion$clone(deep = FALSE)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
## Not run:
version <- GNVersion$new("2.6.4")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.