Formats a data.frame into HTML code, so it can be used in e.g. mail()
or teams()
.
plain_html_table(x, max_col = Inf)
plain_html_table(mtcars[1:2, 1:2])
#> [1] "<table><thead><td><strong> </strong></td><td><strong>mpg</strong></td><td><strong>cyl</strong></td></thead><tr><td>Mazda RX4</td><td align=\"right\">21</td><td align=\"right\">6</td></tr><tr><td>Mazda RX4 Wag</td><td align=\"right\">21</td><td align=\"right\">6</td></tr></table>"