projthis is a new R-package, which offers a framework for analysis-based project workflows. You can use it to: (1) manage the dependencies among files in your workflows; projthis provides tools to support a directory structure and a naming convention. (2) manage your project’s package-dependencies; projthis helps you use a DESCRIPTION file. (3) automate the rendering of your workflow using GitHub Actions; projthis provides a template for an Action.
Here’s a couple examples of analysis projects built and automated (run daily) using projthis: covidStates, and covidIowa.
Read more →
This will be a demonstration of the boxr package, which provides an R client to the Box file-sharing service. For example, you can upload and download files to/from your CyBox account using R functions. By far, the biggest hurdle to using boxr is the authentication. Guillermo Basulto will walk us through an authentication example using CyBox; if you will have boxr installed on your computer, you can get this step out of the way during the presentation.
Read more →
Writing unit tests for complicated objects such as text outputs containing many characters, html, .rtf, graphical outputs, etc is very challenging. The new feature in the 3rd edition of testthat package gives the users the ability to record the expected output in a separate file to review by the user instead of using code to describe expected output. It provides tools to automatically generate and update that file as needed. In this presentation, I will go over my recent experience of working with snapshot tests in the 3rd edition of testthat package in validating complicated objects in R.
Read more →
Most modern data analysis requires the use of statistical software. The results of data analysis then rely on the underlying software utilized and the actions applied to data. R, one of the most widely-used statistical softwares for data analysis, relies on user-developed “packages” for many data science and data analysis tasks. These packages are subject to change over time, which can impact computational reproducibility efforts, as well as frustrate users who are left to hunt down problems in broken code.
Read more →