r2social R package: Seamlessly include social sharing and connect buttons on a shiny app or rmarkdown

Obinna N. Obianom (pseudonym: William Hane)

2024-05-27

The goal of this new R package is to provide functions that allow the inclusion of share and connect buttons on any page. This has been tested in Rmarkdown documents as well as on simply Shiny applications. See the examples folder of this package.

Constitutes the following features:

Installation and Library Attachment

The r2social package is available on CRAN and can be installed as shown below

install.packages(r2social)

Attach library

library(r2social)

Use

The r2social can be used within the R Markdown document or in Shiny applications as shown below

Include the scripts and stylesheets for Rmarkdown

r2social.scripts()

Full examples and documentation