Good Software Engineering Practice for R Packages
Details
Registration: https://bbsw-tickets.ticketleap.com/summer-r-day1/
(Registration fee: $50; $20 for students)
Agenda: https://www.bbsw.org/meetup-events
Good Software Engineering Practice for R Packages
(July 20 @SJSU)
Presenters:
Ya Wang, Senior Manager of Biostatistics, Gilead Sciences
Laura Harris, Biostatistician, Denali Therapeutics
Matt Secrest, Senior Data Scientist, Genentech
| 09:00 - 09:30 | Introduction (Ya, Laura, Matt)
- What you will learn today
| - Program outline |
| ----------------- |
| 09:30 - 10:30 | |
- Structure and syntax
- Exercise: set up a new R package |
| 10:30 - 10:45 | Coffee Break (included) |
| 10:45 - 11:45 | An R Package Engineering Workflow (Laura)
- Workflow for creating R packages
- Exercise: R package programming, roxygen documentation |
| 11:45 - 12:45 | Lunch Break (included) |
| 12:45 - 13:45 | Ensuring Quality (Matt)
- Clean code rules, package testing, code style
- Exercise: apply clean code rules, add unit tests, check, spelling, test coverage |
| 13:45 - 14:45 | Version Control & Collaboration (Matt)
- Version control, git and GitHub as an example of collaborative coding platforms, live demo
- Exercise: set up repositories, invite collaborators, manage change, integration with automatic quality control |
| 14:45 - 15:00 | Coffee Break (included) |
| 15:00 - 15:45 | Publication (Ya)
- CI/CD and tags on GitHub, versioning, CRAN requirements, R-Hub for checks, pkgdown, licensing
Exercise: look at checks on GitHub, deployment of pkgdown, run CRAN like check |
| 15:45 - 16:30 | Shiny Development (Ya)
- Design, architecture, modules, reactivity, testing, security, packaging, deployment |
| 16:30 - 17:00 | Conclusion (Ya)
Discussion of learning experience, summary of workflow, conclusion, possible next steps for participants |
Location: San Jose State University Student Union 4A+4B
Lunch and snacks will be provided
Limited Seats! Register by July 9: https://bbsw-tickets.ticketleap.com/summer-r-day1/