Skip to content

ERROR: "No inspectable targets"-error when rendering PDF containing Mermaid diagram #4653

@streepvaren

Description

@streepvaren

Bug description

Hello,

Í'm using:

  • Latest version of R (4.2.2)
  • Latest version of Rstudio (2022.12.0 Build 353)
  • Latest Quarto (version 1.2.335)
  • Windows 10 Enterprise 22H2

When rendering a PDF from a .QMD-file containing a Mermaid diagram (https://quarto.org/docs/authoring/diagrams.html), my Rstudio gives the error "ERROR: No inspectable targets" and crashes (I'm unable to press stop).
In the past the same .QMD file rendered to PDF without any problem. Rendering to .HTML still works. The same error was recently reported by an Obsidian user: https://forum.obsidian.md/t/about-quarto-no-inspectable-targets-error/54757.

The .QMD-file i'm using can be found in the attached .ZIP (Github doesn't allow uploading QMD's directly, therefore I zipped).

Thanks for the good work!

Best,
Thomas

testdia.zip

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

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions