Skip to content

Commit

Permalink
Merge pull request #4 from lnnrtwttkhn/renv
Browse files Browse the repository at this point in the history
add .Rprofile
  • Loading branch information
HeidiSeibold authored Oct 24, 2023
2 parents e4d81fe + 7c67692 commit 16ed1a2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
source("renv/activate.R")
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
.Rhistory
.RData
.Ruserdata
.Rprofile

/.quarto/

Expand Down
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,30 @@ Welcome to the course booklet repository! :wave:
To make this booklet FAIR (finable, accessible, interoperable, and reusable),
we have created an OSF entry: https://osf.io/rupt7/

## Requirements

This repo uses [`renv`](https://rstudio.github.io/renv/articles/renv.html) for dependency management.

If you haven't used `renv` before, install it using:

```R
install.packages("renv")
```

If you open the R project `berd-reproducible-research-course.Rproj` for the first time in RStudio, `renv` should be automatically activated.
You are asked to install the packages listed in [`renv.lock`](renv.lock):

```R
# Bootstrapping renv 1.0.0 ---------------------------------------------------
- Downloading renv ... OK
- Installing renv ... OK

- Project '~/edu/berd-reproducible-research-course' loaded. [renv 1.0.0]
- None of the packages recorded in the lockfile are installed.
- Using `renv::restore()` to restore the project library.
Do you want to proceed? [Y/n]: Y
```

## Viewing the booklet
To view the booklet, please run

Expand Down

0 comments on commit 16ed1a2

Please sign in to comment.