In order to run this example, we need to install the R6 package. It can be installed using install.packages("R6")