I'd like to stop warnings in plotly without turning off warnings globally
This code is going into a function so it could be run in a different session
This is my code
fit <-
plot_ly(credit_old,
y = ~score,
color = ~fte,
type = "box")
suppressWarnings(fit)
I still get
Warning messages:
1: In RColorBrewer::brewer.pal(N, "Set2") :
minimal value for n is 3, returning requested palette with 3 different levels
2: In RColorBrewer::brewer.pal(N, "Set2") :
minimal value for n is 3, returning requested palette with 3 different levels