{"id":14068001,"url":"https://github.com/yonicd/slackblocks","last_synced_at":"2025-08-26T11:36:02.101Z","repository":{"id":91010921,"uuid":"238343175","full_name":"yonicd/slackblocks","owner":"yonicd","description":"Slack Blocks in R","archived":false,"fork":false,"pushed_at":"2023-02-27T20:28:35.000Z","size":453,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T14:29:55.422Z","etag":null,"topics":["r","slack","slackapi"],"latest_commit_sha":null,"homepage":"https://yonicd.github.io/slackblocks/","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/yonicd.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"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":"2020-02-05T01:27:09.000Z","updated_at":"2023-02-23T22:40:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"e66d97a4-f9b1-42bc-af3c-12e1e95cd5b7","html_url":"https://github.com/yonicd/slackblocks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yonicd/slackblocks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonicd%2Fslackblocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonicd%2Fslackblocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonicd%2Fslackblocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonicd%2Fslackblocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yonicd","download_url":"https://codeload.github.com/yonicd/slackblocks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonicd%2Fslackblocks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272214673,"owners_count":24893267,"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","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["r","slack","slackapi"],"created_at":"2024-08-13T07:05:53.431Z","updated_at":"2025-08-26T11:36:02.067Z","avatar_url":"https://github.com/yonicd.png","language":"R","readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# slackblocks\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n[![Covrpage Summary](https://img.shields.io/badge/covrpage-Last_Build_2023_02_27-brightgreen.svg)](http://tinyurl.com/tf2xf4d)\n[![R-CMD-check](https://github.com/yonicd/slackblocks/actions/workflows/r-cmd-check.yml/badge.svg)](https://github.com/yonicd/slackblocks/actions/workflows/r-cmd-check.yml)\n[![Codecov test coverage](https://codecov.io/gh/yonicd/slackblocks/branch/master/graph/badge.svg)](https://codecov.io/gh/yonicd/slackblocks?branch=master)\n\u003c!-- badges: end --\u003e\n\n`slackblocks` is a part of `slackverse`\n\n```{r,echo = FALSE, eval = TRUE}\npkgs \u003c- sprintf('slack%s',c('calls','teams','posts','blocks','threads','reprex'))\n\nbadges \u003c- sprintf('%s\u003cbr\u003e[![](https://github.com/yonicd/%s/actions/workflows/r-cmd-check.yml/badge.svg)](https://github.com/yonicd/%s)',pkgs,pkgs,pkgs)\n\nnames(badges) \u003c- pkgs\n\n```\n\n||||\n|:-:|:-:|:-:|\n||`r badges[pkgs[1]]`||\n|`r badges[pkgs[5]]`|`r badges[pkgs[2]]`|`r badges[pkgs[3]]`|\n|||`r badges[pkgs[4]]`|\n|||`r badges[pkgs[6]]`|\n\nThe goal of slackblocks is to build Slack block elements in `R`.\n\n## Installation\n\n``` r\n# install.packages(\"remotes\")\nremotes::install_github(\"yonicd/slackblocks\")\n```\n## Example\n\nThis is a basic example which shows you how to solve a common problem:\n\n```{r example}\nlibrary(slackblocks)\n```\n\n```{r}\nblock_text('my text')\n```\n\n```{r}\nimage_element('url_to_image')\n```\n\n```{r}\n(b \u003c- section_block(\n  text = block_text(\n    text = 'A message *with some bold text* and _some italicized text_.'),\n  fields = list(\n    block_text('*Priority*'),\n    block_text('*Type*'),\n    block_text('High'),\n    block_text(':heavy_check_mark:')\n    )\n  ))\n```\n\n## Posting Blocks to Slack\n\n```{r,eval=FALSE}\npost_block(b, channel = 'CHANNELID')\n```\n\n```{r,echo=FALSE}\nknitr::include_graphics('man/figures/sections.png')\n```\n\n","funding_links":[],"categories":["R"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonicd%2Fslackblocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyonicd%2Fslackblocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonicd%2Fslackblocks/lists"}