SpaDES (version 1.1.4)

openModules: Open all modules nested within a base directory

Description

This is just a convenience wrapper for opening several modules at once, recursively. A module is defined as any file that ends in .R or .r and has a directory name identical to its filename. Thus, this must be case sensitive.

Usage

openModules(name, path)

## S3 method for class 'character,character': openModules(name, path)

## S3 method for class 'missing,missing': openModules()

## S3 method for class 'missing,character': openModules(path)

## S3 method for class 'character,missing': openModules(name)

Arguments

name
Character vector with names of modules to open. If missing, then all modules will be opened within the basedir.
path
Character string of length 1. The base directory within which there are only module subdirectories.

Value

  • Nothing is returned. All file are open via file.edit.

Examples

Run this code
openModules("~\SpaDESModules")

Run the code above in your browser using DataLab