zzbsdup: Escape backslashes and percent in Rd code

.bsdupR Documentation

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 documentation built on Jan. 23, 2026, 9:07 a.m.