Check out the vignette under Articles to see a bookdown book smushed into an R package. This can be loaded locally as well.