-
Notifications
You must be signed in to change notification settings - Fork 82
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
future_lapply
ran into subscript out of bounds
error when function have use $<-
with magrittr pipe.
#718
Comments
Why |
Thanks for the report. I tracked this down to: > f <- function(x) { x %>% `$<-`(abc, "") }
> codetools::findGlobals(f)
Error in e[[4]] : subscript out of bounds which means this is outside of Futureverse. So, I think you've actually found a bug in the codetools package. I report to its maintainer. |
Okay, thanks. 😄 And I found that just Or foo = `$<-` at first then use |
Yes; I've just reported at https://gitlab.com/luke-tierney/codetools/-/issues/16 |
Describe the bug
I got a error
Error in e[[4]] : subscript out of bounds
when I run this:and this will not give me that error:
I tested them both in my rstudio and webr repl.
Reproduce example
Expected behavior
This error should not happens here.
Session information
The text was updated successfully, but these errors were encountered: