vincentarelbundock / modelsummary

Beautiful and customizable model summaries in R.
http://modelsummary.com
Other
911 stars 75 forks source link

Accept glue() output in notes #792

Closed LukasWallrich closed 2 months ago

LukasWallrich commented 3 months ago

Often it can be helpful to create notes with glue() - yet if you pass that directly, it fails with a very obscure error message (in a clean console, not in reprex - maybe because that defaults to a different table engine?) Maybe you can check if notes are string-like and then convert them before passing them on?

image

vincentarelbundock commented 2 months ago

Thanks for the report. This can be fixed by installing version 0.3.0.32 of tinytable (not modelsummary!)

Background: The problem was that the glue output was not detected as an atomic vector by check_atomic_vector()