Skip to content

pharmaverse/docker_pharmaverse

Repository files navigation

Pharmaverse Docker Image

Docker Image Docker Image Size R Version License Status

⚠️ DEVELOPMENT STATUS: This project is currently in active development. Features and APIs may change.

🔬 Docker environment for pharmaceutical data analysis with all Pharmaverse packages pre-installed.

Built on rocker/tidyverse with 40+ pharmaverse packages for CDISC ADaM/SDTM, clinical trials, and regulatory submissions.

What's Included

This image includes:

  • Base: rocker/tidyverse (R, RStudio Server, tidyverse packages, quarto)
  • Pharmaverse Packages: 40+ packages for pharmaceutical data analysis and reporting

Pharmaverse Packages

  • admiral, admiralmetabolic, admiralneuro, admiralonco, admiralophtha, admiralpeds, admiralvaccine
  • cards, cardx
  • chevron, clinify, connector, covtracer
  • datacutr, datasetjson, diffdf
  • ggsurvfit, gridify, gtsummary
  • logrx, metacore, metatools
  • pharmaRTF, pharmaverseadam, pharmaverseraw, pharmaversesdtm, pkglite
  • rhino, riskmetric, rlistings, rtables
  • sdtmchecks, teal, teal.modules.clinical, teal.modules.general,, tern, tfrmt, tfrmtbuilder
  • tidyCDISC, tidytlg, Tplyr
  • whirl, xportr

1. Pull the Image

For Production (Reproducible Research):

# Pin to exact version - never changes
docker pull ghcr.io/pharmaverse/docker_pharmaverse:v4.5.1

For Development:

# Get latest features & updates
docker pull ghcr.io/pharmaverse/docker_pharmaverse:latest

💡 See VERSIONING.md for choosing the right tag.

2. Run RStudio Server

docker run -d \
  -p 8787:8787 \
  -e PASSWORD=yourpassword \
  -v $(pwd):/home/rstudio/workspace \
  ghcr.io/pharmaverse/docker_pharmaverse:v4.5.1

Access at: http://localhost:8787

  • Username: rstudio
  • Password: yourpassword (what you set above)

3. Run R in Terminal

docker run -it --rm ghcr.io/pharmaverse/docker_pharmaverse:v4.5.1

🔧 GitHub Codespaces & Dev Containers

Open in GitHub Codespaces

Click to open this project in a cloud development environment:

Open in GitHub Codespaces

Use with VS Code Dev Containers

  1. Install VS Code and Docker Desktop
  2. Install Dev Containers extension
  3. Open this repository in VS Code
  4. Press F1Dev Containers: Reopen in Container

💻 Building & Development

Build Locally

# Clone the repository
git clone https://github.com/pharmaverse/docker_pharmaverse.git
cd docker_pharmaverse

# Build the image
docker build -t pharmaverse:local .

# Run it
docker run -d -p 8787:8787 -e PASSWORD=test pharmaverse:local

🎯 Use Cases

Perfect for:

  • Pharmaceutical data analysis - ADaM, SDTM, TLFs
  • Clinical trial programming - Regulatory submissions
  • Reproducible research - Validated environments
  • Training & education - Teaching pharma programming
  • CI/CD pipelines - Automated testing & reporting
  • Collaborative development - Consistent team environments

📞 Support & Community

Getting Help

Issue Type Where to Ask
🐛 Docker image issues GitHub Issues
📦 R package questions Individual package repositories
🖥️ RStudio Server Rocker Project
💬 General pharmaverse Pharmaverse Slack

Useful Links


📄 License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.


🙏 Acknowledgments


⭐ Star This Repository

If you find this useful, please consider giving it a star! It helps others discover the project.

GitHub stars


Built with ❤️ by the Pharmaverse Community

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •