CDSB Workshop 2019: How to Build and Create Tidy Tools

Community of Bioinformatics Software Developers


Requirements prior knowledge

  • Participants should have basic to intermediate knowledge of the R programming language: variable assignment, reading files: read.csv, read.delim, read.table; data structures: matrix, dataframe, list; data types: character, numeric, factor, logical, etc; installation and use of packages.
  • R: know how to install packages
  • RStudio: know how to use.

Technical requirements

  • Personal computer. Minimum 8GB RAM, a mouse and sufficient disk space for text files and image files. Administrator privileges to install and run utilities such as RStudio.


In recent years, R has become one of the most used programming languages for data science. The explosion in data available in many fields has increased the demand for data analysts, which is the case in Bioinformatics. R users start by learning how to use the tools others have openly shared with the international community. These R users acquire skills as they continue to analyze data and might even start to interact with R software developers through community websites such as RStudio Community, Bioconductor Support or via Twitter using the #rstats hashtag. Eventually some R users will want to write their own functions and share them online with others. They can do so via creating their own R packages and sharing them via repositories likes CRAN and Bioconductor or simply via GitHub. In this workshop participants will work through the Building Tidy Tools rstudio::conf 2019 workshop and then build their own R packages by collaborating with each other, similar to what was done at rOpenSci unconf18.

This workshop is aimed at students and researchers interested in data analysis that have experience using R. We encourage applications from experts in diverse disciplines, including but not limited to biologists, bioinformaticians, data scientists, software engineers and programmers and R users at large. The main goals of the workshop are:

  1. Teach participants the principles of reproducible data science through the development of R/Bioconductor packages.

  2. Turn (bioinformatics) software users into (bioinformatics) software developers.

  3. Foster the exchange of expertise and establish multidisciplinary collaborations.

  4. Create a community of Latin American scientists committed to the development of software and computational pipelines for (biological) data analysis.

  5. Help train users that can become local instructors and continue to grow their local communities.

This workshop is part of a long-term project to create a community of developers from Latin America. We hope to hold regular meetings in the future (similar to BioC, EuroBioc and BioCAsia) where attendees present their own software contributions. To provide a welcoming environment please follow our code of conduct.


Day 1: July 29, 2019
Welcome to CDSB: the history of our community and where we are going Leonardo Collado-Torres
Packages Alejandro Reyes and Leonardo Collado-Torres
Testing Alejandro Reyes and Leonardo Collado-Torres
API Design Alejandro Reyes and Leonardo Collado-Torres
Day 2: July 30, 2019
Functional Programing Alejandro Reyes and Leonardo Collado-Torres
Errors Alejandro Reyes and Leonardo Collado-Torres
Object Oriented Programming Alejandro Reyes and Leonardo Collado-Torres
(tentative) Poster session
Day 3: July 31, 2019
Tidy Evaluation Alejandro Reyes and Leonardo Collado-Torres
Document and Share Alejandro Reyes and Leonardo Collado-Torres
Introduction to GitHub Alejandra Medina-Rivera
Day 4: August 1, 2019
Introduction to runconf Leonardo Collado-Torres
Community building activities
Voting and selection of projects to work on
Working on a Collaborative Project Alejandra Medina-Rivera, Alejandro Reyes, Leonardo Collado-Torres and Maria Teresa Ortiz
Day 5: August 2, 2019
Working on a Collaborative Project Alejandra Medina-Rivera, Alejandro Reyes, Leonardo Collado-Torres and Maria Teresa Ortiz
Presentations of collaborative projects
Closing remarks and community participation opportunities

Building Tidy Tools

Charlotte Wickham and Hadley Wickham were the instructors of the original version of this workshop at rstudio::conf 2019. They have kindly shared their materials with us, which we will translate to Spanish.

This is a two-day hands on workshop for those who have embraced the tidyverse and now want to expand it to meet their own needs. We’ll discuss API design, functional programming tools, the basics of object design in S3, and the tidy eval system for NSE.

Learn efficient workflows for developing high-quality R functions, using the set of conventions codified by a package. You’ll also learn workflows for unit testing, which helps ensure that your functions do exactly what you think they do. Master the art of writing functions that do one thing well and can be fluently combined together to solve more complex problems.We’ll cover common function writing pitfalls and how to avoid them.

Learn how to write collections of functions that work well together, and adhere to existing conventions so they’re easy to pick up for newcomers.

You should take this workshop if you have experience programming in R and want to learn how to tackle larger scale problems. You’ll get the most from it if you’re already familiar with functions and are comfortable with R’s basic data structures (vectors, matrices, arrays, lists, and data frames).

Instead of two days, we will teach this workshop in two and a half days such that we can give you more time to digest the material and work through an introduction to Git and GitHub.

CDSB runconf

R unconference events (runconf) typically involve two stages and an optional third one. First, participants create issues weeks ahead of the runconf where they share ideas that they can work through in collaboration with others during the two days of the runconf. In the second stage, participants meet each other and get to know each other through some icebreakers. They then work together for two days on the projects that received the most votes. This is where participants get to learn skills from each other and get a taste of developing open source software in a collaborative environment. At the end, everyone shares their work with the whole group. In the third and final stage, runconf attendees might continue to interact with each other to further polish the packages they worked on during the runconf event, start new collaborations and/or write blog posts about their experience.

There are many blog posts about rOpenSci unconf events. A recent runconf was the chirunconf which you can read more about on this blog post by Sharla Gelfand.

If you are attending our workshop, we will ask you to propose at least one R package idea by creating a GitHub Issue in our GitHub repository for the workshop. If you want some inspiration, take a look at rOpenSci unconf18’s GitHub repository. You will need to get familiarized with all the proposal before the workshop starts.


Organizing committee:

Code of Conduct


Become our sponsor

Centro de Ciencias Genómicas UNAM

  1. If you speak English but not Spanish please let us know so we can plan accordingly. ^
Community of Bioinformatics Software Developers

We want to help you acquire the skills to contribute open source Bioinformatics software using R

comments powered by Disqus