### Bug description

About this machine and it's version of R and RStudio:
```{r}
> tibble::enframe(Sys.info()) |>
+   dplyr::filter(name %in% c('sysname','release','version','machine'))
# A tibble: 4 × 2
  name    value      
  <chr>   <chr>      
1 sysname Windows    
2 release 10 x64     
3 version build 22621
4 machine x86-64     
> paste(R.version$major, R.version$minor, sep='.')
[1] "4.3.0"
> RStudio.Version()$long_version
[1] "2023.03.0+386"
> quarto::quarto_version()
[1] ‘1.4.11’
```

In the project's `_quarto.yaml` are:
```{r}
engine: knitr

project:
  type: book
  
book:
  title: "fancy title"
  author: "me"
  date: today
  date-format: long
  reader-mode: true
```
Note that I have attempted to add in the `engine: knitr` option as suggested in [https://github.com/quarto-dev/quarto-cli/discussions/4855](https://github.com/quarto-dev/quarto-cli/discussions/4855)

The `index.qmd` contains:
```{r}
# Preface {.unnumbered}

These notes have been developed with:

-   R version `r paste(R.version$major, R.version$minor, sep='.')`
-   RStudio version 2023.03.0+386
-   Quarto version `r quarto::quarto_version()`

R, RStudio, and Quarto are all free to download and use. You can learn more about both R and RStudio and download them both from <https://posit.co/download/rstudio-desktop/>.

To learn more about Quarto books visit <https://quarto.org/docs/books>.
```

However, whenever I attempt to render this document individually, the preview still shows the code and not the results. 

### 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.
2023-04-28T21:40:43Z
jkylearmstrong
bug
closed
r inline code not executed
https://github.com/quarto-dev/quarto-cli/issues/5349