Uploaded November 2024 | Updated November 2026, 2 days ago
Code that Cures: Validating GxP-Compliant R Shiny Apps for Clinical Decisions - Emily Yates
Abstract: GxP-relevant R Shiny application validation ensures compliance and data integrity in regulated industries. This complex process relies on three key pillars: people, technology, and processes. A cross-functional team is crucial, comprising an R champion to drive initiatives, technical experts to implement infrastructure, and QA partners to guide regulatory adherence. Essential technologies include validated infrastructure and packages, forming the foundation for reliable application development. Processes should align with GAMP 5 guidelines and incorporate risk-based Software Development Life Cycle (SDLC) principles, such as documented user requirements and robust code testing. This overview serves as a starting point for those interested in building validated R Shiny applications, highlighting the importance of collaboration, risk-based approaches, and continuous learning. By following these guidelines and leveraging available resources, organizations can successfully implement and maintain validated R Shiny applications in GxP environments, ensuring regulatory compliance and operational efficiency.
Resources mentioned in the talk:
- GAMP 5: Good Automated Manufacturing Practices ispe.org/publications/guidance-documents/gamp-5-guide-2nd-edition
- PHUSE Open Source Technology in Clinical Data Analysis - FAQs for using R in Pharma: phuse-org.github.io/OSTCDA
- Regulatory Compliance and Validation Issues: A Guidance Document for the Use of R in Regulated Clinical Trial Environments r-project.org/doc/R-FDA.pdf
- R Validation Hub pharmar.org
- {renv} Project environments in R rstudio.github.io/renv/index.html
- A Risk-Based Approach for Assessing R Package Accuracy Within a Validated Infrastructure pharmar.org/white-paper
- Phuse Open Source Technology in Clinical Data Analysis phuse-org.github.io/OSTCDA
- R Package Validation Framework phuse.s3.eu-central-1.amazonaws.com/Deliverables/Data+Visualisation+%26+Open+Source+Technology/WP059.pdf
- R Package Qualification: Automation and Documenttion in a Regulated Environment pharmasug.org/proceedings/2023/SI/PharmaSUG-2023-SI-212.pdf
- External R Package Qualification Process in Regulated Environment pharmasug.org/proceedings/2022/SI/PharmaSUG-2022-SI-057.pdf
- Atorus Openval atorusresearch.com/openval
- Software Development Life Cycle: A Description of R's Development, Testing, Release and Maintenance Process r-project.org/doc/R-SDLC.pdf
- R Package Oriented Software Development Life Cycle in Regulated Clinical Trial Environments lexjansen.com/phuse-us/2020/tt/TT12.pdf
- {testthat} Unit testing for R testthat.r-lib.org
- {shinytest2} Testing for Shiny applications rstudio.github.io/shinytest2
Presented at the 2024 R/Pharma Conference
Code that Cures: Validating GxP-Compliant R Shiny Apps for Clinical Decisions - Emily Yates
Abstract: GxP-relevant R Shiny application validation ensures compliance and data integrity in regulated industries. This complex process relies on three key pillars: people, technology, and processes. A cross-functional team is crucial, comprising an R champion to drive initiatives, technical experts to implement infrastructure, and QA partners to guide regulatory adherence. Essential technologies include validated infrastructure and packages, forming the foundation for reliable application development. Processes should align with GAMP 5 guidelines and incorporate risk-based Software Development Life Cycle (SDLC) principles, such as documented user requirements and robust code testing. This overview serves as a starting point for those interested in building validated R Shiny applications, highlighting the importance of collaboration, risk-based approaches, and continuous learning. By following these guidelines and leveraging available resources, organizations can successfully implement and maintain validated R Shiny applications in GxP environments, ensuring regulatory compliance and operational efficiency.
Resources mentioned in the talk:
- GAMP 5: Good Automated Manufacturing Practices ispe.org/publications/guidance-documents/gamp-5-guide-2nd-edition
- PHUSE Open Source Technology in Clinical Data Analysis - FAQs for using R in Pharma: phuse-org.github.io/OSTCDA
- Regulatory Compliance and Validation Issues: A Guidance Document for the Use of R in Regulated Clinical Trial Environments r-project.org/doc/R-FDA.pdf
- R Validation Hub pharmar.org
- {renv} Project environments in R rstudio.github.io/renv/index.html
- A Risk-Based Approach for Assessing R Package Accuracy Within a Validated Infrastructure pharmar.org/white-paper
- Phuse Open Source Technology in Clinical Data Analysis phuse-org.github.io/OSTCDA
- R Package Validation Framework phuse.s3.eu-central-1.amazonaws.com/Deliverables/Data+Visualisation+%26+Open+Source+Technology/WP059.pdf
- R Package Qualification: Automation and Documenttion in a Regulated Environment pharmasug.org/proceedings/2023/SI/PharmaSUG-2023-SI-212.pdf
- External R Package Qualification Process in Regulated Environment pharmasug.org/proceedings/2022/SI/PharmaSUG-2022-SI-057.pdf
- Atorus Openval atorusresearch.com/openval
- Software Development Life Cycle: A Description of R's Development, Testing, Release and Maintenance Process r-project.org/doc/R-SDLC.pdf
- R Package Oriented Software Development Life Cycle in Regulated Clinical Trial Environments lexjansen.com/phuse-us/2020/tt/TT12.pdf
- {testthat} Unit testing for R testthat.r-lib.org
- {shinytest2} Testing for Shiny applications rstudio.github.io/shinytest2
Presented at the 2024 R/Pharma Conference










