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` should assert R package structure #57

Closed russHyde closed 4 years ago

russHyde commented 4 years ago

If I call dupree_package on the repo for {rscala}, dupree_package runs fine. But, the rscala package code resides in the subdirectory {repo_root}/R/rscala rather than in the repo-root.

When a directory is passed to dupree::dupree_package, it should check that NAMESPACE, DESCRIPTION and R/ are present in that directory.