RPubs will retire in June 2027.
Your existing documents will stay accessible through December 31, 2031
and
Connect Cloud
is the recommended home for new publishing.
Read the blog post
Basics of ggplot2 with agricultural data. The data credit is due to the agridat package, and the materials are heavily inspired by R for Data Science online book (https://r4ds.had.co.nz).