checkModule: Check for the existence of a remote module

checkModuleR Documentation

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 signature 'character,character'
checkModule(name, repo, token, verbose = getOption("reproducible.verbose"))

## S4 method for signature '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(s)

Eliot McIntire and Alex Chubaty


SpaDES.core documentation built on Jan. 11, 2026, 9:06 a.m.