Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

zzbsdup

Escape backslashes and percent in Rd code


Description

Escape backslashes and percent in Rd code.

Usage

.bspercent(x)

.anypercent(x)

Arguments

x

a character string

Details

.bsdup(x) duplicates backslashes.

.bspercent(x) escapes percent signs.

.anypercent(x) also escapes percent signs but but only if the Rd_tag attribute of x is not COMMENT.

Author(s)

Georgi N. Boshnakov

Examples

##---- Should be DIRECTLY executable !! ----

Rdpack

Update and Manipulate Rd Documentation Objects

v2.1.1
GPL (>= 2)
Authors
Georgi N. Boshnakov [aut, cre], Duncan Murdoch [ctb]
Initial release
2021-02-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.