Learn R Programming

cleanr (version 1.4.0)

tidy_findings: tidy findings

Description

remove TRUE converted to class character from findings.

Usage

tidy_findings(findings)

Value

a character vector without any element reading "TRUE" or NULL.

Arguments

findings

a character vector with possibly some elements reading "TRUE" or a vector of TRUES.

Details

check_directory, check_file, check_functions_in_file and check_function_layout all collect tryCatch to collect either TRUE for a check passed or a character holding a conditions message. This function deletes the TRUES.