repo_untag: Remove tags from an item.

Description Usage Arguments Value See Also Examples

View source: R/repo_public.R

Description

Remove tags from an item.

Usage

1
repo_untag(name = NULL, rmtags, tags = NULL)

Arguments

name

An item name.

rmtags

A list of tags that will be removed from the item's tag list.

tags

A list of tags: rmtags will be removed from all items matching the list.

Value

Used for side effects.

See Also

repo_tag, repo_set

Examples

1
2
3
4
5
6
7
8
9
rp_path <- file.path(tempdir(), "example_repo")
rp <- repo_open(rp_path, TRUE)
rp$put(1, "item1", "Sample item 1", c("tag1", "tag2"))
rp$print(show="t")
rp$untag("item1", "tag2")
rp$print(show="t")

## wiping temporary repo
unlink(rp_path, TRUE)

franapoli/repo documentation built on May 17, 2021, 7:24 p.m.