title: Rbuildignore and Excluding Directories
body: <p>I am interested in excluding two directories <code>inst\docs</code> and <code>inst\examples</code> while building and installing the package. I know that an easy way out is just to move <code>docs</code> and <code>examples</code> to the root directory and they won't get installed. However, I want to keep them in <code>inst</code> for other reasons.</p>
  
  <p>I tried adding the following lines to <code>.Rbuildignore</code></p>
  
  <pre><code>inst/docs
  inst/examples
  </code></pre>
  
  <p>I use RStudio v 0.97 and <code>devtools</code> to build and install the package from source. However, when I do that, I still see that <code>inst\docs</code> and <code>inst\examples</code> get installed. I tried different regexes, but nothing seemed to work.</p>
  
  <p>Am I doing something wrong?</p>