back_quote: Back Quote Object

View source: R/utils.R

back_quoteR Documentation

Back Quote Object

Description

Convert an R object to character and add back quotations.

Usage

back_quote(x, recursive = TRUE, as_double = TRUE)

Arguments

x

An R object.

recursive

Optional. TRUE or FALSE which indicates if to back quote each item of x or to back quote x as a whole, when x is a vector. The default value is TRUE.

as_double

Optional. TRUE or FALSE which indicates if to differentiate between type double and integer. The default value is TRUE, which means integers are handled as doubles.

Value

A character vector.

Examples

back_quote(1:3)

back_quote(1:3, recursive = FALSE)

back_quote(1:3, as_double = FALSE)

back_quote(NULL)

back_quote(list(c, 1:3, "a"))

erify documentation built on Oct. 4, 2022, 5:07 p.m.