R/strings.R
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)
x | character vector |
---|---|
deep | deprecated logical. |
character vector without leading or trailing escaped quotes around the elements
drake_quotes()
, drake_strings()
x <- "'abcd'" # Remove the literal quotes around x. drake_unquote(x) # "abcd"#> [1] "abcd"