~/talk

RMarkdown Driven Development

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [developer-experience, documentation]
slides:none on file

Workflow converts a single exploratory R Markdown into a tested, reusable package by removing hard‑coded values and moving inputs into RMarkdown parameters, replacing brittle paths with {here}, and deleting dead code; then it groups setup and heavy computation at the top, extracts repeated code into functions with roxygen2 docs, and saves processed artifacts to speed future knits. Project tools like usethis/devtools create an R/ and man/ layout, tests run with {testthat}, and pkgdown builds a website; automation fits via RStudio Connect.

AI-written summary · about

  1. 0:00Intro
  2. 1:29This implicit analysis tool already contains core development and design components
  3. 3:51Parameters can protect the integrity of your analysis and your credentials
  4. 5:42Don't let your script become a junk drawer
  5. 7:41Enhance the navigability of your file in RStudio with chunk names and special comments
  6. 12:07Projects modularize components and make it easy to access individual project assets
  7. 13:39Pre-processing data decreases external system dependencies and knitting time
  8. 14:48There are many tools to help make a project, but consistency is the key!
  9. 16:34There is a near one-to-one mapping between the components of a project and a package
  10. 19:26Different stopping points optimize for recreation versus extension of your work
  11. 20:24No matter what path you chose, your RMarkdown analysis is closer to a sustainable and empathetic data product than you may think!
~/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.