GitHub
LinkedIn
Twitter
YouTube
RSS

Training Course Details

Best Practices with R

Best Practices with R

Course Level: Intermediate

So you can write code? Great. But can you write code which is easy to read, simple to maintain, and reproducible? Under the pressure of deadlines even the best of us can fall victim to bad-practices. In this course we motivate the importance of good-practices, and show how we can make best practices second nature by incorporating them into our normal workflow.

Online | November 15, 2021,

Price:
Venue Details:
Start Date:
Time:
Duration:

Select if you qualify for a discount

Course Details

  • Course Outline
  • Learning Outcomes
  • Materials
  • Prior Knowledge

Course Outline

  • Naming: Creating user-friendly variable and function names.
  • Writing Modular Code: Functions that do one thing, well.
  • Documentation: Writing helpful comments & documentation.
  • Code Style: Using spacing and conventions to make code more readable.
  • Testing: Code coverage and error handling.
  • Working Collaboratively: Techniques such as code reviews and pair programming.
  • Reproducible Workflows: Introduction to version control and building an analysis workflow.

Learning Outcomes

By the end of the course participants will…

  • understand the importance of clean code.
  • write functions to minimise duplication.
  • reflect on and refactor code.
  • write code for humans not computers.
  • work collaboratively through pair programming.

Materials

  • Example course material for 'Best Practices with R
  • Example course material for 'Best Practices with R
  • Example course material for 'Best Practices with R
  • Example course material for 'Best Practices with R
  • Example course material for 'Best Practices with R

Prior Knowledge

This course assumes basic knowledge of R. You should be comfortable writing simple R functions. Attending the Introduction to Programming with R course will provide sufficient background.

Attendee Feedback