Skip to content

#| out/fig-width: ignored when specifying #| layout-nrow/col: #2251

Description

@HelenaLC

Bug description

repex

.qmd:

```{r}
url1 <- "https://www.haustier-news.de/welpen/wp-content/uploads/2020/09/pomeranian.jpg"
url2 <- "https://www.allthingsdogs.com/wp-content/uploads/2020/01/White-Pomeranian-Feature-678x381.jpg"
```

# this works

```{r}
#| label: a-pomeranian
#| out-width: 50%
knitr::include_graphics(url1)
```

```{r}
#| label: another-pomeranian
#| out-width: 25%
knitr::include_graphics(url1)
```

# this doesn't

```{r}
#| label: two-pomeranians
#| fig-show: hold
#| out-width: 25%
#| layout-nrow: 1
knitr::include_graphics(url1)
knitr::include_graphics(url2)
```

output:

image

software

  • Quarto version 1.1.168
  • macOS Monterey version 12.2
  • RStudio IDE version "Prairie Trillium" Release
    (1db809b8, 2022-05-16) for macOS

Checklist

  • 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.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions