Learn R Programming

pepr (version 0.5.0)

listAmendments: List amendments

Description

Lists available amendments within a "Project" object.

Usage

listAmendments(.Object)

# S4 method for Project listAmendments(.Object)

Value

names of the available amendments

Arguments

.Object

an object of "Project"

Methods (by class)

  • listAmendments(Project): list amendments in a "Project" object

Details

The amendments can be activated by passing their names to the activateAmendments method

Examples

Run this code
projectConfig = system.file("extdata",
"example_peps-master",
"example_amendments1",
"project_config.yaml",
package = "pepr")
p = Project(file = projectConfig)
availAmendemtns = listAmendments(p)

Run the code above in your browser using DataLab