title: How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
body: <p>I tried to install a package, using</p>
  
  <pre><code>install.packages("foobarbaz")
  </code></pre>
  
  <p>but received the warning</p>
  
  <pre><code>Warning message:
  package 'foobarbaz' is not available (for R version x.y.z)
  </code></pre>
  
  <p>Why doesn't R think that the package is available?</p>
  
  <p>See also these questions referring to specific instances of this problem:</p>
  
  <p><a href="https://stackoverflow.com/questions/13132111/my-package-doesnt-work-for-r-2-15-2">My package doesn&#39;t work for R 2.15.2</a><br>
  <a href="https://stackoverflow.com/questions/13807729/package-rbbg-is-not-available-for-r-version-2-15-2">package &#39;Rbbg&#39; is not available (for R version 2.15.2)</a><br>
  <a href="https://stackoverflow.com/questions/15672906/package-is-not-available-for-r-version-2-15-2">package is not available (for R version 2.15.2)</a><br>
  <a href="https://stackoverflow.com/questions/16453625/package-domc-not-available-for-r-version-3-0-0-warning-in-install-packages">package doMC NOT available for R version 3.0.0 warning in install.packages</a><br>
  <a href="https://stackoverflow.com/questions/17381770/dependency-rglpk-is-not-available-for-package-fportfolio">Dependency ‘Rglpk’ is not available for package ‘fPortfolio’</a><br>
  <a href="https://stackoverflow.com/questions/17998543/what-to-do-when-a-package-is-not-available-for-our-r-version">What to do when a package is not available for our R version?</a><br>
  <a href="https://stackoverflow.com/questions/18151988/is-the-bigvis-package-for-r-not-available-for-r-version-3-0-1">Is the bigvis package for R not available for R version 3.0.1?</a><br>
  <a href="https://stackoverflow.com/questions/19838358/package-syncwave-mvcwt-is-not-available-for-r-version-3-0-2">package ‘syncwave’/‘mvcwt’ is not available (for R version 3.0.2)</a><br>
  <a href="https://stackoverflow.com/questions/20112049/package-diamonds-is-not-available-for-r-version-3-0-0">package ‘diamonds’ is not available (for R version 3.0.0)</a><br>
  <a href="https://stackoverflow.com/questions/20809254/is-the-plyr-package-for-r-not-available-for-r-version-3-0-2">Is the plyr package for R not available for R version 3.0.2?</a><br>
  <a href="https://stackoverflow.com/questions/21905323/package-bigmemory-not-installing-on-r-64-3-0-2">Package bigmemory not installing on R 64 3.0.2</a><br>
  <a href="https://stackoverflow.com/questions/21990640/package-maker-is-not-available-for-version-3-0-2">package &quot;makeR&quot; is not available (for version 3.0.2)</a><br>
  <a href="https://stackoverflow.com/questions/22057428/package-rtn-is-not-available-for-r-version-3-0-1">package ‘RTN’ is not available (for R version 3.0.1)</a><br>
  <a href="https://stackoverflow.com/questions/22955484/r-project-installing-geor">Trouble Installing geoR package</a><br>
  <a href="https://stackoverflow.com/questions/23088392/package-twitterr-is-not-available-for-r-version-3-1-0">package ‘twitterR’ is not available (for R version 3.1.0)</a><br>
  <a href="https://stackoverflow.com/questions/24331730/how-to-install-rcpp-package-i-got-package-is-not-available">How to install &#39;Rcpp, package? I got &quot;package is not available&quot;</a><br>
  <a href="https://stackoverflow.com/questions/25089201/package-dataset-is-not-available-for-r-version-3-1-1">package ‘dataset’ is not available (for R version 3.1.1)</a><br>
  <a href="https://stackoverflow.com/questions/27686150/package-rhipe-is-not-available-for-r-version-3-1-2">&quot;package ‘rhipe’ is not available (for R version 3.1.2)&quot;</a>   </p>