{"id":29625155,"url":"https://github.com/novartis/shinyvalidator","last_synced_at":"2025-07-21T06:07:28.967Z","repository":{"id":41144775,"uuid":"483034445","full_name":"Novartis/shinyValidator","owner":"Novartis","description":"Audit your Shiny apps at each commit. Multiple levels of testings are offered: startup and crash tests, performance tests (load test and global code profiling), reactivity audit as well as output tests. All results are gathered in an HTML report uploaded and available to everyone on any CI/CD plaform or RStudio Connect","archived":false,"fork":false,"pushed_at":"2023-08-10T10:49:42.000Z","size":10603,"stargazers_count":42,"open_issues_count":10,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-06T03:38:52.989Z","etag":null,"topics":["audit","headless","profiling","r","shiny","shinyloadtest","shinytest2"],"latest_commit_sha":null,"homepage":"http://opensource.nibr.com/shinyValidator/","language":"HTML","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/Novartis.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}},"created_at":"2022-04-18T23:59:05.000Z","updated_at":"2025-04-06T11:54:34.000Z","dependencies_parsed_at":"2024-02-06T05:51:01.483Z","dependency_job_id":null,"html_url":"https://github.com/Novartis/shinyValidator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Novartis/shinyValidator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novartis%2FshinyValidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novartis%2FshinyValidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novartis%2FshinyValidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novartis%2FshinyValidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Novartis","download_url":"https://codeload.github.com/Novartis/shinyValidator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novartis%2FshinyValidator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266248501,"owners_count":23899056,"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":["audit","headless","profiling","r","shiny","shinyloadtest","shinytest2"],"created_at":"2025-07-21T06:07:28.309Z","updated_at":"2025-07-21T06:07:28.959Z","avatar_url":"https://github.com/Novartis.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# shinyValidator\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/Novartis/shinyValidator/workflows/R-CMD-check/badge.svg)](https://github.com/Novartis/shinyValidator/actions)\n[![Coverage](https://img.shields.io/badge/Coverage-83%-yellowgreen)](https://github.com/Novartis/shinyValidator/tree/main/tests/testthat)\n\u003c!-- badges: end --\u003e\n\n## Purpose\n\n`{shinyValidator}` aims at __automating__ the audit of a Shiny App project's __quality__, particularly required during a __validation/qualification__ process. There are many different tools available to validate Shiny apps but, to the best of our knowledge, nothing has been made to get a global overview in a centralized report. \n\nBy default, `{shinyValidator}`:\n\n- Lints the code to ensure __consistency__ and quality.\n- Runs a `devtools::check()` to assess package quality.\n- Checks whether the Shiny app starts and is alive after heavy usage (requires headless browser solutions like `{shinytest2}`).\n- Performs output comparison between commits (plot, htmlwidget). \n- Launches a load test to measure app __performance__ and identify bottlenecks (user concurrency, ...) with `{shinyloadtest}`.\n- Records an overall code profiling with `{profvis}`.\n- Audits reactivity with `{reactlog}`.\n- Provides overview of project structure with `{flow}`. \n- Review all package dependencies against a locked environment (if provided) and show if versions are compliant.\n\nAnother goal of `{shinyValidator}` is to promote testing and automation (CI/CD) to deliver better Shiny apps in production. \n\n## Pre-requisites\n- It must be run within a __package__ Shiny app project, compatible with `{golem}`. \n- It requires to control R package dependencies with `{renv}`.\n\n## Installation\n\nYou can install the preview version of `{shinyValidator}` with:\n\n``` r\nremotes::install_github(\"Novartis/shinyValidator\")\n```\n\n## Licence\n\nCopyright 2022 Novartis AG\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovartis%2Fshinyvalidator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnovartis%2Fshinyvalidator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovartis%2Fshinyvalidator/lists"}