View source: R/detect_similar_code.R
detect_similar_code | R Documentation |
This is a wrapper around dupree::dupree()
. It analyses provided files looking for
similar code. It is a bit slow so it can be impractical on big projects to run
it with default (all files contained in working directory recursively), in
this case it is wiser to run it on one or more specific paths
or/and
or to filter the files using the pattern
argument.
detect_similar_code(paths = ".", recursive = TRUE, pattern = NULL)
paths |
Paths to scripts or folders containing scripts |
recursive |
Whether folders should be explorer recursively |
pattern |
A regular expression used to filter files |
The paths
argument invisibly. Called for side effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.