{"id":18192004,"url":"https://github.com/codekow/s2i-r-shiny","last_synced_at":"2026-05-01T19:34:57.149Z","repository":{"id":131119902,"uuid":"608847495","full_name":"codekow/s2i-r-shiny","owner":"codekow","description":"Run R (shiny) apps on OpenShift","archived":false,"fork":false,"pushed_at":"2023-12-05T18:44:59.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T16:33:28.770Z","etag":null,"topics":["builder-image","data-science","openshift","r","rshiny","s2i-image","s2i-rshiny","shiny","shiny-apps"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codekow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-03-02T21:27:56.000Z","updated_at":"2023-03-21T19:12:11.000Z","dependencies_parsed_at":"2023-12-05T18:31:28.943Z","dependency_job_id":"b7d024b6-85ed-4e5c-aa44-4db0f2b849a6","html_url":"https://github.com/codekow/s2i-r-shiny","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"548e3fea32d716906e0b0a375a652af2561737bf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codekow/s2i-r-shiny","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fs2i-r-shiny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fs2i-r-shiny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fs2i-r-shiny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fs2i-r-shiny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codekow","download_url":"https://codeload.github.com/codekow/s2i-r-shiny/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fs2i-r-shiny/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32510808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["builder-image","data-science","openshift","r","rshiny","s2i-image","s2i-rshiny","shiny","shiny-apps"],"created_at":"2024-11-03T06:41:59.524Z","updated_at":"2026-05-01T19:34:57.125Z","avatar_url":"https://github.com/codekow.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# R Shiny (RShiny) s2i image\n\n[R](https://en.wikipedia.org/wiki/R_(programming_language)) is a programming language for statistical computing and graphics. Created by statisticians and is used among data miners, bioinformaticians and statisticians for data analysis and developing statistical software. Users have created packages to augment the functions of the R language.\n\nThe official [R](https://en.wikipedia.org/wiki/R_(programming_language)) software environment is an open-source [free software](https://en.wikipedia.org/wiki/Free_software) environment within the GNU package, available under the [GNU General Public License](https://en.wikipedia.org/wiki/GNU_General_Public_License). It is written primarily in C, Fortran, and R itself.\n\n[Source-to-Image s2i](https://docs.openshift.com/container-platform/3.6/architecture/core_concepts/builds_and_image_streams.html#source-build) is a framework that takes application source code as an input and produces a new image that runs the assembled application as output. Openshift builds can be triggered if either the code changes or the s2i builder image is updated.\n\n## OpenShift Examples\n\n### Create Builder Image\n\n```sh\noc new-build \\\n  https://github.com/codekow/s2i-r-shiny.git \\\n  --name s2i-r-shiny \\\n  --context-dir container\n\noc logs bc/s2i-r-shiny \\\n  --follow  \n```\n\n### Build New App\n\nYou can look in [example/app](example/app) of this repo to create an example app.\n\nFile List:\n\n- `app.R` or `server.R` - This is your primary application (required)\n- `setup.R` - Can be used to run `R` to setup your application (optional: example installs `rmarkdown`)\n- `.s2i/assemble` - Standard s2i assemble override (optional)\n- `.s2i/run` -  Standard s2i run override (optional)\n\n### Build w/ `setup.R`\n\n```\noc new-app s2i-r-shiny~https://github.com/codekow/s2i-r-shiny.git \\\n    --context-dir=example/app \\\n    --name=shiny-test \\\n    --labels examples=shiny \\\n    --strategy=source\n\noc expose svc/shiny-test \\\n  --labels examples=shiny \\\n  --port 8080 \\\n  --overrides='{\"spec\":{\"tls\":{\"termination\":\"edge\"}}}'\n```\n\n### Build from GitHub\n\n```\noc new-app s2i-r-shiny~https://github.com/rstudio/shiny-examples \\\n    --context-dir=001-hello \\\n    --name=shiny-hello \\\n    --labels examples=shiny \\\n    --strategy=source\n\noc expose svc/shiny-hello \\\n  --labels examples=shiny \\\n  --port 8080 \\\n  --overrides='{\"spec\":{\"tls\":{\"termination\":\"edge\"}}}'\n```\n\n## Build all examples\n\n```\nscripts/examples.sh\n```\n\n## Clean Up\n\n```\noc delete all -l example=shiny\n```\n\n## Links\n\n- [R Docker - Rocker 2](https://github.com/rocker-org/rocker-versioned2)\n- [R Shiny - examples](https://github.com/rstudio/shiny-examples)\n\n### Misc links\n\n- [R Packages Info](https://cran.rstudio.com/bin/linux/redhat)\n- [s2i for R Shiny - example](https://examples.openshift.pub/build/s2i-r-shiny)\n- https://cran.r-project.org/web/packages/available_packages_by_name.html\n- https://github.com/DFEAGILEDEVOPS/s2i-rshiny\n- https://stackoverflow.com/questions/65110578/run-shiny-applications-on-openshift-online-using-custom-images\n- https://www.r-bloggers.com/2011/11/permanently-setting-the-cran-repository/\n- https://github.com/analythium/covidapp-shiny\n- https://www.r-bloggers.com/2020/01/an-efficient-way-to-install-and-load-r-packages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekow%2Fs2i-r-shiny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodekow%2Fs2i-r-shiny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekow%2Fs2i-r-shiny/lists"}