reprex
reprex copied to clipboard
Update `rstudio_open_and_select_all()`
A better API for activating documents in RStudio is taking shape. Next time I work on reprex, check the status and consider updating rstudio_open_and_select_all()
to take advantage.
Work already completed in the IDE: https://github.com/rstudio/rstudio/issues/8938
Related issues re: exposing the functionality in rstudioapi: https://github.com/rstudio/rstudioapi/issues/250 https://github.com/rstudio/rstudioapi/issues/251
I read up on this 2022-08-14, but it feels like the changes in the IDE are too new to use in reprex, i.e. I'd have to do some sort of check of the RStudio version, which just makes everything more brittle.