-
I am trying to generate a PDF file using Quarto, but I am getting an error when I try to use ojs_define. When ojs_define is commented out the PDF renders without any issues. The error message is the following:
I am using R 4.2.1 on Windows and I am using Visual Studio Code, but when I tried in RStudio I got the same error. For a minimal reproducible example I have the following files: _quarto.yml
index.qmd (was required to make a book, only includes # Index) example.qmd
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is a bug, because we shouldn't be emitting this bad error message. But I think you're expecting |
Beta Was this translation helpful? Give feedback.
This is a bug, because we shouldn't be emitting this bad error message.
But I think you're expecting
ojs_define
to work in PDF formats. It won't, because Observable is a javascript library, and so it fundamentally requires HTML output.