check_functions_in_file {cleanr} | R Documentation |
Check All Functions Defined in a File
Description
Run check_function_layout
on all functions defined in a file.
Usage
check_functions_in_file(path, ...)
Arguments
path |
Path to the file to be checked. |
... |
Arguments to be passed to |
Details
The functions catches the messages of "cleanr"-conditions
throw
n by check_function_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_file()
,
check_function_layout()
,
check_package()
Examples
print(cleanr::check_functions_in_file(system.file("source", "R", "utils.R",
package = "cleanr")))
[Package cleanr version 1.4.0 Index]