Deletes all tasks from a project's task table. This is a destructive operation that removes all task data and history.
Details
Uses SQL TRUNCATE to efficiently remove all rows from the task table. This is faster than DELETE but cannot be rolled back.
Warning: All task history, including completion status and runtime information, will be permanently lost.
This function is automatically called by task_add when
clean = TRUE.
Examples
if (FALSE) { # \dontrun{
# Not run:
# Remove all tasks
task_clean("simulation_study")
# Add new tasks
task_add("simulation_study", num = 200)
} # }