Modern Approaches to Quality in Open-Source Software

R/Pharma Summit (9-15-2025)



Eric Nantz (Eli Lilly)

Paulo Bargo (Novartis)

Harvey Liberman (Novartis)

slido.com

#9162726

Code/Software Spectrum

Statistical Programs

  • TLF generation

Multi-use Tools

  • Shiny App
  • R/Python packages

Systems

  • Clinical data repository
  • Commercial Software

One-Size Fits All?

  • Hard to address all software code efficiently in one SOP
  • Development vs. usage of a re-usable tool

Foundational Principles

Documentation

User-facing

  • Package documentation using roxygen2
  • Vignettes
  • Website with pkgdown
  • Clear links to code repository

Quality

  • Specifications / Requirements
  • Key contacts (author, maintainer)
  • Test results
  • Issue board
  • Audit trails

Version Control with Git

The standard in modern software development

  • Branching, tagging are critical for collaborative development
  • Platforms: GitHub, GitLab, and more
  • Learning curve can be steep, but future you will thank you!

Testing

  • testthat used across spectrum of R packages and Shiny applications
  • Emerging paradigms: Behavior-Driven and Test-Driven Development
  • GitHub Actions and GitLab Runners provide automation to execute tests in a code repository

Additional Principles

  • Release Management
  • Maintenance
  • Retirement

Intangibles

  • Investment in upskilling quality partners on software dev best practices
    • Power of demonstrations
  • Eliminating resistance to change because “it was not done before”
  • Embracing new approaches (not falling back to the same principles which may not apply)
  • Knowledge Management / Turnover

Quality Whitepaper

  • Golden opportunity to document these ideas as a key reference
  • Inspired by success of R Validaion Hub Whitepaper
  • Your contributions are welcome!