Skip to contents

Find out status of a job or wait for its completion.

Usage

clue_query_poll(clue_query, api_key = NULL)

clue_query_status(clue_query, api_key = NULL, from_poll = FALSE)

clue_query_wait(
  clue_query,
  interval = 60,
  timeout = 3600,
  quiet = FALSE,
  api_key = NULL
)

Arguments

clue_query

Job ID or job parameters returned by clue_query_submit

api_key

Clue API key. Leave empty if it is saved in ~/.Renviron

from_poll

If TRUE, clue_query is assumed to be output from clue_query_poll() output. Otherwise it is assumed to be job ID.

interval

Check every x seconds.

timeout

Abort waiting after x seconds.

quiet

Don't output periodic status updates.

Value

List of status codes from Clue.

Functions

  • clue_query_status: Get job status

  • clue_query_wait: Wait for query completion