dependency ‘slam’ is not available when installing TM package
<p>I was able to use the <code>library(tm)</code> in r without problem until today, when loading <code>tm</code> shows:</p>

<pre><code>library(tm)
</code></pre>

<blockquote>
  <p>Loading required package: NLP</p>
  
  <p>Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : </p>
  
  <p>there is no package called ‘slam’</p>
  
  <p>Error: package or namespace load failed for ‘tm’</p>
</blockquote>

<p>I thought this is a dependency issue and seek to reinstall package</p>

<pre><code>install.packages("tm")
</code></pre>

<blockquote>
  <p>Warning in install.packages : dependency ‘slam’ is not available</p>
</blockquote>

<p>and then try to find <code>slam</code>:</p>

<pre><code>install.packages("slam")
</code></pre>

<blockquote>
  <p>Warning in install.packages :</p>
  
  <p>package ‘slam’ is not available (for R version 3.2.4)</p>
</blockquote>

<p>I also tried some of the issues listed <a href="https://stackoverflow.com/questions/25721884/how-should-i-deal-with-package-xxx-is-not-available-for-r-version-x-y-z-wa">here</a> and <code>chooseCRANmirror()</code>, still no luck. Is there something wrong with the package or is it just that my r does not allow 'slam' to install after today?</p>

<p><strong>session info</strong></p>

<pre><code>&gt; sessionInfo()
R version 3.2.4 (2016-03-10)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.11.6 (El Capitan)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] NLP_0.1-9

loaded via a namespace (and not attached):
[1] parallel_3.2.4 tools_3.2.4 
</code></pre>