dupree_dir {dupree} | R Documentation |
Run duplicate-code detection over all R-files in a directory
Description
Run duplicate-code detection over all R-files in a directory
Usage
dupree_dir(
path = ".",
min_block_size = 40,
filter = NULL,
...,
recursive = TRUE
)
Arguments
path |
A directory (By default the current working directory). All files in this directory that have a ".R", ".r" or ".Rmd" extension will be checked for code duplication. |
min_block_size |
|
filter |
A pattern for use in grep - this is used to keep only particular files: eg, filter = "classes" would compare files with 'classes' in the filename |
... |
Further arguments for grep. For example, 'filter = "test", invert = TRUE' would disregard all files with 'test' in the file-path. |
recursive |
Should we consider files in subdirectories as well? |
See Also
dupree