Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Only clean def files if they are 'packageName.def' #1161
The clean patterns are originally from R CMD build (https://github.com/wch/r-source/blob/4ba41332b405f29569dad311f36500391fe6f41f/src/library/tools/R/build.R#L406-L433), which @hadley referenced in the original PR (#137 (comment))
The previous behavior was too loose, only def files with the package name should be cleaned.
The same is true for