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.

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

x <- "'abcd'" # Remove the literal quotes around x. drake_unquote(x) # "abcd"
#> [1] "abcd"