Fail if there is a knitr error