Using the `prompt/comment/collapse` options in an R chunk to simulate a CLI interaction does not seem to work. The `prompt` and `comment` options seem to be ignored. This file illustrates the issue:

````
---
execute:
  echo: true
---

```{r, prompt = TRUE, comment = "", collapse = TRUE}
1 + 2
```

```{r}
#| collapse: true
#| prompt: true
#| comment: ""
1 + 2
```
````

cderv
2022-05-31T22:27:43Z
ltierney
closed
Using `prompt/comment/collapse` in an R chunk not working as in Rmarkdown
https://github.com/quarto-dev/quarto-cli/issues/1035