In order to run this example, you need to install the DiagrammeR package using install.packages("DiagrammeR").