Skip to content

Commit 18eb028

Browse files
committed
try suppressing warnings on remote session
1 parent 9350750 commit 18eb028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ save_outputs <- function(gg, name) {
8585
} else FALSE
8686
if (has_diff || build_table) {
8787
RSassign(conn, gg)
88-
pm <- RSeval(conn, "tryCatch(plotly::plotly_build(gg)$x[c('data', 'layout')], error = function(e) e$message)")
88+
pm <- RSeval(conn, "tryCatch(suppressWarnings(plotly::plotly_build(gg))$x[c('data', 'layout')], error = function(e) e$message)")
8989
if (build_table) {
9090
# save pngs of ggplot
9191
filename <- paste0(gsub("\\s+", "-", name), ".png")

0 commit comments

Comments
 (0)