Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some mistakes don't throw errors #20

Closed
hadley opened this issue Jul 26, 2017 · 4 comments
Closed

Some mistakes don't throw errors #20

hadley opened this issue Jul 26, 2017 · 4 comments

Comments

@hadley
Copy link
Member

hadley commented Jul 26, 2017

e.g.

library(zeallot)

{1} %<-% list(1)
{f()} %<-% list(1)
@nteetor
Copy link
Member

nteetor commented Jul 26, 2017

{1} %<-% list(1) is questionably valid since `1` <- 1 is a valid R expression.

The behaviour of your second example is not intended and I will look into it, thank you for bringing the problem to my attention.

@hadley
Copy link
Member Author

hadley commented Jul 26, 2017

But 1 <- 1 is not. I don't think zeallot syntax implies automatic quoting of the LHS.

@nteetor
Copy link
Member

nteetor commented Jul 26, 2017

Correct, there is no mention of automatic quoting of the LHS. This can be addressed (the error message, not automatic quoting).

@nteetor
Copy link
Member

nteetor commented Jul 26, 2017

Note to self, be sure to address this issue when working through syntax conversion #21

nteetor pushed a commit that referenced this issue Jul 27, 2017
@nteetor nteetor closed this as completed Jul 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants