18.1 File Organization

  • Functions allow you to spread your code across multiple files
    • this is where organization is 🔑
  • Make sure to have an R/ directory and in it, place large functions into their own script - R/myFunc.R
    • Collections of smaller functions can go into 1 script, i.e. R/utils.R
    • Shiny uses similar storing conventions as R packages