Compare commits

...

1 Commits

Author SHA1 Message Date
Joe Cheng
b7c938456a Respect options(warn) if warn > 1 2015-12-10 10:59:49 -08:00

View File

@@ -560,8 +560,10 @@ runApp <- function(appDir=getwd(),
host <- '0.0.0.0'
# Make warnings print immediately
ops <- options(warn = 1)
on.exit(options(ops), add = TRUE)
if (getOption("warn", 0) < 1) {
ops <- options(warn = 1)
on.exit(options(ops), add = TRUE)
}
workerId(workerId)