-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
not sure why this test doesn't catch it:
test_that("points.gsplot accepts formulas",{
gs <- gsplot() %>%
points(y~x, data=list(x=-3:3,y=-3:3))
expect_equal(gs$view$window$xlim, c(-3,3))
expect_equal(gs$view$window$ylim, c(-3,3))
gs
})This fails outside of the test when printing the gs object:
> gs
Show Traceback
Rerun with Debug
Error in formula.default(object, env = baseenv()) : invalid formula This is on master branch v ‘0.5.4’
Reactions are currently unavailable