Get startedGet started for free

Header comments

Header comments are placed at the top of a file. However, some comments can quickly go out of date and an out of date comment is worse than no comment at all!

This exercise is part of the course

Defensive R Programming

View Course

Exercise instructions

  • Delete the comments that you feel would go out of date.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# License: GPL-2
# Packages used: ggplot2, tidyverse
# No of lines: 25
Edit and Run Code