Skip to content

Commit f763097

Browse files
authored
Update R/htmlwidgets.R
1 parent 4ad8906 commit f763097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/htmlwidgets.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ shinyWidgetOutput <- function(outputId, name, width, height, package = name,
478478

479479
# Theme reporting requires this shiny feature
480480
# https://github.com/rstudio/shiny/pull/2740/files
481-
if (reportTheme && is_installed("shiny", "1.4.0.9003")) {
481+
if (reportTheme && !is_installed("shiny", "1.4.0.9003")) {
482482
message("`reportTheme = TRUE` requires shiny v.1.4.0.9003 or higher. Consider upgrading shiny.")
483483
}
484484

0 commit comments

Comments
 (0)