is_version_sufficient: Is a Version Requirement Met?

is_version_sufficientR Documentation

Is a Version Requirement Met?

Description

Just a wrapper to compareVersion, I regularly forget how to use it.

Usage

is_version_sufficient(installed, required)

Arguments

installed

The version installed.

required

The version required.

Value

TRUE, if so, FALSE otherwise.

Examples

is_version_sufficient(installed = "1.0.0", required = "2.0.0")
is_version_sufficient(installed = "1.0.0", required = "1.0.0")

rasciidoc documentation built on Aug. 16, 2023, 1:09 a.m.