Skip to contents

Encapsulate a string in backticks. Very helpful for in line code in spin scripts.

Usage

backtick(x, dequote = FALSE)

Arguments

x

the thing to be deparsed and encapsulated in backticks

dequote

remove the first and last double or signal quote form x

Examples

backtick("a quoted string")
#> [1] "`\"a quoted string\"`"
backtick(no-quote)
#> [1] "`no - quote`"
backtick(noquote)
#> [1] "`noquote`"