Both base R and many of the R packages have datasets included which help illustrate the use of various features in R. This site consolidates all of those datasets in a single repository with good documentation.
Vincent Arel-Bundock (2024). Rdatasets: A collection of datasets originally distributed in various R packages. R package version 1.0.0.