Skip to content

Commit

Permalink
fix deprecated dplyr issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mcsiple committed Oct 29, 2021
1 parent f1d50c0 commit 9a925db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/app_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 9a925db

Please sign in to comment.