newJob: create and enqueue a new job

Description Usage Arguments Details

Description

create and enqueue a new job

Usage

1
newJob(.type, .parentPath, ..., .parent = NULL, .enqueue = TRUE)

Arguments

.type

character scalar name of job type

.parentPath

the folder in which to create the new job's folder. If omitted, no folder is created for this job, and the job's $path item is set to NULL. If .parentPath is specified as NULL, then the new job's path is just its formatted id number. Otherwise, the job's path is .parentPath followed by "/" and the job's formatted ID.

...

additional named metadata for this job

.parent

.parent job, if any

.enqueue

logical scalar; should the job be added to the current queue? Default: TRUE, but non-server callers such as scripts should specify FALSE.

Details

A job is a Twig object from the Copse created by


jbrzusto/motus-R-package documentation built on May 18, 2019, 7:03 p.m.