posit::conf(2025) tutorial
2025-09-16
![]()
Doug Kelkhoff

Michael Mayer

Rafael Pereira
![]()
Orla Doyle
![]()
James Black
Reproducibility as the foundation for trust in Pharma
They enable all of this, but can feel like a mystery — so we’ll show them in action today
Containers are the backbone, but not the whole story, there’s a whole ecosystem around them:
Reproducibility is not only a regulatory requirement it’s the foundation that lets science move fast and responsibly.
A summary of experiences at Novartis.
Orla Doyle & James Black
rbmi} package for multiple imputationDid we set the seed? Yes!
Is this related to hardware? No!
Is this a problem with a specific OS linear algebra library? No!
Unlike closed-source solutions, we can examine the source code and collaborate in a transparent manner between developers and maintainers.
rbmi} issue: https://github.com/insightsengineering/rbmi/issues/420mmrm} issue: https://github.com/openpharma/mmrm/issues/462TMB} issue: https://github.com/kaskr/adcomp/issues/398
Legacy
R package validation is coupled to the container
New SCE
R package validation is de-coupled from the container, and many R package cohorts validated against a single container.

Balancing rigor with effective data science
Software quality is a risk, but so are outdated software and reluctant data scientists.

Being rigorous is a lot of work, but most of it can be automated

{riskmetric}, {riskassessment} shiny app{val.meter}, {val.report}, {val.repo}
options(
repos = repo,
val.criterion.repos = repo,
available_packages_filters =
package_filter(check_errors == 0 & percentile(downloads) >= 0.25)
)
available.packages()
#> ℹ excluding 3 packages according to package filtering policy
install.package(poor_quality_pkg)
#> Error in `install.packages()`:
#> ! required packages are excluded due to package filters
#> "poor_quality_pkg"
#> ℹ To explain, use `val.criterion::last_rejected()`A chance to design with your peers.
Deliverable 1:
Deliverable 2:
We will divide into 4 groups;
Tutorial: Deploying reproducible analytics environments for regulated use cases