Skip to contents

This can e.g. be used to enable/disable functionality based on whether the current version supports his.

Usage

get_version()

Value

The current Environment Modules version as a base::numeric_version

object, or NULL if no version can be detected.

Examples

version = check_version()
version < numeric_version("5.0.0")
#> logical(0)