Skip to content

Commit

Permalink
20240430 - package installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
isaactpetersen committed Apr 30, 2024
1 parent 19a7b79 commit d11c6a6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions 02-Intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Most of the `R` packages used in this book can be installed from the Comprehensi
install.packages("INSERT_PACKAGE_NAME_HERE")
```

Several of the packages are hosted on GitHub repositories, including `uroc` [@Gneiting2021], `dmacs` [@R-dmacs], and `petersenlab` [@R-petersenlab].\index{GitHub}\index{petersenlab package}
Several of the packages are hosted on GitHub repositories, including `uroc` [@Gneiting2021] and `dmacs` [@R-dmacs].\index{GitHub}

You can install the `uroc` and `dmacs` packages using the following code:

Expand All @@ -189,8 +189,14 @@ remotes::install_github("evwalz/uroc")
remotes::install_github("ddueber/dmacs")
```

Many of the `R` functions used in this book are available from the `petersenlab` package [@R-petersenlab]\index{petersenlab package}: https://github.com/DevPsyLab/petersenlab.
You can install the `petersenlab` package [@R-petersenlab] using the following code:\index{petersenlab package}
Many of the `R` functions used in this book are available from the [`petersenlab`](https://github.com/DevPsyLab/petersenlab) package [@R-petersenlab]\index{petersenlab package}: https://github.com/DevPsyLab/petersenlab.
You can install the latest stable release of the [`petersenlab`](https://github.com/DevPsyLab/petersenlab) package [@R-petersenlab] from `CRAN` using the following code:\index{petersenlab package}

```{r, eval = FALSE}
install.packages("petersenlab")
```

You can install the latest development version of the [`petersenlab`](https://github.com/DevPsyLab/petersenlab) package [@R-petersenlab] from `GitHub` using the following code:\index{petersenlab package}

```{r, eval = FALSE}
install.packages("remotes")
Expand Down

0 comments on commit d11c6a6

Please sign in to comment.