# https://github.com/r-lib/pkgdown/issues/2704

Skip to contents

Add a quote around characters.

Usage

chr_quoted(chr, type = "`")

Arguments

chr

A character vector to add quotes in each element. (e.g. c("a", "b", "c")).

type

Character to be used as a quote. Default: '`'

Value

A character vector with quotes added in each element. (e.g. c("`a`", "`b`", "`c`")).

Details

DETAILS

Examples

chr_quoted(c("a","b", "c"))
#> [1] "`a`" "`b`" "`c`"