We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a706636 commit 56a0c2aCopy full SHA for 56a0c2a
R/utils.R
@@ -49,7 +49,7 @@
49
} else {
50
theme <- get(theme_parts[1], mode = "function")
51
}
52
- } else if (!is.function(theme) || !"theme" %in% class(theme)) {
+ } else if (!is.function(theme) && !"theme" %in% class(theme)) {
53
insight::format_error(
54
"Plot theme must be a function, or a string naming a theme function."
55
)
0 commit comments