Remove a project from the registry.
removeProject(project, staging, url)
NULL
is invisibly returned if the project was successfully removed.
removeAsset
and removeVersion
, to remove assets and versions respectively.
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"