Modified from http://stackoverflow.com/a/25485782/1380598.
getModuleVersion(name, repo)# S4 method for character,character
getModuleVersion(name, repo)
# S4 method for character,missing
getModuleVersion(name)
Character string giving the module name.
GitHub repository name.
Default is "PredictiveEcology/SpaDES-modules"
, which is
specified by the global option spades.moduleRepo
.