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