Articles by rstats | Emily Riederer

Column Names as Contracts

September 5, 2020 | rstats | Emily Riederer

Software products use a range of strategies to make promises or contracts with their users. Mature code packages and APIs document expected inputs and outputs, check adherence with unit tests, and transparently report code coverage. Programs with graphical user interfaces form such contracts by labeling and illustrating interactive components to ...
[Read more...]

A beginner’s guide to Shiny modules

July 25, 2020 | rstats | Emily Riederer

Recently, I argued the case on Twitter that Shiny modules are not an advanced topic and can actually be a great way for novice Shiny developers to start building more complex applications. My Shiny hot take is that modules are **not** an advanced topic. IMHO it's so much easier and ...
[Read more...]

Resource Round-Up: Latent and Lasting Documentation

July 2, 2020 | rstats | Emily Riederer

The importance of documentation is uncontroversial. For many data and analytical products, documentation is the user interface and key to promoting user success and future reuse. However, when project timelines get tight, too many data products are considered complete without appropriate documentation. Even when these resources initially exist, they too ... [Read more...]

RMarkdown CSS Selector Tips

June 29, 2020 | rstats | Emily Riederer

When working with R Markdown’s HTML output type, it’s possible to add a custom style to your output by passing in a CSS style sheet to the YAML header like this:
    css: "my-style-sheet.css"
To use CSS effectively, it’s critical to understand how to specificy which selectors one wishes ...
[Read more...]

RMarkdown Driven Development: the Technical Appendix

January 31, 2020 | rstats | Emily Riederer

Motivation My initial post on RMarkdown Driven Development focuses on major concepts in the process of evolving a one-time, single-file analysis into a sustainable analytical tool. In the spirit of Etsy’s immutable documentation, I intentionally minimized references to specific tools or packages. After all, software is transient; principles are ...
[Read more...]

Resource Round-Up: R in Industry Edition

August 29, 2019 | rstats | Emily Riederer

One of the ways that practices of reproducible research can be brought into industry is through the development of custom R packages and data tools for one’s company / organization. Not only can these tools deliver large efficiency gains and standardization, they ideally infuse corporate culture with the shared passion ... [Read more...]

Rtistic: A package-by-numbers repo

May 24, 2019 | rstats | Emily Riederer

Last winter, I attended a holiday party at a “paint-and-sip” venue. For those unfamiliar, “paint-and-sip” is a semi-trendy cottage industry offering evenings of music, wine, and a guided painting activity. For example, my group painted sasquatch on a snowy winter’s eve: As often happens, this completely unrelated thing set ...
[Read more...]

RMarkdown Driven Development (RmdDD)

May 3, 2019 | rstats | Emily Riederer

Introduction RMarkdown is an excellent platform for capturing narrative analysis and code to create reproducible reports, blogs, slides, books, and more. One benefit of RMarkdown is its abilities to keep an analyst in the “flow” of their work and to capture their thought process along the way. However, thought processes ...
[Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)