rrq_task_exists: Test if tasks exist

View source: R/rrq_task.R

rrq_task_existsR Documentation

Test if tasks exist

Description

Test if task ids exist (i.e., are known to this controller). Nonexistant tasks may be deleted, known to a different controller or just never have existed.

Usage

rrq_task_exists(task_ids, named = FALSE, controller = NULL)

Arguments

task_ids

Vector of task ids to check

named

Logical, indicating if the return value should be named with the task ids; as these are quite long this can make the value a little awkward to work with.

controller

The controller to use. If not given (or NULL) we'll use the controller registered with rrq_default_controller_set().

Value

A logical vector the same length as task_ids; TRUE where the task exists, FALSE otherwise.


mrc-ide/rrq documentation built on April 25, 2024, 11:59 p.m.