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

Investigate refer failure #219

Closed
hadley opened this issue Aug 21, 2024 · 1 comment · Fixed by #223
Closed

Investigate refer failure #219

hadley opened this issue Aug 21, 2024 · 1 comment · Fixed by #223

Comments

@hadley
Copy link
Member

hadley commented Aug 21, 2024

library(refer)
x <- 1:10
evaluate::evaluate("refer::slice(x, 3:6)")
#> <evaluation>
#> Source code: 
#>   refer::slice(x, 3:6)
#> Condition: 
#>   Error in get0(sub_x, envir = sys.frame(i), ifnotfound = NULL):
#>   promise already under evaluation: recursive default argument reference or earlier problems?

Created on 2024-08-21 with reprex v2.1.0

Probably because it's doing something suspicious with the call stack, but worth double checking.

@hadley hadley mentioned this issue Aug 21, 2024
10 tasks
@hadley
Copy link
Member Author

hadley commented Aug 21, 2024

The error arises when evaluating x in the withVisible(do) frame.

hadley added a commit that referenced this issue Sep 5, 2024
Closes #210. Fixes #214. Closes #219. Fixes #220. Closes #221.
@hadley hadley closed this as completed in b834959 Sep 9, 2024
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

Successfully merging a pull request may close this issue.

1 participant