Managing Large R Codebases webinar (summary and slides)

[This article was first published on R by R(yo), 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.

In October last year, I was part of a webinar to talk about “Managing Large Codebases in R” with Alex Bertram of ActivityInfo. It is a bit late to write a blog post about this, I know, but I realized I never created one to spread the word around a lot more even though I did refer to it on social media… so here you go:

In summary, we discussed:

  • Adopting a coding style for your team ({lintr}, {styler}, style guides, etc.)
  • Organizing code into R functions (DRY principles, etc.)
  • Organizing functions into R packages ({usethis}, {devtools}, etc.)
  • Documenting and testing code ({roxygen2}, {sinew}, {codecov}, {testthat}, {pkgdown}, etc.)
  • Using version control: git/GitHub (GitHub issue templates, branching, Pull-Request checklist, etc.)
  • Practical examples from the field (some of the work I’ve been doing at ACDI/VOCA)

You can see my slides here, while Alex’s slides are here. For each section I also included a lot of links to other material that I’ve referred to/used over the years so hopefully it’s helpful!

Example:

Unfortunately, due to time constraints we couldn’t talk in more detail about git/GitHub as much as we would’ve liked but it does open us up to another potential workshop in the future. You can still read more about what I wanted to talk about in my presentations notes along with content from my previous blog posts regarding how I approach (open-source) collaboration work:

As you may have noticed from my blog/Twitter, I’ve really went off the deep end in terms of doing soccer related analysis in the past year… not even data analysis with soccer data but just purely tactical stuff. I feel like I need to course-correct a little bit so in 2023 I’m hoping to have more R // data science related content on Twitter and/or my blog as well. To be honest, like this blog post, there are a few other R related things that I didn’t post last year due to my focus on soccer analysis and then the World Cup happened, so be on the look out for all that soon.

Thanks for reading, hope it’s useful to you, and don’t hesitate to contact me if you have comments/questions!

To leave a comment for the author, please follow the link and comment on their blog: R by R(yo).

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.

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)