### Bug description

I have dynamically created tabs that contain figures with `purrr::walk`. In the past, I think `fig.asp` worked. But now including `fig.asp` in the chunk options doesn't display the tabs.



Here is the reproducible code:

````
---
title: "fig.asp breaks panel-tabset"
format: html
---

```{r setup, include=FALSE}
library(tidyverse)

df=iris

fig_fxn = function(x){
  df %>% 
  filter(Species==x) %>% 
  ggplot(aes(Sepal.Length)) + geom_histogram()
}

```

## first tab with no fig.asp

::: {.panel-tabset}

```{r }
#| output: asis

levels(df$Species) %>% 
  walk(
    function(x){
      cat(paste("###", x, "\n"))
      fig_fxn(x) %>% print()
    }
  )
```
:::

## second tab with fig.asp

::: {.panel-tabset}

```{r fig.asp=.25}
#| output: asis

levels(df$Species) %>% 
  walk(
    function(x){
      cat(paste("###", x, "\n"))
      fig_fxn(x) %>% print()
    }
  )
```
:::
````

**RStudio IDE Version**
RStudio 2023.03.1+446 "Cherry Blossom" Release (6e31ffc3ef2a1f81d377eeccab71ddc11cfbd29e, 2023-05-09) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.03.1+446 Chrome/108.0.5359.179 Electron/22.0.3 Safari/537.36

**Operation System**
Edition	Windows 10 Pro
Version	21H2
Installed on	‎9/‎12/‎2020
OS build	19044.2965
Experience	Windows Feature Experience Pack 1000.19041.1000.0

**quarto check output**
[>] Checking Quarto installation......OK
      Version: 1.0.37
      Path: C:\Users\negat\AppData\Local\Programs\Quarto\bin\
      CodePage: 1252

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

[>] Checking Python 3 installation....OK
      Version: 3.9.6
      Path: C:/Users/negat/AppData/Local/Programs/Python/Python39/python.exe
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with py -m pip install jupyter

      There is an unactivated Python environment in miniconda3. Did you forget to activate it?

[>] Checking R installation...........OK
      Version: 4.3.0
      Path: C:/PROGRA~1/R/R-43~1.0
      LibPaths:
        - C:/Users/negat/AppData/Local/R/win-library/4.3
        - C:/Program Files/R/R-4.3.0/library
      rmarkdown: 2.21

[>] Checking Knitr engine render......OK



### 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-05-24T20:04:43Z
fuhred
knitr
closed
Tabsets break when using purrr::walk and fig.asp
https://github.com/quarto-dev/quarto-cli/issues/5667