-
Notifications
You must be signed in to change notification settings - Fork 26
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
Feature request - Return Quarto version #12
Comments
You mean that the version used for Quarto in RStudio will not be the same as in Terminal ?
This function will return the version found by We could return the path of the version bundled with RStudio IDE as we should know where it is but as I said, I don't think this is the one that will used if there is another one set in PATH. (the one accessible from Terminal) |
My current understanding is that there are 3 ways of defining
Questions:
|
As a comparison point,
|
Here by Quarto version, I think @jthomasmock meant something like |
@jthomasmock if what you are looking for is rather something to diagnose things like Currently So either we do add another unrelated function that would help understand what R and RStudio see, based on #12 (comment) or we do adapt how the R package works and maybe add support for Currently you can get the quarto::quarto_path()
#> [1] "C:\\Users\\chris\\scoop\\shims\\quarto.exe"
quarto::quarto_version()
#> [1] '1.4.549' Created on 2024-01-24 with reprex v2.0.2 |
Thanks @cderv ! I had spoken briefly with @dragonstyle about moving towards combining In the current state where Quarto is configurable in RStudio in the 3 ways ($PATH, RSTUDIO_QUARTO, QUARTO_PATH), sitrep would parse all 3 and confirm they're the same 😄 But I do wonder if we'd also want to move towards a world where |
We definitely could. It is easy enough to support For changing We can add a |
In theory it's possible to have different versions of
quarto
available via the terminal versus what version the RStudio IDE + Render button orquarto::quarto_render()
default to.quarto::quarto_path()
is a useful upstream step, but it would be great to also return the quarto version that R/RStudio are currently using.The text was updated successfully, but these errors were encountered: