inst/doc/renv_example.R

## ----setup, include = FALSE---------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

library(reproducibleRchunks)

## ----eval=FALSE---------------------------------------------------------------
# # Initialize renv
# renv::init()

## ----eval=FALSE---------------------------------------------------------------
# renv::install("psych")
# renv::install("reproducibleRchunks")

## ----eval=FALSE---------------------------------------------------------------
# renv::snapshot(prompt = FALSE)

## ----eval=FALSE---------------------------------------------------------------
# renv::restore()

## ----eval=FALSE---------------------------------------------------------------
# reproducibleRchunks::use_github_action()

Try the reproducibleRchunks package in your browser

Any scripts or data that you put into this service are public.

reproducibleRchunks documentation built on Aug. 8, 2025, 6:38 p.m.