tidy_findings: tidy findings

View source: R/internals.R

tidy_findingsR Documentation

tidy findings

Description

remove TRUE converted to class character from findings.

Usage

tidy_findings(findings)

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.

Value

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


cleanr documentation built on July 9, 2023, 7:30 p.m.