Tools to Enable Easier Content Embedding in Tweets
The following functions are implemented:
card_widget
: Turn an htmlwidget into a web deployable, interactive Twitter cardgg_preview
: Generate a Twitter Player card preview image from a ggplot2 plotinstall.packages("widgetcard", repos = "https://cinc.rud.is/")
# or
devtools::install_git("https://git.sr.ht/~hrbrmstr/widgetcard")
# or
devtools::install_gitlab("hrbrmstr/widgetcard")
# or (if you must)
devtools::install_github("hrbrmstr/widgetcard")
See the vignette.
Lang | # Files | (%) | LoC | (%) | Blank lines | (%) | # Lines | (%) |
---|---|---|---|---|---|---|---|---|
R | 6 | 0.75 | 321 | 0.87 | 59 | 0.6 | 125 | 0.54 |
Rmd | 2 | 0.25 | 50 | 0.13 | 39 | 0.4 | 108 | 0.46 |
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.