Prerequisites

library(googlesheets4)  
library(tidyverse)  

A quick note about the name of the package: googlesheets4 uses v4 of the Sheets API v4 to provide an R interface to Google Sheets, hence the name.