Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
---
title: "renv exercise"
author: "Jonas Hagenberg"
date: "17.11.2021"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
# Part A
1. Create a new RStudio project (with github) and initialise `renv`
2. Copy `example_script.R` into your project and install the necessary packages
3. Execute the code in `example_script.R`
4. Update the `renv` lockfile
5. Push the changes to github
6. Share the repository with your partner
# Part B
1. Clone the repository you got from your partner
2. If not done already, install `renv`
3. Restore the package library with `renv::restore()`
4. Execute the code in `example_script.R` and compare the output of `sessionInfo()`