Skip to content

Commit

Permalink
Corrected var name error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjoerich committed Mar 4, 2023
1 parent 63726c9 commit 4d2b036
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/testthat/test-stat_apply_group.R
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
context("stat_apply_group")

library(ggplot2)
library(ggpp)

context("stat_apply_group")

test_that("stat_apply_group", {
my.df.unsorted <- data.frame(X = rep(1:20,2),
Y = runif(40)*10,
category = rep(c("A","B"), each = 20))

my.df <- my.df[order(my.df[["X"]]), ]
my.df <- my.df.unsorted[order(my.df.unsorted[["X"]]), ]

result <- ggplot(my.df, aes(x = X, y = Y, colour = category)) +
geom_point() +
Expand Down

0 comments on commit 4d2b036

Please sign in to comment.