Delete an asset attached to a release
pb_delete(
file = NULL,
repo = guess_repo(),
tag = "latest",
.token = get_token()
)
file(s) to be deleted from the release. If NULL
(default
when argument is omitted), function will delete all attachments to the release.
delete
Repository name in format "owner/repo". Will guess the current repo if not specified.
tag for the GitHub release to which this data should be attached.
GitHub authentication token, see [gh::gh_token()]
TRUE
(invisibly) if a file is found and deleted.
Otherwise, returns NULL
(invisibly) if no file matching the name was found.