-
Notifications
You must be signed in to change notification settings - Fork 35
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
Latest release seems to have started ignoring new_device=FALSE #234
Comments
Can you please provide a reprex? |
Hi,
Thanks for the quick response.
A graphics window is opening each time I run evaluate on the latest evaluate package and R.
For example:
evaluate::evaluate(" a <- 2",stop_on_error=0,new_device=FALSE)
I am using R 4.4.2.
On the same PC, old versions of R and evaluate do not do this.
Many thanks for your help,
Adrian
… On 20/01/2025 20:29 GMT Hadley Wickham ***@***.***> wrote:
Can you please provide a reprex?
—
Reply to this email directly, view it on GitHub (#234 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/BOVZL2ERIMZACQOJI4LS77T2LVMDZAVCNFSM6AAAAABVQZHLUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBTGE4DQNRYGQ).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hmmmm, this is fine when I run it in positron or in a reprex: packageVersion("evaluate")
#> [1] '1.0.3'
dev.list()
#> quartz_off_screen
#> 2
evaluate::evaluate(
" a <- 2",
stop_on_error = 0,
new_device = FALSE
)
#> <evaluation>
#> Source code:
#> a <- 2
dev.list()
#> quartz_off_screen
#> 2 Created on 2025-01-21 with reprex v2.1.0 But when I run it in a raw R terminal the first |
hadley
added a commit
that referenced
this issue
Jan 21, 2025
Because `par("page")` will open a device if one is not already open. Fixes #234.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Latest release seems to have started ignoring new_device=FALSE.
I've not had an issue with previous versions.
The text was updated successfully, but these errors were encountered: