ch3 changes for knitr v1.4.1