### Bug description

The quarto works for python based qmd files and also Jupyter, but does not work for R. I tried `quarto check` and it seems that the problem is induced by Quarto not finding R installation.

```
dev-dsk % quarto check

[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.1: OK
      Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.3.287
      Path: /opt/quarto/1.3.287/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.10.6 (Conda)
      Path: /home/zhakaida/miniconda3/envs/r_hte/bin/python
      Jupyter: 5.2.0
      Kernels: python3, ir, lsm38, r, lsm37, julia-1.8

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/
```

I am in a conda environment, and the R location is :

```
dev-desk % which R
~/miniconda3/envs/r_hte/bin/R
```

and this bin folder is in the PATH

```
% echo $PATH

/home/zhakaida/.toolbox/bin:.:/opt/quarto/1.3.287/bin:/local/home/zhakaida/.vscode-server/bin/ee2b180d582a7f601fa6ecfdad8d9fd269ab1884/bin/remote-cli:/home/zhakaida/.toolbox/bin:/home/zhakaida/miniconda3/envs/r_hte/bin:/home/zhakaida/miniconda3/condabin:/usr/local/bin:/usr/bin:/home/zhakaida/bin:/usr/local/sbin:/usr/sbin:/home/zhakaida/bin:/usr/local/texlive/2022/bin/x86_64-linux:/home/zhakaida/programs/julia-1.8.5/bin:/usr/local/texlive/2022/bin/x86_64-linux:/home/zhakaida/programs/julia-1.8.5/bin
```

The system information is:

```
 Operating System: Amazon Linux 2
CPE OS Name : cpe:2.3:o:amazon:amazon_linux:2:-:internal
Kernel: Linux 5.4.235-151.344.amzn2int.x86_64
Architecture: x86-64
```



### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
- [X] Please provide the output of `quarto check` so we know which version of quarto and its dependencies you're running.
cscheid
2023-03-24T21:14:28Z
kdzhang
bug quarto-check
v1.4
open
Unable to locate an installed version of R
https://github.com/quarto-dev/quarto-cli/issues/4956