object: Can be either the path (default is ".") to a repository, or a git_repository object, or a git_tag object. or the tag name.
name: If the object argument is a path to a repository or a git_repository, the name of the tag to delete.
Returns
invisible(NULL)
Examples
## Not run:## Initialize a temporary repositorypath <- tempfile(pattern="git2r-")dir.create(path)repo <- init(path)## Create a userconfig(repo, user.name ="Alice", user.email ="alice@example.org")## Commit a text filewriteLines("Hello world!", file.path(path,"example.txt"))add(repo,"example.txt")commit(repo,"First commit message")## Create two tagstag(repo,"Tag1","Tag message 1")t2 <- tag(repo,"Tag2","Tag message 2")## List the two tags in the repositorytags(repo)## Delete the two tags in the repositorytag_delete(repo,"Tag1")tag_delete(t2)## Show the empty list with tags in the repositorytags(repo)## End(Not run)