checkIds: Check job ids.

View source: R/checkIds.R

checkIdsR 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.


BatchJobs documentation built on March 21, 2022, 5:05 p.m.