R/module-repository.R
getModuleVersion.Rd
Modified from https://stackoverflow.com/a/25485782/1380598.
getModuleVersion(name, repo)
# S4 method for class 'character,character'
getModuleVersion(name, repo)
# S4 method for class 'character,missing'
getModuleVersion(name)
numeric_version
getModuleVersion
extracts a module's most recent version by
looking at the module .zip
files contained in the module directory.
It takes the most recent version, based on the name of the zip file.
See the modules vignette for details of module directory structure (https://spades-core.predictiveecology.org/articles/ii-modules.html#module-directory-structure-modulename), and see our SpaDES-modules repo for details of module repository structure (https://github.com/PredictiveEcology/SpaDES-modules).
zipModule()
for creating module .zip
folders.