spec_version: Spec Version

View source: R/specs.R

spec_versionR Documentation

Spec Version

Description

Return the specification version being assumed by the package. Equivalent to parse_version(getOption('MP_flex_spec_version')).

Usage

spec_version()

spec_ver_eq(version)

spec_ver_gt(version)

spec_ver_lt(version)

spec_ver_btwn(version_left, version_right)

Arguments

version

string with the version of the spec (e.g. "0.0.5")

version_left

string with the exclusive lower bound of the spec version

version_right

string with the exclusive upper bound of the spec version

Details

Specification Document: https://canmod.net/misc/flex_specs.

spec_ver_eq, spec_ver_gt, spec_ver_lt, and spec_ver_btwn return logical values indicating whether or not the spec_version is equal to, greater than, less than or between a user-specified version.

Value

svlist object with the specification version.


bbolker/McMasterPandemic documentation built on Aug. 25, 2024, 6:35 p.m.