title: My package doesn't work for R 2.15.2
body: <p>I have a package called <code>rpackage</code> on a local (corporate) repo. When I run <code>install.packages("rpackage")</code> it tells me that:</p>
  
  <pre><code>Installing package(s) into ‘C:/Program Files/R/R-2.15.2/library’
  (as ‘lib’ is unspecified)
  Warning in install.packages :
    package ‘rpackage’ is not available (for R version 2.15.2)
  </code></pre>
  
  <p>I have built this package using <code>R CMD INSTALL --build .</code> , released to the local repo and also ran <code>tools::write_PACKAGES()</code> to update the <code>PACKAGES</code> files. When I run <code>R --version</code> I get:</p>
  
  <pre><code>R version 2.15.2 (2012-10-26) -- "Trick or Treat"
  Copyright (C) 2012 The R Foundation for Statistical Computing
  ISBN 3-900051-07-0
  Platform: i386-w64-mingw32/i386 (32-bit)
  </code></pre>
  
  <p>And when I run <code>R CMD INSTALL --build --version</code> I get:</p>
  
  <pre><code>R add-on package installer: 2.15.2 (r61015)
  </code></pre>
  
  <p>The local repo directory structure follows the <a href="http://cran.r-project.org/doc/manuals/R-admin.html#Setting-up-a-package-repository" rel="nofollow">official documentation</a> and has been working until I updated to R 2.15.2. The structure is:</p>
  
  <pre><code>\\server\folder\R\bin\windows\contrib\
      2.11\
      2.12\
      2.13\
      2.14\
      2.15\
  \\server\folder\R\src\contrib\
  </code></pre>
  
  <p>If I run <code>install.packages("rpackage")</code> in R 2.15.1 I have no problems. Is there something special I need to do to get it to work with the new version of R?</p>
  
  <p>I noticed the CRAN servers use a slightly different directory structure. For example, the CSIRO CRAN mirror uses:</p>
  
  <pre><code>http://cran.csiro.au/bin/windows/contrib/r-release/
  </code></pre>
  
  <p>Any idea about how to fix this?</p>
  
  <p>Many thanks.</p>