{"id":18174502,"url":"https://github.com/oobianom/r2social","last_synced_at":"2026-05-26T20:32:40.124Z","repository":{"id":148398393,"uuid":"527133567","full_name":"oobianom/r2social","owner":"oobianom","description":"R package that provides social links and share buttons for markdown and shiny applications","archived":false,"fork":false,"pushed_at":"2024-07-30T19:39:49.000Z","size":860,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-02T16:08:32.821Z","etag":null,"topics":["base64","html","javascript","r"],"latest_commit_sha":null,"homepage":"https://r2social.obi.obianom.com","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oobianom.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-21T07:16:02.000Z","updated_at":"2024-08-25T10:49:58.000Z","dependencies_parsed_at":"2024-05-28T17:44:04.294Z","dependency_job_id":"341b0eb2-e498-4255-8b46-5e5e76fad6db","html_url":"https://github.com/oobianom/r2social","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oobianom%2Fr2social","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oobianom%2Fr2social/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oobianom%2Fr2social/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oobianom%2Fr2social/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oobianom","download_url":"https://codeload.github.com/oobianom/r2social/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246662359,"owners_count":20813737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["base64","html","javascript","r"],"created_at":"2024-11-02T16:03:08.601Z","updated_at":"2026-05-26T20:32:40.094Z","avatar_url":"https://github.com/oobianom.png","language":"R","funding_links":[],"categories":["Backend","R"],"sub_categories":["Notification Integration"],"readme":"# r2social v1.2.1 is already here!\n\nLet's make r2 social great again!\n\n## r2social R package: include social links and connect buttons in Rmarkdown and shiny applications\n\n### Official site: https://r2social.obi.obianom.com\n\n### NEW FEATURES ADDED!!!\n\n - 2 Elegant profile cards features\n \n    - profileDisplay1()\n    - profileDisplay2()\n\n##### View a live demo: [r2social demo](https://rstudio-pubs-static.s3.amazonaws.com/979733_c818519050184128a6a74a27b8c84156.html)\n\n##### 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.\n\n[![CRAN\\_Status\\_Badge](https://img.shields.io/badge/rPkgNet-published-green)](https://rpkg.net/package/r2social) [![CRAN\\_Status\\_Badge](https://www.r-pkg.org/badges/version/r2social)](https://cran.r-project.org/package=r2social) [![](https://cranlogs.r-pkg.org/badges/r2social)](https://cran.r-project.org/package=r2social)\n[![](https://cranlogs.r-pkg.org/badges/last-week/r2social)](https://cran.r-project.org/package=r2social)\n[![](https://cranlogs.r-pkg.org/badges/grand-total/r2social)](https://cran.r-project.org/package=r2social)\n\n\n\n# Features\n\n## Social links v1\n\n![](https://r2social.obi.obianom.com/r2social2.gif)\n\n## Profile card v1\n\n![](https://r2social.obi.obianom.com/misc/feature1.gif)\n\n## Profile card v2\n\n![](https://r2social.obi.obianom.com/feature2.gif) \n\n## Installation and Library Attachment\n\nThe r2social package is available on CRAN and can be installed as shown below\n\n`install.packages(r2social)`\n\nAttach library \n\n```{r}\n\nlibrary(shiny)\nlibrary(r2social)\n\n```\n\n## Feature 2: Profile card with social links\n\n### Shiny application\n\n```{r}\nui \u003c- fluidPage(\n\nprofileDisplay1(list(\n  a = list(\n    name = \"Obi Obianom\",\n    title = \"Senior Scientist\",\n    image = \"https://r2social.obi.obianom.com/misc/team3.jpg\",\n    social = list(\n      list(name = \"x\",\n           link = \"https://x.com/R2Rpkg\"),\n      list(name = \"linkedin\",\n           link = \"https://linkedin.com/oobianom\"),\n      list(name = \"website\",\n           link = \"https://obianom.com\"),\n      list(name = \"youtube\",\n           link = \"https://youtube.com/R2Rpkg\")\n    )\n  ),\n  b = list(\n    name = \"William Hane\",\n    title = \"Core Developer\",\n    image = \"https://r2social.obi.obianom.com/misc/team1.jpg\",\n    social = list(list(name = \"youtube\",\n                       link = \"https://youtube.com/R2Rpkg\"))\n  )\n))\n\n\n)\n\n```\n\n### Rmarkdown application\n\n```{r}\n\nprofileDisplay1(list(\n  a = list(\n    name = \"Obi Obianom\",\n    title = \"Senior Scientist\",\n    image = \"https://r2social.obi.obianom.com/misc/team2.jpg\",\n    social = list(\n      list(name = \"x\",\n           link = \"https://x.com/R2Rpkg\"),\n      list(name = \"linkedin\",\n           link = \"https://linkedin.com/oobianom\"),\n      list(name = \"website\",\n           link = \"https://obianom.com\"),\n      list(name = \"youtube\",\n           link = \"https://youtube.com/R2Rpkg\")\n    )\n  ),\n  b = list(\n    name = \"William Hane\",\n    title = \"Core Developer\",\n    image = \"https://r2social.obi.obianom.com/misc/team4.jpg\",\n    social = list(list(name = \"youtube\",\n                       link = \"https://youtube.com/R2Rpkg\"))\n  )\n))\n\n```\n\n## Feature 1: Add social links on the sides\n\n### Shiny application\n\n```{r}\n\n#ex 1 - to share various links\nui \u003c- fluidPage(\n  r2social.scripts(),\n  shareButton(link = \"https://rpkg.net\", position = \"left\"),\n  shareButton(link = \"https://shinyappstore.com\", position = \"inline\"),\n  shareButton(link = \"https://shinyappstore.com\", plain = T, position = \"inline\"), #plain style\n  shareButton(link = \"https://obianom.com\", position = \"right\")\n)\n\n#ex 2 - to link your page to specific domain online\nui \u003c- fluidPage(\n  r2social.scripts(),\n  # to my personal website\n  connectButton(link = \"https://obianom.com\", position = \"inline\",link.out = FALSE, visit.us = TRUE),\n\n  # to my Twitter/X page\n  connectButton(link = \"https://x.com/R2Rpkg\", position = \"inline\",link.out = FALSE, x = TRUE)\n)\n\n\n```\n\n### Rmarkdown document\n\n```{r}\n\nlibrary(r2social)\n\nr2social.scripts()\nshareButton(link = \"https://rpkg.net\", position = \"left\")\nshareButton(link = \"https://shinyappstore.com\", position = \"inline\")\nshareButton(link = \"https://obianom.com\", position = \"right\")\n\n\n\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foobianom%2Fr2social","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foobianom%2Fr2social","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foobianom%2Fr2social/lists"}