dQuote: Backport of dQuote and sQuote for R < 3.6.0

Description Usage Examples

View source: R/dQuote.R

Description

Argument q has been backported. See the original description in base::dQuote() and base::sQuote().

Usage

1
2
3
dQuote(x, q = getOption("useFancyQuotes"))

sQuote(x, q = getOption("useFancyQuotes"))

Examples

1
2
3
4
5
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_dQuote <- getFromNamespace("dQuote", "backports")
bp_dQuote("foo")
bp_dQuote("foo", q = TRUE)

backports documentation built on Dec. 13, 2021, 5:08 p.m.