Looks in the remote repo for a module named name.

checkModule(name, repo, token, verbose)

# S4 method for class 'character,character'
checkModule(name, repo, token, verbose = getOption("reproducible.verbose"))

# S4 method for class 'character,missing'
checkModule(name, token, verbose = getOption("reproducible.verbose"))

Arguments

name

Character string giving the module name.

repo

GitHub repository name. Default is "PredictiveEcology/SpaDES-modules", which is specified by the global option spades.moduleRepo.

token

A github repository token as from gitcreds::gitcreds_get()

verbose

Logical or Numeric, follows reproducible.verbose value by default.

Value

a character vector of module file paths (invisibly).

Author

Eliot McIntire and Alex Chubaty