File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -1409,11 +1409,18 @@ srv_distribution <- function(id,
14091409 title = " R Code for distribution"
14101410 )
14111411 reactive(
1412- if (input $ tabs == " Histogram" ) {
1413- c(decorated_output_dist_q(), decorated_output_summary_q(), decorated_output_test_q())
1414- } else if (input $ tabs == " QQplot" ) {
1415- c(decorated_output_qq_q(), decorated_output_summary_q(), decorated_output_test_q())
1416- }
1412+ withCallingHandlers(
1413+ if (input $ tabs == " Histogram" ) {
1414+ c(decorated_output_dist_q(), decorated_output_summary_q(), decorated_output_test_q())
1415+ } else if (input $ tabs == " QQplot" ) {
1416+ c(decorated_output_qq_q(), decorated_output_summary_q(), decorated_output_test_q())
1417+ },
1418+ warning = function (w ) {
1419+ if (grepl(" Restoring original content and adding only" , conditionMessage(w ))) {
1420+ invokeRestart(" muffleWarning" )
1421+ }
1422+ }
1423+ )
14171424 )
14181425 })
14191426}
You can’t perform that action at this time.
0 commit comments