Remove a project from the registry.
This should only be performed by Gobbler instance administrators,
who should consider running rerouteLinks
beforehand to avoid dangling references to this version.
removeProject(project, staging, url)
NULL
is invisibly returned if the project was successfully removed.
removeAsset
and removeVersion
, to remove assets and versions respectively.
rerouteLinks
, to reroute links to this project's contents prior to deletion.
createProject
, to create a project.
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"