{"id":13815538,"url":"https://github.com/rstudio/hex-stickers","last_synced_at":"2025-05-15T10:03:30.896Z","repository":{"id":39098060,"uuid":"127026863","full_name":"rstudio/hex-stickers","owner":"rstudio","description":"RStudio hex stickers","archived":false,"fork":false,"pushed_at":"2025-04-08T13:49:43.000Z","size":163712,"stargazers_count":481,"open_issues_count":7,"forks_count":133,"subscribers_count":88,"default_branch":"main","last_synced_at":"2025-05-10T11:52:29.485Z","etag":null,"topics":["hex-stickers","r","rstudio"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rstudio.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":".github/contributing.md","funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2018-03-27T18:05:42.000Z","updated_at":"2025-05-06T00:59:11.000Z","dependencies_parsed_at":"2023-01-23T14:30:22.123Z","dependency_job_id":"2444dfad-e486-46b4-bbe9-204b4b0876ec","html_url":"https://github.com/rstudio/hex-stickers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2Fhex-stickers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2Fhex-stickers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2Fhex-stickers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2Fhex-stickers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rstudio","download_url":"https://codeload.github.com/rstudio/hex-stickers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319716,"owners_count":22051072,"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":["hex-stickers","r","rstudio"],"created_at":"2024-08-04T04:03:34.080Z","updated_at":"2025-05-15T10:03:25.831Z","avatar_url":"https://github.com/rstudio.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n# RStudio hex stickers\n\nWant to buy a sticker? Many can be purchased from\n\u003chttp://swag.rstudio.com/\u003e. Or [see our instructions](#printing)\non how to print them yourself.\n\n```{r, echo = FALSE, message = FALSE}\nlibrary(magick)\nlogos \u003c- tools::file_path_sans_ext(dir(\"PNG\", pattern = \"\\\\.png$\"))\npng \u003c- paste0(\"PNG/\", logos, \".png\")\nsvg \u003c- paste0(\"SVG/\", logos, \".svg\")\nthumb \u003c- paste0(\"thumbs/\", logos, \".png\")\n\nresize \u003c- function(path_in, path_out) {\n  image \u003c- image_read(path_in)\n  image \u003c- image_resize(image, \"278x\")\n  image_write(image, path_out)\n}\n\noutdated \u003c- !file.exists(thumb) | file.mtime(thumb) \u003c file.mtime(png)\ninvisible(Map(resize, png[outdated], thumb[outdated]))\n```\n\n```{r, results = \"asis\", echo = FALSE}\nimg \u003c- glue::glue('\u003cimg alt=\"Logo for {logos}\" src=\"{thumb}\" width=\"120\" height=\"139\"\u003e')\npng_link \u003c- glue::glue('\u003ca href=\"{png}\"\u003e{logos}.png\u003c/a\u003e')\nsvg_link \u003c- glue::glue('\u003ca href=\"{svg}\"\u003e{logos}.svg\u003c/a\u003e')\ncell \u003c- paste0(\"\u003ctd\u003e\", img, \"\u003cbr /\u003e\", png_link, \"\u003cbr /\u003e\", svg_link, \"\u003c/td\u003e\")\n\ncols \u003c- 5\nrows \u003c- ceiling(length(cell) / cols)\n\nrow_id \u003c- rep(seq_len(rows), each = cols, length.out = length(cell))\nrow_cells \u003c- split(cell, row_id)\n\ncat(\"\u003ctable\u003e\\n\")\ncat(paste0(\"\u003ctr\u003e\", sapply(row_cells, paste, collapse = \"\"), \"\u003c/tr\u003e\"), sep = \"\")\ncat(\"\u003c/table\u003e\\n\")\n```\n\nAll stickers are licensed [CC0](LICENSE.md).\n\n## Printing\n\nLook for a company that offers die-cut stickers. We recommend using the PNG version of the sticker. The printed stickers should be 1.74\" x 2\". \n\nIf you use the SVG version:\n\n* Specify colors as CMYK using the U.S. Web Coated (SWOP) v2 profile.\n* Save a copy of your final sticker and convert all text to outlines to avoid font problems.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstudio%2Fhex-stickers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frstudio%2Fhex-stickers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstudio%2Fhex-stickers/lists"}