Tools to Enable Easier Content Embedding in Tweets
post-creation test nudge
libssh travis

refs

master
browse log

clone

read-only
https://git.sr.ht/~hrbrmstr/widgetcard
read/write
git@git.sr.ht:~hrbrmstr/widgetcard

Travis-CI Build
Status Coverage
Status CRAN\_Status\_Badge

widgetcard

Tools to Enable Easier Content Embedding in Tweets

Description

Tools to Enable Easier Content Embedding in Tweets

What’s Inside The Tin

The following functions are implemented:

  • card_widget: Turn an htmlwidget into a web deployable, interactive Twitter card
  • gg_preview: Generate a Twitter Player card preview image from a ggplot2 plot

Installation

install.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")

Usage

See the vignette.

widgetcard Metrics

Lang # Files (%) LoC (%) Blank lines (%) # Lines (%)
HTML 1 0.09 370 0.47 31 0.20 1 0.00
R 7 0.64 327 0.41 66 0.42 168 0.48
Rmd 3 0.27 93 0.12 61 0.39 182 0.52

Code of Conduct

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.