rwrap: rwrap

rwrapR Documentation

rwrap

Description

Protecting Backticks for Illustrating In-line R Code

Usage

rwrap(x)

Arguments

x

a character string

Details

This function pastes back ticks around a string so those extra back ticks don't have to appear in the user's code in a report. This prevents Quarto from intervening.

Value

x surrounded by backtick r and backtick

Author(s)

Frank Harrell

Examples

rwrap('pi')

qreport documentation built on April 12, 2025, 1:10 a.m.