From 9f42abb52e08d06612dfdb6d7c6968420356872b Mon Sep 17 00:00:00 2001 From: Holger Brandl <brandl@mpi-cbg.de> Date: Wed, 26 Nov 2014 12:41:16 +0100 Subject: [PATCH] cont. with dge analysis --- R/utils/spinr.R | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/R/utils/spinr.R b/R/utils/spinr.R index 44e857c..68eb8bb 100644 --- a/R/utils/spinr.R +++ b/R/utils/spinr.R @@ -27,6 +27,10 @@ cssHeader=' ## custom title http://stackoverflow.com/questions/14124022/setting-html-meta-elements-with-knitr opts_chunk$set(cache = TRUE, fig.width=10, width=120) + +## tell knitr to stop on errors https://github.com/yihui/knitr/issues/344 and http://yihui.name/knitr/options +opts_knit$set(stop_on_error = 2L) + knit2html(basename(rmdScript), header=cssHeader) file.remove(basename(rmdScript)) -- GitLab