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
remove all outer quotes if TRUE
and only the outermost set otherwise. Single and double
quotes are treated interchangeably, and matching is not checked.
Value
character vector without leading
or trailing escaped quotes around
the elements