glue (version 1.2.0)

quoting: Quoting operators

Description

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

Usage

single_quote(x)

double_quote(x)

backtick(x)

Arguments

x

A character to quote.

Examples

Run this code
# NOT RUN {
x <- 1:5
glue('Values of x: {collapse(backtick(x), sep = ", ", last = " and ")}')
# }

Run the code above in your browser using DataCamp Workspace