grantmcdermott / quarto-revealjs-clean

A minimalist and elegant presentation theme for Quarto Reveal.js
https://grantmcdermott.com/quarto-revealjs-clean-demo/template.html
MIT License
230 stars 37 forks source link

Error in full template #9

Closed kylebutts closed 8 months ago

kylebutts commented 8 months ago

Opening issue from a commit comment. Error when rendering: quarto use template grantmcdermott/quarto-revealjs-clean-demo

Quitting from lines 295-302 [etable] (temp.qmd)
Error in `path.expand()`:
! invalid 'path' argument
Backtrace:
 1. fixest::etable(mods, highlight = .(se = "complaints"), arraystretch = 1.5)
 2. fixest:::path_to_relative(path)
 3. base::normalizePath(x, "/", mustWork = FALSE)
 4. base::path.expand(path)
Execution halted
grantmcdermott commented 8 months ago

Ugh, looks like a recent Quarto (or maybe fixest?) update broke this.

Haven't had time to debug properly, but the problem seems to be with setFixest_etable(markdown = TRUE) here. Removing that line allows the slide deck to render properly, although this particular slide/table looks rubbish now.

grantmcdermott commented 8 months ago

Scratch that: I spoke too soon. I have a new version of R and had not updated pdftools. Installing this, and other dependencies as per the instructions in the slide deck, leads to everything rendering fine.