Get PROOF API job status - is job running, what's its URL...
Arguments
- wait
(logical) if
TRUEwait for the server to be ready to interact with. ifFALSEreturn immediately, then you'll want to call this function again until you get the server URL- token
(character) token for bearer authentication with the PROOF API. default is
NULL. we do not recommend passing your token here as a string. Either pass it usingSys.getenv()or save your token as an env var and then passing nothing to this param and we'll find it
Value
A list with fields:
canJobStart(logical): can a job to make a Cromwell server be started?FALSEif server already running;TRUEif server not runningjobStatus(character): status of the job that controls the Cromwell server. e.g., "RUNNING".NULLif server not runningcromwellUrl(character): the URL for the Cromwell server.NULLif server not runningjobInfo(list): metadata on the Cromwell server. All slotsNULLif server not running
Timeout
If the PROOF API is unavailable, this function will timeout after
20 seconds. Contact the package maintainer if you get a timeout error.
See proof_timeout().