{"id":14069148,"url":"https://github.com/cmdcolin/shinytemplate","last_synced_at":"2026-06-10T14:31:28.889Z","repository":{"id":137213397,"uuid":"83509903","full_name":"cmdcolin/shinytemplate","owner":"cmdcolin","description":"A basic template for developing a shiny app as an R package, with some proposed \"best practices\"","archived":false,"fork":false,"pushed_at":"2017-03-09T02:24:27.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T23:30:28.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmdcolin.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}},"created_at":"2017-03-01T04:03:04.000Z","updated_at":"2019-05-13T20:59:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b1f71e3-6710-4a2b-986f-eab2e98f7c39","html_url":"https://github.com/cmdcolin/shinytemplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cmdcolin/shinytemplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdcolin%2Fshinytemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdcolin%2Fshinytemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdcolin%2Fshinytemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdcolin%2Fshinytemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmdcolin","download_url":"https://codeload.github.com/cmdcolin/shinytemplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdcolin%2Fshinytemplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34157453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":[],"created_at":"2024-08-13T07:06:39.786Z","updated_at":"2026-06-10T14:31:28.871Z","avatar_url":"https://github.com/cmdcolin.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# shinytemplate\n\n[![Build Status](https://travis-ci.org/cmdcolin/shinytemplate.svg?branch=master)](https://travis-ci.org/cmdcolin/shinytemplate)\n\nShiny template that lets you develop your shiny app as an R package. This app also tries to demonstrates some other good practices such as\n\n\n## Goals for functionality\n\n- Allow parsing URL params to switch to different tabs or app states\n- Allow seeing changes to code simply with page refreshes if running in \"dev mode\". Normal `shiny` has this but running as a package needed a slightly modified setup\n- Ability to list dependencies in DESCRIPTION file to make installation streamlined\n\nFor time being, this is a template for complete Shiny apps, not widgets that can be included in other Shiny apps\n\n## Goals for code style\n\n- Use code modularization via modules\n- Allow users to download and run your app with `devtools::install_github` and then run with `shinytemplate()`\n- Consistent code style checks with lint\n\n\n## Install\n\n    install.packages('devtools')\n    devtools::install_github('cmdcolin/shinytemplate')\n\n\n## Running app\n\nThe library is intended to be installed via a package manager (as above with install_github) and can be run as follows\n\n    library(shinytemplate)\n    shinytemplate()\n    \nThe function also accepts some arguments, so if your app benefits from the user supplying arguments, they can run `shinytemplate(option1 = \"Random data variable used by shiny app\", option2 = \"More random data, like paths to data files\")`\n\n## For developers\n\nAn important goal for this template was to allow for code changes to get reloaded by just refreshing the browser which speeds up development\n\n    devtools::load_all()\n    shinytemplate(dev = T)\n\nThe `devtools::load_all` function loads the library in the current directory, and then `shinytemplateDev` uses runApp pointing to the `inst/appdir` directory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmdcolin%2Fshinytemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmdcolin%2Fshinytemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmdcolin%2Fshinytemplate/lists"}