rstudio / rmarkdown-book

R Markdown: The Definitive Guide (published by Chapman & Hall/CRC in July 2018)
https://bookdown.org/yihui/rmarkdown
Other
783 stars 522 forks source link

fix source code of `sparkline:::sparkline_html()` #49

Closed dongzhuoer closed 5 years ago

dongzhuoer commented 5 years ago

I see, I just type sparkline:::sparkline_html in R console.

dongzhuoer commented 5 years ago

But after I dig a while, I find the source code does use htmltools::

https://github.com/htmlwidgets/sparkline/blob/69d86d146323bd2f1abc86db4c9dbac4b482d19e/R/sparkline.R#L63-L65