Deactivates a project and cancels all running SLURM jobs associated with it. Workers will terminate after completing their current task.
Details
This function:
Sets the project status to FALSE, preventing workers from taking new tasks
Cancels all SLURM jobs associated with this project using
scancelResets the job list for all project resources
Active workers will complete their current task before shutting down. Tasks
in working status when the project stops should be reset to idle
using project_reset or task_reset.
Examples
if (FALSE) { # \dontrun{
# Not run:
# Stop project and cancel all jobs
project_stop("simulation_study")
# Reset tasks that were in progress
task_reset("simulation_study", status = "working")
} # }