Tools to Enable Easier Content Embedding in Tweets
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boB Rudis 154473ed91
post-creation test nudge
2 months ago
R post-creation test nudge 2 months ago
man initial commit 2 months ago
tests R package repo initialization complete 2 months ago
vignettes initial commit 2 months ago
.Rbuildignore initial commit 2 months ago
.codecov.yml R package repo initialization complete 2 months ago
.gitignore initial commit 2 months ago
.travis.yml libssh travis 2 months ago
CONDUCT.md R package repo initialization complete 2 months ago
DESCRIPTION post-creation test nudge 2 months ago
NAMESPACE initial commit 2 months ago
NEWS.md post-creation test nudge 2 months ago
README.Rmd cinc 2 months ago
README.md cinc 2 months ago
widgetcard.Rproj R package repo initialization complete 2 months ago

README.md

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.