<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/rcpp-now-used-by-1000-cran-packages/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2017/04/15#rcpp_1000_packages"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><img alt="800 Rcpp packages" src="https://i0.wp.com/dirk.eddelbuettel.com/blog/code/rcpp/RcppGrowth_2017-04-15.png?w=450" data-recalc-dims="1"></p>
<p>Moments ago <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> passed a big milestone as there are now 1000 packages on <a target="_blank" rel="nofollow" href="http://cran.r-project.org/">CRAN</a> depending on it (as measured by Depends, Imports and LinkingTo, but excluding Suggests). The graph is on the left depicts the growth of <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> usage over time.</p>
<p>One easy way to compute such reverse dependency counts is the <code>tools::dependsOnPkgs()</code> function that was just mentioned in <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2017/04/14#005_easy_package_info">yesterday’s R^4 blog post</a>. Another way is to use the <code>reverse_dependencies_with_maintainers()</code> function from this <a target="_blank" rel="nofollow" href="http://developer.r-project.org/CRAN/Scripts/depends.R">helper scripts file on CRAN</a>. Lastly, <a target="_blank" rel="nofollow" href="https://cran.r-project.org/package=devtools">devtools</a> has a function <code>revdep()</code> but it has the wrong default parameters as it includes <code>Suggests:</code> which you’d have to override to get the count I use here (it currently gets 1012 in this wider measure).</p>
<p>Rcpp cleared 300 packages <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2014/11/25#rcpp_300_packages">in November 2014</a>. It passed 400 packages in June 2015 (when I only <a target="_blank" rel="nofollow" href="https://twitter.com/eddelbuettel/status/613235012939464704">tweeted about it</a>), <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2015/10/27#rcpp_500_packages">500 packages in late October 2015</a>, <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/03/11#rcpp_600_packages">600 packages last March</a>, <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/07/11#rcpp_700_packages">700 packages last July</a>, <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/10/16#rcpp_800_packages">800 packages last October</a> and <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2017/01/07#rcpp_900_packages">900 packages early January</a>. The chart extends to the very beginning via manually compiled data from <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/">CRANberries</a> and checked with <a target="_blank" rel="nofollow" href="https://github.com/metacran/crandb">crandb</a>. The next part uses manually saved entries. The core (and by far largest) part of the data set was generated semi-automatically via a short script appending updates to a small file-based backend. A list of packages using <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> is kept on <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.cranusers.html">this page</a>.</p>
<p>Also displayed in the graph is the relative proportion of <a target="_blank" rel="nofollow" href="http://cran.r-project.org/">CRAN</a> packages using <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a>. The four per-cent hurdle was cleared just before <a target="_blank" rel="nofollow" href="http://user2014.stat.ucla.edu/">useR! 2014</a> where I showed a similar graph (as two distinct graphs) in my <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/papers/useR2014_keynote.pdf">invited talk</a>. We passed five percent in December of 2014, six percent July of 2015, seven percent just before Christmas 2015, eight percent last summer, and nine percent mid-December 2016. Ten percent is next; we may get there during the summer.</p>
<p>1000 user packages is a really large number. This puts a whole lot of responsibility on us in the Rcpp team as we continue to keep <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> as performant <em>and</em> reliable as it has been.</p>
<p>And with that a very big <strong>Thank You!</strong> to all users and contributors of <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> for help, suggestions, bug reports, documentation or, of course, code.</p>
<p>
This post by <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/">Dirk Eddelbuettel</a> originated on his <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/">Thinking inside the box</a> blog. Please report excessive re-aggregation in third-party for-profit settings.</p>
<p>
<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://dirk.eddelbuettel.com/blog/2017/04/15#rcpp_1000_packages"> Thinking inside the box </a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/search/data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/search/map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/search/animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/search/sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/search/SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/search/git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/search/hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/search/PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/search/time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/search/trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/ze5m81gOU28"></a></div>