powered by
Run all file_checks on a file.
file_checks
check_file_layout( path, max_file_length = get_cleanr_options("max_file_length"), max_file_width = get_cleanr_options("max_file_width") )
Invisibly
TRUE, but see Details.
TRUE
Path to the file to be checked.
See check_file_length.
check_file_length
See check_file_width.
check_file_width
The function catches the messages of "cleanr"-conditions thrown by file_checks and, if it caught any, throws them.
throw
Other wrappers: check_directory(), check_file(), check_function_layout(), check_functions_in_file(), check_package()
check_directory()
check_file()
check_function_layout()
check_functions_in_file()
check_package()
print(cleanr::check_file_layout(system.file("source", "R", "checks.R", package = "cleanr")))
Run the code above in your browser using DataLab