~/talk

R qtl2 Rewrite of a very old R package

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [software-architecture, testing]
slides:none on file

A 20-year R/qtl codebase contains 39k lines of R and 25k lines of C, with one R function of 1,400 lines and a CSV-parsing loop that spends 58 seconds scanning column headers. A ground-up rewrite into R/qtl2 targets high-dimensional phenotypes (tens of thousands), multi-strain and advanced crosses, and faster IO. The rewrite uses Rcpp, roxygen2, testthat and adds automated tests and cleaner data structures; the new package improves performance and extensibility though some rough edges remain.

AI-written summary · about

  1. 0:00Start
  2. 3:48Intercross
  3. 7:28Input file
  4. 9:25Stupidest code ever
  5. 11:03More typically bad code
  6. 12:00Baroque data structures
  7. 12:33Inconsistencies
  8. 12:59Useless warning messages
  9. 14:00Tests
  10. 15:18How did this happen?
  11. 16:17Documentation
  12. 17:03User support
  13. 17:43QTL mapping
  14. 18:10Heterogeneous stock
  15. 18:49R/qt|2: Let's not make the same mistakes
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.