Asserts that the current Environment Modules version is above a
specified version. Raises an error if it is not.
Usage
check_version(
against = MIN_SUPPORTED_VERSION,
action = "for the function you just ran"
)
Arguments
- against
The version to check against. By default this is the minimum
version supported by this package.
- action
A character scalar describing the action that is being
attempted, in the infinitive conjugation (e.g. "to run X" or "for running
Y")
Value
An invisible value whose value may be changed in the future.