sanitizestr: Sanitizes strings to not break LaTeX

View source: R/helper.R

sanitizestrR Documentation

Sanitizes strings to not break LaTeX

Description

Strings with special characters will break LaTeX if returned 'asis' by knitr. This happens every time we use one of the main reportRmd functions. We first sanitize our strings with this function to stop LaTeX from breaking.

Usage

sanitizestr(str)

Arguments

str

a vector of strings to sanitize


reportRmd documentation built on April 4, 2025, 2:03 a.m.