I am using knitr to write a vignette for my package. In R CMD CHECK I got the following NOTE:
The following directories look like leftovers from 'knitr'
‘cache’, ‘figure’
These are indeed directories created by knitr. But I don't understand how I can remove these after knitting the document into .pdf.
I found one related issue on github but no answer.