{"id":35311458,"url":"https://github.com/parmsam/reprex.webr","last_synced_at":"2026-05-17T13:39:29.269Z","repository":{"id":314988032,"uuid":"1057633848","full_name":"parmsam/reprex.webr","owner":"parmsam","description":"Small R package inspired by reprex that generates a webR REPL URL based on copied R code or R code passed as the argument","archived":false,"fork":false,"pushed_at":"2025-09-16T03:44:14.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-16T04:20:55.217Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/parmsam.png","metadata":{"files":{"readme":"README.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-16T02:16:35.000Z","updated_at":"2025-09-16T03:44:18.000Z","dependencies_parsed_at":"2025-09-16T04:28:34.308Z","dependency_job_id":null,"html_url":"https://github.com/parmsam/reprex.webr","commit_stats":null,"previous_names":["parmsam/reprex_webr","parmsam/reprex-webr"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/parmsam/reprex.webr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmsam%2Freprex.webr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmsam%2Freprex.webr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmsam%2Freprex.webr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmsam%2Freprex.webr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parmsam","download_url":"https://codeload.github.com/parmsam/reprex.webr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmsam%2Freprex.webr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33140964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-12-30T17:46:13.479Z","updated_at":"2026-05-17T13:39:29.265Z","avatar_url":"https://github.com/parmsam.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reprex.webr\n\nAn R package that provides `reprex_webr()`/`reprex_shinylive()` functions to generate WebR or SHinylive reproducible examples, inspired by the [reprex](https://reprex.tidyverse.org/) package.\n\n## Installation\n\nYou can install the development version of reprex.webr from GitHub:\n\n```r\n# install.packages(\"devtools\")\ndevtools::install_github(\"parmsam/reprex_webr\")\n```\n\n## Usage\n\n```r\nlibrary(reprex.webr)\nlibrary(clipr)\n\n# Generate WebR URL from clipboard\nwrite_clip(\"1 + 5\")\nreprex_webr()\n\n# Generate WebR URL from code\nreprex_webr(input = \"1 + 1\")\n\n# Multiple lines of code\nreprex_webr(input = c(\n  \"x \u003c- 1:10\",\n  \"mean(x)\",\n  \"plot(x)\"\n))\n\n# Pass an expression directly\nreprex_webr({\n  x \u003c- 1:10\n  mean(x)\n  plot(x)\n})\n\n# Generate shinylive.io URL from Shiny app code (NEW)\nreprex_shinylive({\n  library(shiny)\n  ui \u003c- fluidPage(\"Hello, world!\")\n  server \u003c- function(input, output, session) {}\n  shinyApp(ui, server)\n})\n\n# Or from a character vector\nreprex_shinylive(input = c(\n  \"library(shiny)\",\n  \"ui \u003c- fluidPage('Hello, world!')\",\n  \"server \u003c- function(input, output, session) {}\",\n  \"shinyApp(ui, server)\"\n))\n```\n\n## Features\n\n- Generate shareable WebR URLs from R code\n- Generate shareable shinylive.io URLs from Shiny app code (NEW)\n- Read code from clipboard (requires `clipr` package)\n- Accepts code as an expression, character vector, file path, or clipboard\n- Similar API to the `reprex` package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparmsam%2Freprex.webr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparmsam%2Freprex.webr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparmsam%2Freprex.webr/lists"}