Project" — activateAmendments" />
This method switches between the amendments
within the "Project"
object
activateAmendments(.Object, amendments) # S4 method for Project,character activateAmendments(.Object, amendments)
.Object | an object of class |
---|---|
amendments | character with the amendment name |
To check what are the amendments names
call listAmendments(p)
, where p
is the object
of "Project"
class
.Object = Project,amendments = character
: activate amendments in a "Project"
object
projectConfig = system.file("extdata", "example_peps-master", "example_amendments1", "project_config.yaml", package = "pepr") p = Project(file = projectConfig)#>#>#>activateAmendments(p,availAmendments[1])#>#> PEP project object. Class: Project #> file: #> /private/var/folders/3f/0wj7rs2144l9zsgxd3jn5nxc0000gn/T/RtmpEYsaEm/temp_libpath43b174cbd72/pepr/extdata/example_peps-master/example_amendments1/project_config.yaml #> samples: 4 #> amendments: newLib,newLib2