<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/rcpp-0-12-12-rounding-some-corners/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2017/07/15#rcpp_0.12.12"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>The twelveth update in the 0.12.* series of <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html" target="_blank">Rcpp</a> landed on <a rel="nofollow" href="http://cran.r-project.org/" target="_blank">CRAN</a> this morning, following two days of testing at <a rel="nofollow" href="http://cran.r-project.org/" target="_blank">CRAN</a> preceded by five full reverse-depends checks we did (and which are always logged <a rel="nofollow" href="https://github.com/RcppCore/rcpp-logs" target="_blank">in this GitHub repo</a>). The <a rel="nofollow" href="https:/www.debian.org" target="_blank">Debian</a> package has been built and uploaded; Windows and macOS binaries should follow at <a rel="nofollow" href="http://cran.r-project.org/" target="_blank">CRAN</a> as usual. This 0.12.12 release follows the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2015/07/25#rcpp_0.12.0" target="_blank">0.12.0 release</a> from late July, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2015/09/10#rcpp_0.12.1" target="_blank">0.12.1 release</a> in September, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2015/11/15#rcpp_0.12.2" target="_blank">0.12.2 release</a> in November, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/01/10#rcpp_0.12.3" target="_blank">0.12.3 release</a> in January, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/03/26#rcpp_0.12.4" target="_blank">0.12.4 release</a> in March, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/05/14#rcpp_0.12.5" target="_blank">0.12.5 release</a> in May, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/07/19#rcpp_0.12.6" target="_blank">0.12.6 release</a> in July, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/09/04#rcpp_0.12.7" target="_blank">0.12.7 release</a> in September, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/11/18#rcpp_0.12.8" target="_blank">0.12.8 release</a> in November, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2017/01/15#rcpp_0.12.9" target="_blank">0.12.9 release</a> in January, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2017/03/19#rcpp_0.12.10" target="_blank">0.12.10.release</a> in March, and the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2017/05/23#rcpp_0.12.11" target="_blank">0.12.11.release</a> in May making it the sixteenth release at the steady and predictable bi-montly release frequency.</p>
<p><a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html" target="_blank">Rcpp</a> has become <em>the</em> most popular way of enhancing <a rel="nofollow" href="http://www.r-project.org/" target="_blank">GNU R</a> with C or C++ code. As of today, 1097 packages (and hence 71 more since the last release in May) on <a rel="nofollow" href="http://cran.r-project.org/" target="_blank">CRAN</a> depend on <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html" target="_blank">Rcpp</a> for making analytical code go faster and further, along with another 91 in <a rel="nofollow" href="https://www.bioconductor.org/" target="_blank">BioConductor</a>.</p>
<p>This releases contain a fairly large number of fairly small and focused pull requests most of which either correct some corner cases or improve other aspects. JJ tirelessly improved the package registration added in the previous release and following R 3.4.0. Kirill tidied up a number of small issues allowing us to run compilation in even more verbose modes—usually a good thing. Jeroen, Elias Pipping and Yo Gong all contributed as well, and we thank everybody for their contributions.</p>
<p>All changes are listed below in some detail.</p>
<blockquote>
<h4>Changes in Rcpp version 0.12.12 (2017-07-13)</h4>
<ul>
<li>
<p>Changes in Rcpp API:</p>
<ul>
<li>
<p>The <code>tinyformat.h</code> header now ends in a newline (<a rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/701" target="_blank">#701</a>).</p>
</li>
<li>
<p>Fixed rare protection error that occurred when fetching stack traces during the construction of an Rcpp exception (Kirill Müller in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/706" target="_blank">#706</a>).</p>
</li>
<li>
<p>Compilation is now also possibly on Haiku-OS (Yo Gong in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/708" target="_blank">#708</a> addressing <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/707" target="_blank">#707</a>).</p>
</li>
<li>
<p>Dimension attributes are explicitly cast to <code>int</code> (Kirill Müller in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/715" target="_blank">#715</a>).</p>
</li>
<li>
<p>Unused arguments are no longer declared (Kirill Müller in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/716" target="_blank">#716</a>).</p>
</li>
<li>
<p>Visibility of exported functions is now supported via the R macro <code>atttribute_visible</code> (Jeroen Ooms in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/720" target="_blank">#720</a>).</p>
</li>
<li>
<p>The <code>no_init()</code> constructor accepts <code>R_xlen_t</code> (Kirill Müller in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/730" target="_blank">#730</a>).</p>
</li>
<li>
<p>Loop unrolling used <code>R_xlen_t</code> (Kirill Müller in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/731" target="_blank">#731</a>).</p>
</li>
<li>
<p>Two unused-variables warnings are now avoided (Jeff Pollock in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/732" target="_blank">#732</a>).</p>
</li>
</ul>
</li>
<li>
<p>Changes in Rcpp Attributes:</p>
<ul>
<li>
<p>Execute tools::package_native_routine_registration_skeleton within package rather than current working directory (JJ in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/697" target="_blank">#697</a>).</p>
</li>
<li>
<p>The R portion no longer uses <code>dir.exists</code> to no require R 3.2.0 or newer (Elias Pipping in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/698" target="_blank">#698</a>).</p>
</li>
<li>
<p>Fix native registration for exports with name attribute (JJ in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/703" target="_blank">#703</a> addressing <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/702" target="_blank">#702</a>).</p>
</li>
<li>
<p>Automatically register init functions for Rcpp Modules (JJ in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/705" target="_blank">#705</a> addressing <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/704" target="_blank">#704</a>).</p>
</li>
<li>
<p>Add Shield around parameters in Rcpp::interfaces (JJ in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/713" target="_blank">#713</a> addressing <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/712" target="_blank">#712</a>).</p>
</li>
<li>
<p>Replace dot (&quot;.&quot;) with underscore (&quot;_&quot;) in package names when generating native routine registrations (JJ in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/722" target="_blank">#722</a> addressing <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/721" target="_blank">#721</a>).</p>
</li>
<li>
<p>Generate C++ native routines with underscore (&quot;_&quot;) prefix to avoid exporting when standard exportPattern is used in NAMESPACE (JJ in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/725" target="_blank">#725</a> addressing <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/723" target="_blank">#723</a>).</p>
</li>
</ul>
</li>
</ul>
</blockquote>
<p>Thanks to <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/" target="_blank">CRANberries</a>, you can also look at a <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/2017/07/15#Rcpp_0.12.11" target="_blank">diff to the previous release</a>. As always, even fuller details are on the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.changelog.html" target="_blank">Rcpp Changelog page</a> and the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html" target="_blank">Rcpp page</a> which also leads to the downloads page, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp/html/index.html" target="_blank">browseable doxygen docs</a> and zip files of doxygen output for the standard formats. A <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp/" target="_blank">local directory</a> has source and documentation too. Questions, comments etc should go to the <a rel="nofollow" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">rcpp-devel mailing list</a> off the <a rel="nofollow" href="http://r-forge.r-project.org/projects/rcpp/" target="_blank">R-Forge page</a>.</p>
<p>
This post by <a rel="nofollow" href="http://dirk.eddelbuettel.com/" target="_blank">Dirk Eddelbuettel</a> originated on his <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/" target="_blank">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/07/15#rcpp_0.12.12"> 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 rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/sAR6mWG3Hyw" height="1"></a></div>