russHyde / dupree

{dupree} helps identify code blocks that have a high level of similarity in a set of R files
https://russhyde.github.io/dupree/
Other
37 stars 0 forks source link

dupree_package fails if path specified like "~/the/path" #87

Open russHyde opened 1 year ago

russHyde commented 1 year ago

This fails because there is an attempt to filter to keep only files in /the/fully/specified/path/R/ using regexes. But if package is specified like ~/specified/path, then it's files look like ~/specified/path/R/some-file.R and do not match the fully-specified path.