RStudio deletes inst/doc when checking or building a package

Dear all,
when checking or building a package RStudio deletes the inst/doc folder of my package project. That's scary. Am I overlooking something or is this a bug? I am using version RStudio 1.1.463 with R 3.5.2. and Rtools35 under Windows 10.
Kind regards

This behavior comes from the underlying call to devtools::check(document = FALSE), cc:

I believe the intention is that inst/doc will normally just contain built vignettes, and so the intention is to remove and restore that folder when vignettes are rebuilt. You could file an issue here to see what the package maintainer thinks.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.