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

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

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

Examples

# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_dQuote <- getFromNamespace("dQuote", "backports")
bp_dQuote("foo")
#> [1] "“foo”"
bp_dQuote("foo", q = TRUE)
#> [1] "“foo”"