Updating Ch12 for new version of knitr