Skip to content

Commit 31a1ef6

Browse files
committed
fixed the expect_traces function
1 parent 86fbec5 commit 31a1ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-ggplot-coord.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ context("Fixed coordinates")
33
# Expect trace function
44
expect_traces <- function(gg, n_traces, name) {
55
stopifnot(is.ggplot(gg))
6-
stopifnot(is.numeric(n.traces))
6+
stopifnot(is.numeric(n_traces))
77
save_outputs(gg, paste0("coord_fixed-", name))
88
L <- gg2list(gg)
99
all_traces <- L$data

0 commit comments

Comments
 (0)