R/functions.R
f.Rd
To easily paste and collapse chars objects into one string. A wrapper for glue::glue.
f(
...,
.sep = "",
.envir = parent.frame(),
.open = "{",
.close = "}",
.na = "NA",
.null = character(),
.comment = "#",
.literal = FALSE,
.transformer = identity_transformer,
.trim = TRUE
)
x <- 9+12
y <- "Lorem ipsum"
f('Number is: {x}, and the text is: "{y}"')
#> Number is: 21, and the text is: "Lorem ipsum"