Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 2.81 KB

File metadata and controls

54 lines (41 loc) · 2.81 KB

Coding Best Practices

This class is about developing better coding practices, ranging from structuring code to writing code to debugging code.

Required readings (before class)

To do (before class)

  • Make sure you have a development environment that can run R code (e.g. R; RStudio; VS Code).
  • Especially if using VS Code, test that it can run R scripts and produce a plot

Class structure

  • Matters arising + adapt agenda (15 min)
  • Coding exercise as a group (40 min.)
  • Break (10 min.)
  • Group discussion - assess your current coding practices and goals (~20 min.)
  • Pick an issue and (re)start your project's best-practice conventions (remaining time)

Further readings

General best practices
Filenames
Mathematica
Writing functions in R
R Code style
Debugging in R
Workflow
Data