| check_file_layout | 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 thrown
by file_checks and, if it caught any, throws
them.
Invisibly TRUE,
but see Details.
Other wrappers:
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")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.