Lists available amendments within a "Project" object.

listAmendments(.Object)

# S4 method for Project
listAmendments(.Object)

Arguments

.Object

an object of "Project"

Value

names of the available amendments

Details

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

Methods (by class)

  • Project: list amendments in a "Project" object

Examples

projectConfig = system.file("extdata", "example_peps-master", "example_amendments1", "project_config.yaml", package = "pepr") p = Project(file = projectConfig)
#> Loading config file: /Users/runner/work/_temp/Library/pepr/extdata/example_peps-master/example_amendments1/project_config.yaml
#> amendments: newLib,newLib2
availAmendemtns = listAmendments(p)
#> amendments: newLib,newLib2