I am using
R CMD CHECK
The following directories look like leftovers from 'knitr'
One solution is to put
.Rbuildignore file in the main package directory. (This only works if you
R CMD check on a built tarball rather than on the package source directory, but that's recommended as best practice anyway ...)