A New Era

Shiny-based Clinical Submissions using WebAssembly



Eric Nantz

Eli Lilly & Company

posit::conf(2024) | August 13, 2024

bit.ly/shinywebr

The results are in!

Many Results

Can we do better?

R Submissions Working Group

  • Industry and Regulatory members
  • Create submission deliverables with open-source software
  • Emulate realistic submission review
  • Innovation encouraged!

R/Pharma 2018

Install & Execute Application

  • Extract submission bundle
  • Install R
  • (Optionally install RStudio)
  • Install Rtools for package compilation
  • Install {renv} R package
  • Install application package library
  • Run application in R process

Install & Execute Application

  • Extract submission bundle
  • Launch App in web process
  • View App in web browser

Traditional Shiny

Web-Assembly

Engine Swap

  • Verify packages compatibility with WebR

    • {golem} {rhino}
  • Augment shinylive::export to inject SAS data sets

  • User-friendly wrappers

  • Test with custom Windows virtual machines

driver.R

source("utils.R")
extract_app_bundle()
run_app_webassembly()

With Great Power…

  • Dynamically updates p-values based on filtered observation
  • Potential for confusion and misinterpretation
  • Compromise: Allow filtering within visualization module only

The Future Ahead

  • Submission to FDA in progress
  • Investigate reproducibility features
  • Streamline execution process
  • Complete container version (Docker)

Acknowledgements

  • Sam Parmar (Pfizer)

  • Ben Straub (GSK)

  • Robert Devine (J&J)

  • Saghir Bashir (Argenx)

  • Ning Leng (Roche)

  • Joe Rickert

  • Pedro Silva (Jumping Rivers)

  • André Veríssimo

  • Vedha Viyash

  • Pawel Rzymkiewicz (OlympCode)

  • Paul Schuette

  • Hye Soo Cho

Thank You!