You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have spotted that tables generated by tab_model() run on a multilevel model fit from the lme4 package generate a warning in Quarto which I was wondering whether you are aware of. Here's a reprex.
Then render with (I'm on the current versions of Quarto 1.6.40 and sjPlot 2.8.17)
quarto::quarto_render(input='example.qmd')
or at the command line with
quarto render example.qmd
and in the output you'll see the following which is caused by the tab_model() table.
WARNING (/Applications/quarto/share/filters/main.lua:9319) Unable to parse table from raw html block: skipping.
It turns out that Quarto has a feature to disabled their processing of html tables, by adding the following attribute to the table html-table-processing: none.
I don't know enough html to know why Quarto doesn't like these tables but I note that it doesn't give the warning if I disable the items in the bottom of the table, e.g.
Thanks so much for several great packages.
I have spotted that tables generated by
tab_model()
run on a multilevel model fit from the lme4 package generate a warning in Quarto which I was wondering whether you are aware of. Here's a reprex.Save the following as say example.qmd
Then render with (I'm on the current versions of Quarto 1.6.40 and sjPlot 2.8.17)
or at the command line with
and in the output you'll see the following which is caused by the
tab_model()
table.It turns out that Quarto has a feature to disabled their processing of html tables, by adding the following attribute to the table
html-table-processing: none
.https://quarto.org/docs/authoring/tables.html#disabling-quarto-table-processing
So simply adding that to the YAML options of the Quarto document (or to the specific code chunk options) avoids the warning.
It can be done programmatically by package authors
https://quarto.org/docs/authoring/tables.html#library-authors
I don't know enough html to know why Quarto doesn't like these tables but I note that it doesn't give the warning if I disable the items in the bottom of the table, e.g.
So I thought I'd check whether you are aware of this.
I didn't check whether this warning is generated by other types of model.
The text was updated successfully, but these errors were encountered: