WaitForAutopilot: This function periodically checks whether Autopilot is...

View source: R/WaitForAutopilot.R

WaitForAutopilotR Documentation

This function periodically checks whether Autopilot is finished and returns only after it is.

Description

This function periodically checks whether Autopilot is finished and returns only after it is.

Usage

WaitForAutopilot(project, checkInterval = 20, timeout = NULL, verbosity = 1)

Arguments

project

character. The project for which you want to wait until autopilot is finished.

checkInterval

numeric. Optional. Maximum wait (in seconds) between checks that Autopilot is finished. Defaults to 20.

timeout

numeric. Optional. Time (in seconds) after which to give up (Default is no timeout). There is an error if Autopilot is not finished before timing out.

verbosity

numeric. Optional. 0 is silent, 1 or more displays information about progress. Default is 1.

Examples

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  WaitForAutopilot(projectId)

## End(Not run)

datarobot documentation built on May 29, 2024, 4:36 a.m.