Site icon R-bloggers

How to Write Production-Ready R Code: Tools and Patterns

[This article was first published on r – Appsilon Data Science | End­ to­ End Data Science Solutions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

This talk was presented virtually at eRum 2020 and useR 2020 by Appsilon engineer Marcin Dubel. Here is a direct link to the video.

Be Proud of Your Code!

In this talk you’ll learn the tools and best practices for making clean, reproducible R code in a working environment ready to be shared and productionized. I cover the benefits of git, plumber, RStudio Connect, assertr, linter, renv, and many other tools and concepts.

R is a great tool for fast and efficient data analysis. Its simplicity in setup combined with powerful features and community support makes it a perfect language for many subject matter experts (e.g., in finance or bioinformatics). Nevertheless, what is often the case is that while the code provides a great solution, the application or model is not easily distributed to other team members or interested parties outside the team.

Both Appsilon and I personally have taken part in many R projects for which the goal was to clean and organize the code as well as the project structure. Data science teams working for our clients have all the expert knowledge and skills required to deliver value, but they are missing the programming experience required to provide mature, reproducible and production-quality code.

We would like to share our approach, best practices, and useful tools for creating high-quality R code that you can be proud to share.

During this presentation I will cover:

If you have additional tools and suggestions to share for writing production-ready R code, please let us know in the comments!

Learn More

Does your company need help with enterprise data analytics or Shiny dashboards? Reach out to us at hello@appsilon.com.

Article How to Write Production-Ready R Code: Tools and Patterns comes from Appsilon Data Science | End­ to­ End Data Science Solutions.

To leave a comment for the author, please follow the link and comment on their blog: r – Appsilon Data Science | End­ to­ End Data Science Solutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.