Skip to content

Commit 2663bb1

Browse files
committed
Fix deprecation calls
1 parent bb2c405 commit 2663bb1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/plot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ is_ggplot <- function(x) inherits(x, "ggplot")
167167
#' @rdname is_tests
168168
#' @usage is.ggplot(x) # Deprecated
169169
is.ggplot <- function(x) {
170-
deprecate_soft0("3.5.2", "is.ggplot", "is_ggplot")
170+
deprecate_soft0("3.5.2", "is.ggplot()", "is_ggplot()")
171171
is_ggplot(x)
172172
}
173173

R/theme.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ is_theme <- function(x) inherits(x, "theme")
873873
#' @rdname is_tests
874874
#' @usage is.theme(x) # Deprecated
875875
is.theme <- function(x) {
876-
deprecate_soft0("3.5.2", "is.theme", "is_theme")
876+
deprecate_soft0("3.5.2", "is.theme()", "is_theme()")
877877
is_theme(x)
878878
}
879879

0 commit comments

Comments
 (0)