Open s-andrews opened 1 year ago
@s-andrews thanks for the report.
[>] Checking Quarto installation......OK Version: 1.2.335 Path: C:\Program Files\RStudio\resources\app\bin\quarto\bin CodePage: 1252
Are you able to try our latest pre-release version ? you can find it at https://quarto.org/docs/download/prerelease.html
Maybe the issue is already fix in it.
Otherwise, what I could think off.
Quarto will use Rscript.exe
- can you check this is indeed in your folder ¿
C:\Users\andrewss\AppData\Local\Programs\R\R-4.2.3\bin\x64\
Should be, but just want to be sure.
Also, how did you install R ? It seems to be in %APPDATA%
and I wonder how I can reproduce that officialy (without moving my install there).
Anyhow, for now I can't reproduce with latest pre-release 1.3
Never mind - it's something to do with my system. I hadn't tried Rscript.exe but it looks like that is broken - I think it's being blocked by our secuity software so even a simple:
Rscript --version
..doesn't produce any output. This is almost certainly why nothing is working.
This isn't a bug in quarto.
If I could make a secondary suggestion through, having a bit more detail about what is happening with the R tests in quarto check
would have been really useful. Knowing what file it was looking for and where it was looking would have helped get to the bottom of this.
Thanks for your quick response.
@s-andrews we hear you. We already have at least another open issue for improving the output of quarto check
: https://github.com/quarto-dev/quarto-cli/issues/4845 so this one would also be useful.
This may also be related https://github.com/quarto-dev/quarto-cli/issues/1392
Let's use this one to track the message, since I think #4956 is a duplicate of this.
@cderv please I will like to know if there is any solution on this issue yet? I am having the same problem as described here with quarto. I am using a windows machine.
@BB1464 Thanks for your interest in this issue. When an issue is fixed, the issue is closed. As you can see, this issue is not closed, thus not fixed. For short, there is no need to ping/tag (randomly) anyone. Be patient. Thank you for your consideration.
Thank you for your response @mcanouil, once again my apologies for tagging someone in my initial question!!!
@BB1464 in addition to @mcanouil comment, there is a high chance that your own issue is not related to this one.
In short, this specific issue is :
Rscript
and calling it on the OP environment was not working (https://github.com/quarto-dev/quarto-cli/issues/4930#issuecomment-1481515107) This issue is still open because it is about improving quarto check
output to give more hints on what is happening.
So if your question was: is quarto check
updated yet ? The answer is no - this issue will be closed when it does.
If your question was: Me too I encounter Unable to locate an installed version of R.
, then this is quite specific and probably another issue that needs to have its own thread.
Hope it helps
Thank you very much @cderv my issues relate to quarto not able to find an installed version of R, I will open a new issue on this just as you suggested!!!
Bug description
Quarto is failing to find the R installation on my machine. This fails from within R studio and when run from a shell. R is in the PATH and works as expected. R works fine within RStudio and compilation with RMarkdown also works.
So this fails. but R is definitely there and works.
This even fails if I explicitly set QUARTO_R
There are no files relating to R in the quarto log directory.
If it matters, the version of RStudio is 2023.03.0
OS is Windows10.
Checklist
quarto check
so we know which version of quarto and its dependencies you're running.