Learn R Programming

taskqueue (version 0.2.0)

project_delete: Delete a Project

Description

Permanently removes a project and all associated data from the database. This includes the project configuration, task table, and resource assignments.

Usage

project_delete(project, con = NULL)

Value

Invisibly returns NULL. Called for side effects (deleting project).

Arguments

project

Character string specifying the project name.

con

An optional database connection. If NULL, a new connection is created and closed automatically.

Details

This function removes:

  • The project's task table (task_<project>) and all tasks

  • All project-resource associations

  • The project entry from the project table

Warning: This is a destructive operation that cannot be undone. All task data and history for this project will be permanently lost.

Log files on resources are NOT automatically deleted. Remove them manually if needed.

See Also

project_add, project_reset, db_clean

Examples

Run this code
if (FALSE) {
# Not run:
# Delete a completed project
project_delete("old_simulation")

# Verify deletion
project_list()
}

Run the code above in your browser using DataLab