Exercise: Check for leap year

  1. Load the lubridate package.
  2. Use the leap_year function to check if 2020 is leap year or not. (Hint: the function takes the year in the form of a number as the first parameter date )

Submit code to see output here.

Use existing functions and data through packages