-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Description
This is with a fresh build of dplyr as of 20 minutes ago. It looks like multiple references to . or .data is confusing the evaluator.
# this works
> do(mtcars, m=lm(mpg ~ ., data=.))
# A tibble: 1 x 1
m
<list>
1 <S3: lm>
# these don't work
> do(mtcars, m=lm(mpg ~ ., data=.), w=lm(wt ~ ., data=.))
Error in is.data.frame(data) : object '.' not found
> do(mtcars, m=lm(mpg ~ ., data=.data), w=lm(wt ~ ., data=.data))
Error in is.data.frame(data) : object '.data' not found
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior