Skip to the content.

🧪 Workshop 1: Reproducible Environments with renv

Renv Guide

“Reproducibility is the first step toward trustworthy science.”
Level UP your Code! – Workshop 1


🎯 Workshop Goal

Enable your R project to be portable and reproducible using renv.
You’ll isolate dependencies and share environments effortlessly.


📦 What You’ll Learn



🧭 Quick Commands

# Initialize renv in your R project
renv::init()

# Save current packages
renv::snapshot()

# Restore packages from renv.lock
renv::restore()

⏭️ Next Workshop : Build Your R Package