<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/pkgkitten-0-1-4-creating-r-packages-that-purr/"></div></div><div><a data-url="https://www.r-bloggers.com/pkgkitten-0-1-4-creating-r-packages-that-purr/" data-counturl="https://www.r-bloggers.com/pkgkitten-0-1-4-creating-r-packages-that-purr/" data-count="horizontal" data-text="pkgKitten 0.1.4: Creating R Packages that purr" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2016/11/13#pkgKitten_0.1.4"> 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="kitten" src="https://i1.wp.com/2.bp.blogspot.com/-rUsj-zdsAls/UY81UzuYHsI/AAAAAAAAAJA/QMiiNxYuvdI/s1600/burmilla-kitten.png?w=200" data-recalc-dims="1"></p>
<p>A new minor release 0.1.4 of <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/pkgkitten.html">pkgKitten</a> just hit on <a target="_blank" rel="nofollow" href="http://cran.r-project.org/">CRAN</a> this morning.</p>
<p>One small change is that the package manual page it creates now makes use of the (still new-ish and under-documented and under-used) Rd macros described at the end of <a target="_blank" rel="nofollow" href="https://cran.r-project.org/doc/manuals/r-release/R-exts.html#User_002ddefined-macros">Section 2.13 of Writing R Extensions</a>:</p>
<blockquote>
<p><em>See the <code>system.Rd</code> file in <code>share/Rd/macros</code> for more details and macro definitions, including macros <code>\packageTitle</code>, <code>\packageDescription</code>, <code>\packageAuthor</code>, <code>\packageMaintainer</code>, <code>\packageDESCRIPTION</code> and <code>\packageIndices</code>.</em></p>
</blockquote>
<p>By using these macros, and referencing them from the <code>DESCRIPTION</code> file, we can avoid redundancy, or worse, inconsitency, between both files. Or just be plain lazy and describe things <em>just once</em> in the higher-level file: A good thing!</p>
<p>Otherwise we fixed a URL to the manual thanks to a PR, and just added some of the regular polish to some of the corners which <code>R CMD check --as-cran</code> is looking into:</p>
<blockquote>
<h4>Changes in version 0.1.4 (2016-11-13)</h4>
<ul>
<li>
<p>Utilize newer R macros in package-default manual page.</p>
</li>
<li>
<p>Repair a link to Wrting R Extensions (PR <a target="_blank" rel="nofollow" href="https://github.com/eddelbuettel/pkgkitten/pull/7">#7</a> by Josh O’Brien)</p>
</li>
</ul>
</blockquote>
<p>More details about the package are at the <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/pkgkitten.html">pkgKitten webpage</a> and the <a target="_blank" rel="nofollow" href="https://github.com/eddelbuettel/pkgkitten">pkgKitten GitHub repo</a>.</p>
<p>Courtesy of <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/">CRANberries</a>, there is also a diffstat report for <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/2016/11/13#pkgKitten_0.1.4">this release</a></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><div><div><div><div data-width="55" data-show-faces="false" data-send="true" data-layout="box_count" data-height="62" data-href="https://www.r-bloggers.com/pkgkitten-0-1-4-creating-r-packages-that-purr/"></div></div><div><a data-url="https://www.r-bloggers.com/pkgkitten-0-1-4-creating-r-packages-that-purr/" data-counturl="https://www.r-bloggers.com/pkgkitten-0-1-4-creating-r-packages-that-purr/" data-count="vertical" data-text="pkgKitten 0.1.4: Creating R Packages that purr" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<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/2016/11/13#pkgKitten_0.1.4"> 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/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/?s=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/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/McyggMg9yn0"></a></div>