check_file {cleanr} | R Documentation |
Check a File
Description
Run check_functions_in_file
and
check_file_layout
on a file.
Usage
check_file(path, ...)
Arguments
path |
Path to the file to be checked. |
... |
Arguments to be passed to |
Details
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.
Value
Invisibly
TRUE
,
but see Details.
See Also
Other wrappers:
check_directory()
,
check_file_layout()
,
check_function_layout()
,
check_functions_in_file()
,
check_package()
Examples
print(cleanr::check_file(system.file("source", "R", "utils.R",
package = "cleanr")))
[Package cleanr version 1.4.0 Index]