
Run a Task Sequentially as an RStudio Job
Source:R/r6_SurveillanceSystem.R
run_task_sequentially_as_rstudio_job_using_load_all.RdExecutes 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
Use this function mainly 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.