check_file {cleanr} | R Documentation |
Run check_functions_in_file
and
check_file_layout
on a file.
check_file(path, ...)
path |
Path to the file to be checked. |
... |
Arguments to be passed to |
The function catches the messages of "cleanr"-conditions throw
n
by check_functions_in_file
and check_file_layout
and, if it
caught any, throw
s them.
invisible(TRUE), but see Details.
print(cleanr::check_file(system.file("source", "R", "utils.R", package = "cleanr")))