Skip to content

Commit 95cc8e5

Browse files
committed
prevent NSE shenannigans
1 parent 0ef6d29 commit 95cc8e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/plot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ S7::method(plot, class_ggplot) <- `print.ggplot2::ggplot`
242242

243243
#' @export
244244
`$<-.ggplot2::gg` <- function(x, i, value) {
245-
S7::props(x) <- `$<-`(S7::props(x), i, value)
245+
S7::props(x) <- `[[<-`(S7::props(x), i, value)
246246
x
247247
}
248248

0 commit comments

Comments
 (0)