Rd_txt_RUnit: Clean a String Created From a Run Through 'RUnit'

View source: R/utils.R

Rd_txt_RUnitR Documentation

Clean a String Created From a Run Through RUnit

Description

Why am I doing this? It want to run RUnit tests from within R CMD check check and interactively. Files produced are compared with expected files. Now R CMD check and interactive (and batch) runs of RUnit give different encodings. I don't know why, but they do. And this is a rather lousy fix. See the code for details.

Usage

Rd_txt_RUnit(txt)

Arguments

txt

A character vector.

Value

The sanitized character vector.


document documentation built on Aug. 19, 2022, 5:23 p.m.