weinbergerlab / InterventionEvaluatR

Other
5 stars 3 forks source link

xtable is suboptimal for live demos #32

Open innermatrix opened 5 years ago

innermatrix commented 5 years ago

We replaced kable with xtable because kable was creating problems with Brazil vignette output (see #12) but now we discovered that xtable is awful for inline rendering and live demos (because it prints HTML to R output chunk, which is useless). Investigate whether xtable has a mode that is useful or write a wrapper around xtable/kable that picks the better one, depending on the context.

DanWeinberger commented 5 years ago

I have replace the xtable refs with htmlTable, which seems more stable