
Run a Task Sequentially as an RStudio Job
Source:R/r6_SurveillanceSystem.R
run_task_sequentially_as_rstudio_job_using_load_all.Rd
Executes a surveillance task as an RStudio job using devtools::load_all() for package development. This function creates a temporary R script that loads the package and runs the specified task sequentially (cores = 1).
Value
No return value. This function is called for its side effect of launching an RStudio job that executes the surveillance task.
Details
This function is primarily used during package development to test tasks interactively. It creates a temporary R script that:
Loads the package using
devtools::load_all()
Sets the task to run with single core (cores = 1)
Executes the task via the surveillance system