Learn R Programming

SpaDES.core (version 3.0.4)

checkModule: Check for the existence of a remote module

Description

Looks in the remote repo for a module named name.

Usage

checkModule(name, repo, token, verbose)

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

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

Value

a character vector of module file paths (invisibly).

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.

Author

Eliot McIntire and Alex Chubaty