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
36 stars 0 forks source link

dupree on a *.R file with no R blocks #1

Closed russHyde closed 6 years ago

russHyde commented 6 years ago

Calling dupree on coxpresdbr/R/coxpresdbr_parse.R throws an error.

The only content in coxpresdbr_parse.R is some blank lines and a comment.

Error is: Error in mutate_impl(.data, dots) : Evaluation error: unique() applies only to vectors. traceback() shows the error occurs in a mutate_ call in enumerate_code_symbols()