tag: Insert tag or extension and coerce to character

Description Usage Arguments Value Examples

Description

This fucntion inserts a tag or extension into a file name and returns a charcter vector.

Usage

1
tag(x, ...)

Arguments

x

a filename or character

...

arguments passed to insert

Value

a character vector

Examples

1
2
3
4
5
6
x <- "data.txt"
y <- tag(x, "qc")
print(y)
f <- as.filename(x)
g <- tag(f, "qc")
print(g)

filenamer documentation built on May 1, 2019, 9:10 p.m.