A thin wrapper around tmuxRunWorkerLoop that optionally redirects
console output to a log file before entering the job loop. Used internally
by experimentFuture for remote (cluster) workers. Local
workers use callr::r_bg() and do not need this wrapper.
Path to the local RDS queue file.
Path to the R script sourced for each job.
"requeue" or "fail".
Google Sheets ID for the shared queue (or NULL for
file-based queue).
Gargle OAuth e-mail.
Gargle OAuth cache directory.
Quoted expression for deriving a run name.
Directory for Running_*.rds marker files.
Path to an RDS file whose contents are loaded into
.GlobalEnv before sourcing global_path.
Path to a sentinel file. When this file is created (e.g.
by killExperimentFuture), the worker exits cleanly after its
current job finishes.
Path to the log file for this worker. If NULL,
output goes to the current connection.
Invisibly returns the worker identifier string.