Remove a project from the registry.

removeProject(project, staging, url)

Arguments

project

String containing the project to remove.

staging

String containing the path to the staging directory.

url

String containing the URL of the gobbler REST API.

Value

NULL is invisibly returned if the project was successfully removed.

See also

removeAsset and removeVersion, to remove assets and versions respectively.

createProject, to create a project.

Author

Aaron Lun

Examples

info <- startGobbler()
removeProject("test", info$staging, url=info$url) # start with a clean slate.

# Mocking up a project so we have something to delete.
createProject("test", info$staging, url=info$url)
listProjects(registry=info$registry)
#> [1] "even-more-test" "more-test"      "test"          

# Removing the project.
removeProject("test", staging=info$staging, url=info$url)
listProjects(registry=info$registry)
#> [1] "even-more-test" "more-test"