There is an error if autopilot is currently running on or has already finished running on the provided featurelist and also if project's target was not selected (via SetTarget).
StartNewAutoPilot(project, featurelistId, mode = AutopilotMode$FullAuto)
character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier.
numeric. Specifies which feature list to use.
character. The desired autopilot mode. Currently only AutopilotMode$FullAuto is supported.
# NOT RUN {
projectId <- "59a5af20c80891534e3c2bde"
featureList <- CreateFeaturelist(projectId, "myFeaturelist", c("feature1", "feature2"))
featurelistId <- featureList$featurelistId
StartNewAutoPilot(projectId, featurelistId)
# }
Run the code above in your browser using DataLab