title: problems installing R packages from a local repository
body: <p>I've created a local repository of several r packages with all their dependency - that is a directory names PACKAGES under which there many zip files for the packages.</p>
  
  <p>I try to install a package using:</p>
  
  <pre><code>install.packages("dplyr",repos="path_to_repos",type="source")
  </code></pre>
  
  <p>and keep getting errors:</p>
  
  <pre><code>cannot open compressed file path_to_repos/src/contrib/PACKAGES, probable cause "permission denied"
  </code></pre>
  
  <p>I am able to install packages from the same directory by choosing the files one by one - but that's not practical due to dependencies.</p>
  
  <p>I'm working on windows 10, and run as administrator. could not figure out what might be the cause of the permission error could be.</p>
  
  <p>Any insight?</p>