drake (version 6.2.1)

drake_unquote: Remove leading and trailing escaped quotes from character strings.

Description

Quotes are important in drake. In workflow plan data frame commands, single-quoted targets denote physical files, and double-quoted strings are treated as ordinary string literals.

Usage

drake_unquote(x = NULL, deep = FALSE)

Arguments

x

character vector

deep

deprecated logical.

Value

Character vector without leading or trailing escaped quotes around the elements.

See Also

drake_quotes(), drake_strings()

Examples

Run this code
# NOT RUN {
x <- "'abcd'"
# Remove the literal quotes around x.
drake_unquote(x) # "abcd"
# }

Run the code above in your browser using DataCamp Workspace