activateAmendments: Activate amendments in objects of '"Project"'

Description Usage Arguments Details Methods (by class) Examples

Description

This method switches between the amendments within the "Project" object

Usage

1
2
3
4
activateAmendments(.Object, amendments)

## S4 method for signature 'Project,character'
activateAmendments(.Object, amendments)

Arguments

.Object

an object of class "Project"

amendments

character with the amendment name

Details

To check what are the amendments names call listAmendments(p), where p is the object of "Project" class

Methods (by class)

Examples

1
2
3
4
5
6
7
8
projectConfig = system.file("extdata",
"example_peps-master",
"example_amendments1",
"project_config.yaml",
package = "pepr")
p = Project(file = projectConfig)
availAmendments = listAmendments(p)
activateAmendments(p,availAmendments[1])

pepr documentation built on Jan. 13, 2021, 3:50 p.m.