Tools to Enable Easier Content Embedding in Tweets
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
boB Rudis 0e31002903
twitter card htmldocument
il y a 5 ans
R twitter card htmldocument il y a 5 ans
inst/rmarkdown/templates/twittercard twitter card htmldocument il y a 5 ans
man twitter card htmldocument il y a 5 ans
tests R package repo initialization complete il y a 5 ans
vignettes initial commit il y a 5 ans
.Rbuildignore twitter card htmldocument il y a 5 ans
.codecov.yml R package repo initialization complete il y a 5 ans
.gitignore initial commit il y a 5 ans
.travis.yml libssh travis il y a 5 ans
CONDUCT.md R package repo initialization complete il y a 5 ans
DESCRIPTION twitter card htmldocument il y a 5 ans
LICENSE twitter card htmldocument il y a 5 ans
LICENSE.md twitter card htmldocument il y a 5 ans
NAMESPACE twitter card htmldocument il y a 5 ans
NEWS.md post-creation test nudge il y a 5 ans
README.Rmd twitter card htmldocument il y a 5 ans
README.md twitter card htmldocument il y a 5 ans
widgetcard.Rproj R package repo initialization complete il y a 5 ans

README.md

Project Status: Active – The project has reached a stable, usablestate and is being activelydeveloped. Signedby Signed commit% Linux buildStatus CoverageStatus Minimal RVersion License

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
  • twitter_document: Standard HTML Document with Twitter Tags

Installation

install.packages("widgetcard", repos = "https://cinc.rud.is")
# or
remotes::install_git("https://git.rud.is/hrbrmstr/widgetcard.git")
# or
remotes::install_git("https://git.sr.ht/~hrbrmstr/widgetcard")
# or
remotes::install_gitlab("hrbrmstr/widgetcard")
# or
remotes::install_bitbucket("hrbrmstr/widgetcard")
# or
remotes::install_github("hrbrmstr/widgetcard")

NOTE: To use the ‘remotes’ install options you will need to have the {remotes} package installed.

Usage

See the vignette.

widgetcard Metrics

Lang # Files (%) LoC (%) Blank lines (%) # Lines (%)
HTML 1 0.08 370 0.44 31 0.19 1 0.00
R 8 0.67 370 0.44 70 0.44 172 0.49
Rmd 3 0.25 92 0.11 58 0.36 175 0.50

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.