From 9a925db9b6aab25ca15d3c023df5b452e2906dad Mon Sep 17 00:00:00 2001 From: mcsiple Date: Thu, 28 Oct 2021 20:37:13 -0700 Subject: [PATCH] fix deprecated dplyr issue --- R/app_server.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/app_server.R b/R/app_server.R index 3241de0..3af2ef8 100644 --- a/R/app_server.R +++ b/R/app_server.R @@ -900,8 +900,9 @@ app_server <- function( input, output, session ) { round(PBR.metrics()$Rmax, digits = 2) ) ) + PB %>% - dplyr::mutate_if(is.numeric, .funs = as.character(signif(., 2))) %>% + dplyr::mutate_if(is.numeric, function(x) as.character(signif(x, 2))) %>% kableExtra::kable(escape = FALSE) %>% kableExtra::kable_styling("striped") }