<p>Two hundred and twenty-nine new packages were submitted to CRAN in May. Here are my picks for the “Top 40”, organized into five categories: Data, Data Science and Machine Learning, Education, Miscellaneous, Statistics and Utilities.</p>
<div>
<h3>Data</h3>
<p><a href="https://cran.r-project.org/package=angstroms">angstroms</a> v0.0.1: Provides helper functions for working with <a href="https://www.myroms.org/">Regional Ocean Modeling System</a> (ROMS) output.</p>
<p><a href="https://cran.r-project.org/package=bikedata">bikedata</a> v0.0.1: Download and aggregate data from public bicycle systems from around the world. There is a <a href="https://cran.rstudio.com/web/packages/bikedata/vignettes/bikedata.html">vignette</a>.</p>
<p><a href="https://cran.r-project.org/package=Datasaurus">datasauRus</a><a href="https://cran.r-project.org/package=datasauRus">https://CRAN.R-project.org/package=datasauRus</a> v0.1.2: The Datasaurus Dozen is a set of datasets that have the same summary statistics, despite having radically different distributions. As well as being an engaging variant on the Anscombe’s Quartet, the data is generated in a novel way through a simulated annealing process. Look <a href="http://dl.acm.org/citation.cfm?doid=3025453.3025912">here</a> for details, and in the <a href="https://cran.rstudio.com/web/packages/datasauRus/vignettes/Datasaurus.html">vignette</a> for examples.</p>
<p><a href="https://cran.rstudio.com/web/packages/dwapi/">dwapi</a> v0.1.1: Provides a set of wrapper functions for <a href="https://data.world/">data.world’s</a> REST API. There is a <a href="https://cran.rstudio.com/web/packages/dwapi/vignettes/quickstart.html">quickstart guide</a>.</p>
<p><a href="https://cran.r-project.org/package=HURDAT">HURDAT</a> v0.1.0: Provides datasets from the <a href="http://www.aoml.noaa.gov/hrd/hurdat/Data_Storm.html">Hurricane Research Division’s Hurricane Re-Analysis Project</a>, giving details for most known hurricanes and tropical storms for the Atlantic and northeastern Pacific ocean (northwestern hemisphere). The <a href="https://cran.r-project.org/web/packages/HURDAT/vignettes/hurdat.html">vignette</a> describes the datasets.</p>
<p><a href="https://cran.r-project.org/package=neurohcp">neurohcp</a> v0.6: Implements an interface to the <a href="https://db.humanconnectome.org/app/template/Login.vm;jsessionid=B175D91C0ECA959E436B01A7A9AEC60C">Human Connectome Project</a>. The <a href="https://cran.rstudio.com/web/packages/neurohcp/vignettes/hcp.html">vignette</a> shows how it works.</p>
<p><a href="https://cran.r-project.org/package=osmdata">osmdata</a> v0.0.3: Provides functions to download and import of <a href="https://www.openstreetmap.org/#map=5/51.500/-0.100">OpenStreetMap</a> data as ‘sf’ or ‘sp’ objects. There is an <a href="https://cran.rstudio.com/web/packages/osmdata/vignettes/osm-sf-translation.html">Introduction</a> and a vignette describing <a href="https://cran.rstudio.com/web/packages/osmdata/vignettes/osm-sf-translation.html">Translation to Simple Features</a>.</p>
<p><a href="https://cran.r-project.org/package=parlitools">parlitools</a> v0.0.4: Provides various tools for analyzing UK political data, including creating political cartograms and retrieving data. There is an <a href="https://cran.rstudio.com/web/packages/parlitools/vignettes/introduction.html">Introduction</a>, and vignettes on the <a href="https://cran.rstudio.com/web/packages/parlitools/vignettes/bes-2015.html">British Election Study</a>, <a href="https://cran.rstudio.com/web/packages/parlitools/vignettes/mapping-local-authorities.html">Mapping Local Suthorities</a>, and <a href="https://cran.rstudio.com/web/packages/parlitools/vignettes/using-cartograms.html">Using Cartograms</a>.</p>
<p><a href="https://cran.r-project.org/package=rerddap">rerddap</a> v0.4.2: Implements an R client to NOAA’s <a href="https://upwell.pfeg.noaa.gov/erddap/information.html">ERDDDAP</a> data servers. There is an <a href="https://cran.rstudio.com/web/packages/rerddap/vignettes/Using_rerddap.html">Introduction</a>.</p>
<p><a href="https://cran.r-project.org/package=soilcarbon">soilcarbon</a> v1.0.0: Provides tools for analyzing the <a href="https://powellcenter-soilcarbon.github.io/soilcarbon/">Soil Carbon Database</a> created by <a href="https://powellcenter.usgs.gov/">Powell Center Working Group</a>. The <a href="https://cran.rstudio.com/web/packages/soilcarbon/vignettes/launch_shiny.html">vignette</a> launches a local Shiny App.</p>
<div>
</div>
<p><a href="https://cran.r-project.org/package=suncalc">suncalc</a> v0.1: Implements an R interface to the ‘suncalc.js’ library, part of the <a href="http://suncalc.net/">SunCalc.net’s project</a> for calculating sun position, sunlight phases, moon position and lunar phase for the given location and time.</p>
</div>
<div>
<h3>Data Science and Machine Learning</h3>
<p><a href="https://cran.r-project.org/package=EventStudy">EventStudy</a> v0.3.1: Provides an interface to the <a href="https://www.eventstudytools.com/">EventStudy API</a>. There is an <a href="https://cran.rstudio.com/web/packages/EventStudy/vignettes/introduction_eventstudy.html">Introduction</a>, and vignettes on <a href="https://cran.rstudio.com/web/packages/EventStudy/vignettes/howto_eventstudy.html">Preparing EventStudy</a>, <a href="https://cran.rstudio.com/web/packages/EventStudy/vignettes/parameters_eventstudy.html">parameters</a>, and the <a href="https://cran.rstudio.com/web/packages/EventStudy/vignettes/addin_eventstudy.html">RStudio Addin</a>.</p>
<p><a href="https://cran.r-project.org/package=kmcudaR">kmcudaR</a> v1.0.0: Provides a fast, drop-in replacement for the classic K-means algorithm based on <a href="https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/ding15.pdf">Yingyang K-Means</a>. Look <a href="https://cran.rstudio.com/web/packages/kmcudaR/README.html">here</a> for details.</p>
<p><a href="https://cran.r-project.org/package=openEBGM">openEBGM</a> v0.1.0: Provides an implementation of <a href="http://www.tandfonline.com/doi/abs/10.1080/00031305.1999.10474456">DuMouchel’s Bayesian data mining method for the market basket problem</a>. There is an <a href="https://cran.rstudio.com/web/packages/openEBGM/vignettes/x1_introAndDataPrepVignette.html">Introduction</a>, and vignettes for <a href="https://cran.rstudio.com/web/packages/openEBGM/vignettes/x2_rawDataProcessingVignette.html">Processing Raw Data</a>, <a href="https://cran.rstudio.com/web/packages/openEBGM/vignettes/x3_hyperParameterVignette.html">Hyperparameter Estimation</a>, <a href="https://cran.rstudio.com/web/packages/openEBGM/vignettes/x4_posteriorCalculationVignette.html">Empirical Bayes Metrics</a>, and <a href="https://cran.rstudio.com/web/packages/openEBGM/vignettes/x5_openEBGMObjectVignette.html">Objects and Class Functions</a>.</p>
<p><a href="https://cran.r-project.org/package=spacyr">spacyr</a> v0.9.0: Provides a wrapper for the Python <a href="https://spacy.io/">spaCy</a> Natural Language Processing library. Look <a href="https://cran.rstudio.com/web/packages/spacyr/README.html">here</a> for help with installation and use.</p>
</div>
<div>
<h3>Education</h3>
<p><a href="https://cran.r-project.org/package=learnr">learnr</a> v0.9: Provides functions to create interactive tutorials for learning about R and R packages using R Markdown, using a combination of narrative, figures, videos, exercises, and quizzes. Look <a href="https://rstudio.github.io/learnr/">here</a> to get started.</p>
<p><a href="https://cran.r-project.org/package=olsrr">olsrr</a> v0.2.0: Provides tools for teaching and learning ordinary least squares regression. There is an <a href="https://cran.rstudio.com/web/packages/olsrr/vignettes/intro.html">Introduction</a> and vignettes on <a href="https://cran.rstudio.com/web/packages/olsrr/vignettes/heteroskedasticity.html">Heteroscedascitity</a>, <a href="https://cran.rstudio.com/web/packages/olsrr/vignettes/influence_measures.html">Measures of Influence</a>, <a href="https://cran.rstudio.com/web/packages/olsrr/vignettes/regression_diagnostics.html">Collinearity Diagnostics</a>, <a href="https://cran.rstudio.com/web/packages/olsrr/vignettes/residual_diagnostics.html">Residual Diagnostics</a> and <a href="https://cran.rstudio.com/web/packages/olsrr/vignettes/variable_selection.html">Variable Selection Methods</a>.</p>
<p><a href="https://cran.r-project.org/package=rODE">rODE</a> v0.99.4: Contains functions to show students how an ODE solver is made and how classes can be effective for constructing equations that describe natural phenomena. Have a look at the free book <a href="http://www.compadre.org/osp/items/detail.cfm?ID=7375">Computer Simulations in Physics</a>. There are several vignettes providing brief examples, including one on the <a href="https://cran.rstudio.com/web/packages/rODE/vignettes/Pendulum.html">Pendulum</a> and another on <a href="https://cran.rstudio.com/web/packages/rODE/vignettes/Planet.html">Planets</a>.</p>
</div>
<div>
<h3>Miscelaneous</h3>
<p><a href="https://cran.r-project.org/package=atlantistools">atlantistools</a> v0.4.2: Provides access to the <a href="http://atlantis.cmar.csiro.au/www/en/atlantis.html">Atlantis</a> framework for end-to-end marine ecosystem modelling. There is a <a href="https://cran.rstudio.com/web/packages/atlantistools/vignettes/package-demo.html">package demo</a> and vignettes for <a href="https://cran.rstudio.com/web/packages/atlantistools/vignettes/model-preprocess.html">model preprocessing</a>, <a href="https://cran.rstudio.com/web/packages/atlantistools/vignettes/model-calibration.pdf">model calibration</a>, <a href="https://cran.rstudio.com/web/packages/atlantistools/vignettes/model-calibration-species.pdf">species calibration</a>, and <a href="https://cran.rstudio.com/web/packages/atlantistools/vignettes/model-comparison.pdf">model comparison</a>.</p>
<p><a href="https://cran.r-project.org/package=phylodyn">phylodyn</a> v0.9.0: Provides statistical tools for reconstructing population size from genetic sequence data. There are several vignettes including a <a href="https://cran.rstudio.com/web/packages/phylodyn/vignettes/Simulation.html">Coalescent simulation of genealogies</a> and a case study using <a href="https://cran.rstudio.com/web/packages/phylodyn/vignettes/NewYorkInfluenza.html">New York Influenza</a> data.</p>
</div>
<div>
<h3>Statistics</h3>
<p><a href="https://cran.r-project.org/package=adaptiveGPCA">adaptiveGPCA</a> v0.1: Implements the adaptive gPCA algorithm described in <a href="https://arxiv.org/abs/1702.00501">Fukuyama</a>. The <a href="https://cran.r-project.org/package=adaptiveGPCA">vignette</a> shows an example using data stored in a phyloseq object.</p>
<div>
</div>
<p><a href="https://cran.r-project.org/package=BayesNetBP">BayesNetBP</a> v1.2.1: Implements belief propagation methods for Bayesian Networks based on the <a href="http://www.jmlr.org/papers/volume6/cowell05a/cowell05a.pdf">paper by Cowell</a>. There is a function to invoke a Shiny App.</p>
<p><a href="https://cran.r-project.org/package=RPEXE.RPEXT">RPEXE.RPEXT</a> v0.0.1: Implements the likelihood ration test and backward elimination procedure for the reduced piecewise exponential survival analysis technique described in described in Han et al. <a href="http://www.tandfonline.com/doi/abs/10.1080/19466315.2012.698945">2012</a> and <a href="http://onlinelibrary.wiley.com/doi/10.1002/sim.5915/abstract">2016</a>. The <a href="https://cran.rstudio.com/web/packages/RPEXE.RPEXT/vignettes/RPEXE.RPEXT.html">vignette</a> provides examples.</p>
<p><a href="https://cran.r-project.org/package=sfdct">sfdct</a> v0.0.3: Provides functions to construct a constrained ‘Delaunay’ triangulation from simple features objects. There is a <a href="https://cran.rstudio.com/web/packages/sfdct/vignettes/sfdct.html">vignette</a>.</p>
<div>
</div>
<p><a href="https://cran.r-project.org/package=simglm">simglm</a> v0.5.0: Provides functions to simulate linear and generalized linear models with up to three levels of nesting. There is an <a href="https://cran.rstudio.com/web/packages/simglm/vignettes/Intro.html">Introduction</a> and vignettes for simulating <a href="https://cran.rstudio.com/web/packages/simglm/vignettes/GeneralizedModels.html">GLMs</a> and <a href="https://cran.rstudio.com/web/packages/simglm/vignettes/Missing.html">Missing Data</a> performing <a href="https://cran.rstudio.com/web/packages/simglm/vignettes/Power.html">Power Analysis</a> and dealing with <a href="https://cran.rstudio.com/web/packages/simglm/vignettes/unbalanced.html">Unbalanced Data</a>.</p>
</div>
<div>
<h3>Utilities</h3>
<p><a href="https://cran.r-project.org/package=checkarg">checkarg</a> v0.1.0: Provides utility functions that allow checking the basic validity of a function argument or any other value, including generating an error and assigning a default in a single line of code.</p>
<p><a href="https://cran.r-project.org/package=CodeDepends">CodeDepends</a> v0.5-3: Provides tools for analyzing R expressions or blocks of code and determining the dependencies between them. The <a href="https://cran.rstudio.com/web/packages/CodeDepends/vignettes/intro.html">vignette</a> shows how to use them.</p>
<div>
</div>
<p><a href="https://cran.r-project.org/package=desctable">desctable</a> v0.1.0: Provides functions to create descriptive and comparative tables that are ready to be saved as csv, or piped to <code>DT::datatable()</code> or <code>pander::pander()</code> to integrate into reports. There is a <a href="https://cran.rstudio.com/web/packages/desctable/vignettes/desctable.html">vignette</a> to get you started.</p>
<p><a href="https://cran.r-project.org/package=lifelogr">lifelogr</a> v0.1.0: Provides a framework for combining self-data from multiple sources, including fitbit and Apple Health. There is a <a href="https://cran.rstudio.com/web/packages/lifelogr/vignettes/summary.pdf">general introduction</a> as well as an <a href="https://cran.rstudio.com/web/packages/lifelogr/vignettes/vignette_viz.pdf">introduction for visualization functions</a>.</p>
<p><a href="https://cran.r-project.org/package=processx">processx</a> v2.0.0: Portable tools to run system processes in the background.</p>
<p><a href="https://cran.r-project.org/package=printr">printr</a> v0.1: Extends knitr generic function <code>knit_print()</code> to automatically print objects using an appropriate format such as Markdown or LaTeX. The <a href="https://cran.rstudio.com/web/packages/printr/vignettes/printr.html">vignette</a> provides an introduction.</p>
<p><a href="https://cran.r-project.org/package=RHPCBenchmark">RHPCBenchmark</a> v0.1.0: Provides microbenchmarks for determining the run-time performance of aspects of the R programming environment, and packages that are relevant to high-performance computation. There is an <a href="https://cran.rstudio.com/web/packages/RHPCBenchmark/vignettes/vignette.html">Introduction</a>.</p>
<p><a href="https://cran.r-project.org/package=rlang">rlang</a> v0.1.1: Provides a toolbox of functions for working with base types, core R features like the condition system, and core ‘Tidyverse’ features like tidy evaluation. The <a href="https://cran.rstudio.com/web/packages/rlang/vignettes/tidy-evaluation.html">vignette</a> explains R’s capabilities for creating Domain Specific Languages.</p>
<p><a href="https://cran.r-project.org/package=readtext">readtext</a> v0.50: Provides functions for importing and handling text files and formatted text files with additional meta-data, including ‘.csv’, ‘.tab’, ‘.json’, ‘.xml’, ‘.pdf’, ‘.doc’, ‘.docx’, ‘.xls’, ‘.xlsx’ and other file types. There is a <a href="https://cran.rstudio.com/web/packages/readtext/vignettes/readtext_vignette.html">vignette</a></p>
<p><a href="https://cran.r-project.org/package=tangram">tangram</a> v0.2.6: Provides an extensible formula system to implements a grammar of tables for creating production-quality tables using a three-step process that involves a formula parser, statistical content generation from data, and rendering. There is a vignette introducing the <a href="https://cran.rstudio.com/web/packages/tangram/vignettes/example.html">Grammar</a>, a <a href="https://cran.rstudio.com/web/packages/tangram/vignettes/single-style.html">Global Style for Rmd</a>, and duplicating <a href="https://cran.rstudio.com/web/packages/tangram/vignettes/sas-proc-tabulate.html">SAS PROC Tabulate</a>.</p>
<p><a href="https://cran.r-project.org/package=tatoo">tatoo</a> v1.0.6: Provides functions to combine data.frames and to add metadata that can be used for printing and xlsx export. The <a href="https://cran.rstudio.com/web/packages/tatoo/vignettes/tatoo.html">vignette</a> shows some examples.</p>
</div>
<div>
<h3>Visualizations</h3>
<p><a href="https://cran.r-project.org/package=ContourFunctions">ContourFunctions</a> v0.1.0: Provides functions for making contour plots. A <a href="https://cran.rstudio.com/web/packages/ContourFunctions/vignettes/Introduction_to_the_cf_R_package.html">vignette</a> introduces the package.</p>
<div>
</div>
<p><a href="https://cran.r-project.org/package=mbgraphic">mbgraphic</a> v1.0.0: Implements a two-step process for describing univariate and bivariate behavior similar to the <a href="https://projecteuclid.org/download/pdf_1/euclid.aos/1043351250">cognostics</a> measures proposed by Paul and John Tuke. First, measures describing variables are computed and then plots are selected. The <a href="https://cran.rstudio.com/web/packages/mbgraphic/vignettes/vignette.html">vignette</a> describes the details.</p>
<div>
</div>
<p><a href="https://cran.r-project.org/package=polypoly">polypoly</a> v0.0.2: Provides tools for reshaping, plotting, and manipulating matrices of orthogonal polynomials. The vignette provides an <a href="https://cran.rstudio.com/web/packages/polypoly/vignettes/overview.html">overview</a>.</p>
<p><a href="https://cran.r-project.org/package=RJSplot">RJSplot</a> v2.1: Provides functions to create interactive graphs with ‘R’. It joins the data analysis power of R and the visualization libraries of JavaScript in one package There is a <a href="http://rjsplot.net/examples">tutorial</a>.</p>
</div>