if (FALSE) {
# Not run:
# Reset only failed tasks
task_reset("simulation_study", status = "failed")
# Reset working tasks (e.g., after project_stop)
task_reset("simulation_study", status = "working")
# Reset all tasks to start over
task_reset("simulation_study", status = "all")
# Check status after reset
task_status("simulation_study")
}
Run the code above in your browser using DataLab