checkIds {BatchJobs}R Documentation

Check job ids.

Description

Simply checks if probided vector of job ids is valid and throws an error if something is odd.

Usage

checkIds(reg, ids, check.present = TRUE, len = NULL)

Arguments

reg

[Registry]
Registry.

ids

[integer]
Vector of job ids.

check.present

[logical(1)]
Check if the ids are present in the database? Default is TRUE.

len

[integer(1)]
Expected length of id vector. Passed to asInteger.

Value

Invisibly returns the vector of ids, converted to integer.


[Package BatchJobs version 1.9 Index]