title: R: dependency handling in local package installation
body: <p>I am running R on a Linux based cluster which does not have access to the internet.
  So i have downloaded the source files of the packages and the source files of their dependencies. Now i am installing the packages using this command:</p>
  
  <pre><code>install.packages("/home/R/stringr_1.0.0.tar.gz" , repos = NULL, type="source")
  </code></pre>
  
  <p>This works for the packages without dependencies. 
  I am looking for a command which search for the dependency packages locally at the same path of the source which is supposed to be installed by this command .</p>
  
  <p>Thanks</p>