check_module_version: Check if a module has a particular version

Description Usage Arguments Value Examples

View source: R/module-utils.R

Description

Check if a module has a particular version

Usage

1
check_module_version(name, repo = dymiumModulesRepo, version)

Arguments

name

(character(1))
A module name.

repo

(character(1)
A GitHub repository to look for modules. By default, this uses 'dymium-org/dymiumModules' which is the main repository that hosts the package and a public repository for shared modules.

version

(character(1)
Version number of a module. This should follow the following convention, if you want to download the version 1.1.0 of a module then you should type in "1.1.0". If this field is left blank, the latest version of the module will be used.

Value

a logical value

Examples

1
2
3
4
## Not run: 
  check_module_version('test', version = '0.0.1')

## End(Not run)

dymium-org/dymiumModules documentation built on May 23, 2020, 10:30 a.m.