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: /private/var/folders/3f/0wj7rs2144l9zsgxd3jn5nxc0000gn/T/RtmpEYsaEm/temp_libpath43b174cbd72/pepr/extdata/example_peps-master/example_amendments1/project_config.yaml
#> amendments: newLib,newLib2
availAmendemtns = listAmendments(p)
#> amendments: newLib,newLib2