update to stop unwanted R output being displayed in the chapter (results='hide')