Skip to content

r2social

Seamless Integration of Sharing and Connect Buttons in Markdown and Apps

v1.2.1 · Jul 29, 2024 · MIT + file LICENSE

Description

Implementation of 'JQuery' <https://jquery.com> and 'CSS' styles to allow easy incorporation of various social media elements on a page. The elements include addition of share buttons or connect with us buttons or hyperlink buttons to 'Shiny' applications or dashboards and 'Rmarkdown' documents.Sharing capability on social media platforms including 'Facebook' <https://www.facebook.com>, 'Linkedin' <https://www.linkedin.com>, 'X/Twitter' <https://x.com>, 'Tumblr' <https://www.tumblr.com>, 'Pinterest' <https://www.pinterest.com>, 'Whatsapp' <https://www.whatsapp.com>, 'Reddit' <https://www.reddit.com>, 'Baidu' <https://www.baidu.com>, 'Blogger' <https://www.blogger.com>, 'Weibo' <https://www.weibo.com>, 'Instagram' <https://www.instagram.com>, 'Telegram' <https://www.telegram.me>, 'Youtube' <https://www.youtube.com>.

Downloads

CRAN

266

Last 30 days

18476th

611

Last 90 days

2.4K

Last year

Trend: +84.7% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

25

Last 90 days

96

Last year

Trend: -90% (30d vs prior 30d)

autoCRAN

8

Last 7 days

19

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

7 6 exported

Complexity

1.7 avg / 3 max

Call network

7 nodes / 4 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Compare versions

Code

Structure

Lines of code

1,292

Files

28

Compiled share

0%

Has compiled src

No

Language breakdown

R 645 (49.9%)Docs 489 (37.8%)Vignettes 158 (12.2%)

API

Exported functions

6

Internal functions

1

Recent export changes

v1.2+2 profileDisplay1, profileDisplay2
v1.0+4 connectButton, r2social.scripts, shareButton +1 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2022-12-07

Latest release

2024-07-29

Avg cadence

138 days

Cold removal rate

Dep drift

1

LOC over versions

v1.0: 791 LOCv1.1: 837 LOCv1.2: 1,290 LOCv1.2.1: 1,292 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies htmltools shiny quickcode nextGenShinyApps r2social

Version History

5 tracked
new 1.2.1 Mar 10, 2026
updated 1.2.1 ← 1.2 diff Jul 29, 2024
updated 1.2 ← 1.1 diff May 26, 2024
updated 1.1 ← 1.0 diff Jan 9, 2024
new 1.0 Dec 6, 2022