The goal of xkcd is to show XKCD comics in the plots pane.
You can install the development version of xkcd from GitHub with:
# install.packages("devtools")
devtools::install_github("Elm-trees/xkcd")
library(xkcd)
first_comic <- xkcd(1)
print(first_comic)
#> $month
#> [1] "1"
#>
#> $num
#> [1] 1
#>
#> $link
#> [1] ""
#>
#> $year
#> [1] "2006"
#>
#> $news
#> [1] ""
#>
#> $safe_title
#> [1] "Barrel - Part 1"
#>
#> $transcript
#> [1] "[[A boy sits in a barrel which is floating in an ocean.]]\nBoy: I wonder where I'll float next?\n[[The barrel drifts into the distance. Nothing else can be seen.]]\n{{Alt: Don't we all.}}"
#>
#> $alt
#> [1] "Don't we all."
#>
#> $img
#> [1] "https://imgs.xkcd.com/comics/barrel_cropped_(1).jpg"
#>
#> $title
#> [1] "Barrel - Part 1"
#>
#> $day
#> [1] "1"