{"id":14066431,"url":"https://github.com/Nelson-Gon/shinymisc","last_synced_at":"2025-07-29T23:31:01.243Z","repository":{"id":211009805,"uuid":"440637236","full_name":"Nelson-Gon/shinymisc","owner":"Nelson-Gon","description":"shinymisc: Miscellaneous educational shiny apps. ","archived":false,"fork":false,"pushed_at":"2022-04-15T20:32:53.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T01:50:34.704Z","etag":null,"topics":["r","r-package","sample-app","sample-code","shiny","tutorial-code","tutorial-exercises","tutorials","webapp","website"],"latest_commit_sha":null,"homepage":"https://nelson-gon.github.io/shinymisc/","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/Nelson-Gon.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-12-21T20:04:21.000Z","updated_at":"2023-07-18T22:16:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f323f51-3c6d-45f3-9368-81813b4a5e9a","html_url":"https://github.com/Nelson-Gon/shinymisc","commit_stats":null,"previous_names":["nelson-gon/shinymisc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nelson-Gon/shinymisc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nelson-Gon%2Fshinymisc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nelson-Gon%2Fshinymisc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nelson-Gon%2Fshinymisc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nelson-Gon%2Fshinymisc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nelson-Gon","download_url":"https://codeload.github.com/Nelson-Gon/shinymisc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nelson-Gon%2Fshinymisc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267779965,"owners_count":24143200,"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-07-29T02:00:12.549Z","response_time":2574,"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","r-package","sample-app","sample-code","shiny","tutorial-code","tutorial-exercises","tutorials","webapp","website"],"created_at":"2024-08-13T07:05:05.728Z","updated_at":"2025-07-29T23:31:00.922Z","avatar_url":"https://github.com/Nelson-Gon.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n```{r setup, include=FALSE}\nknitr::opts_chunk$set(echo = TRUE)\n```\n\n# shinymisc: Miscellaneous educational shiny apps \n\nThe `shinymisc` package provides a set of apps that are useful for beginner,\nintermediate, and advanced `shiny` developers to explore different features of \nthe `shiny` framework and philosophy. \n\n\n## Installation \n\n\n\n```{r, eval=FALSE}\n\ndevtools::install_github(\"Nelson-Gon/shinymisc\")\n\n```\n\n## Loading the package \n\n\n```{r}\nlibrary(shinymisc)\n```\n\n## Exploring included apps \n\n`shinymisc` contains a number of apps that demonstrate different concepts.\n\nTo view an app, run the following:\n\n\n```{r, eval=FALSE}\nrun_app(app_name = \"theming\")\n```\n\n\n\n* [Plot theming](https://github.com/Nelson-Gon/shinymisc/blob/main/R/theming.R)\n\nThis app takes a fairly advanced approach at demonstrating how one can combine different `shiny` principles to achieve plot customization. This was built to help me figure out how to best choose themes from different packages. In particular, I wanted to do this even if the package was not on the `search` list. \n\nThis app explores concepts of reactivity, modularization, testing, and scaling \nin general. \n\n```{r, eval=FALSE}\n\nrun_app(\"theming\")\n\n```\n\n\n\n* [Sample App](https://nelson-gon.shinyapps.io/sampleapp)\n\nThis app aims to do something fairly simple. It takes input data, allows user confirmation and finally prints the data entered. It was built as part of a blog I wrote to highlight `shiny` features like reactivity, observers, and performance improvements. This blog post is available at https://nelson-gon.github.io/12/12/2021/shiny-reactivity/. You can view the source code [here](https://github.com/Nelson-Gon/shinymisc/blob/main/R/sample_app.R).  \n\n* [List Package Functions](https://github.com/Nelson-Gon/shinymisc/blob/main/R/list_functions.R)\n\nThis app was written as I tried to play around with namespaces and accessing functions in a package. In particular, I wanted to be able to load a function from a package without necessarily loading said package first. This is important because sometimes loading a package may result in function conflicts causing further debugging work.\n\n\n* [Shiny Modules](https://github.com/Nelson-Gon/shinymisc/blob/main/R/modular_app.R)\n\nThis simple app explores the use of shiny [modules](https://shiny.rstudio.com/articles/modules.html). This is aimed at demonstrating how one can reuse code across different places within the app without copying and pasting the same code over and over again. \nThe app also shows how to use some different layouts. \n\n* [More Modules](https://github.com/Nelson-Gon/shinymisc/blob/main/R/more_modules.R)\n\nAnother module based app that also includes some basic plotly plots. This app was\ncreated as a way for me to debug some issue with `shiny`'s module system and the\nuse of `update*` functions. Specifically, sometimes, it is possible that `update*`\nfunctions may not work as expected/intended. Unfortunately this is not readily\nvisible in this app. Hopefully with more exploration, one could meet this pitfall\nand play with ways around it. \n\n\n\n\nKeep building,\n\nNelson \n\n`r Sys.Date()`\n\n\n---\n\nPlease note that the `shinymisc` project is released with a [Contributor Code of Conduct](https://github.com/Nelson-Gon/shinymisc/blob/main/.github/CODE_OF_CONDUCT.md).\nBy contributing to this project, you agree to abide by its terms.\n\n\n\nTo raise an issue, please do so\n[here](https://github.com/Nelson-Gon/shinymisc/issues)\n\nThank you, feedback is always welcome :)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNelson-Gon%2Fshinymisc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNelson-Gon%2Fshinymisc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNelson-Gon%2Fshinymisc/lists"}