Raising your code to professional standards

Richèl Bilderbeek

Research output: Contribution to journalArticleProfessional

Abstract

In this article, I will show you how to get the most out of the experts’ good practices. First, I will introduce the package ‘prde’ (‘Professional R Development Example’). This package serves as a test case for showing how its flaws will be exposed by this article’s setup. The package is thus flawed on purpose, yet passes all CRAN tests. ‘prdr’ is hosted on GitHub.
Then, I will show you how to set up accounts for two websites that will interact seamlessly with a GitHub account. These are Travis CI, for setting up automatic testing (more on that later) and Codecov that tracks package code’s coverage (more on that later).
Having all websites activated, a file is uploaded to the package’s GitHub which will trigger responses by the Travis CI and Codecov website. I’ll discuss these responses one by one.
Original languageEnglish
JournalSoftware Developers Journal (SDJournal)
Publication statusPublished - 6-Jan-2017

Keywords

  • R
  • programming

Cite this