quoting: Quoting operators

Description Usage Arguments Examples

Description

These functions make it easy to quote each individual element and are useful in conjunction with glue_collapse().

Usage

1
2
3
4
5

Arguments

x

A character to quote.

Examples

1
2
x <- 1:5
glue('Values of x: {glue_collapse(backtick(x), sep = ", ", last = " and ")}')

Example output

Values of x: `1`, `2`, `3`, `4` and `5`

glue documentation built on Aug. 28, 2020, 1:07 a.m.