You can access exercises and answers for all of the chapters through the reprores
package.
# run this to access the exercise
reprores::exercise(1)
# run this to access the answers
reprores::exercise(1, answers = TRUE)
Alternatively, download all exercises and data files below as a ZIP archive. The answers are not included in the zip file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.