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 July 9, 2023, 5:22 p.m.