Skip to content

Commit

Permalink
Move installation step to appropriate chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelasq committed Aug 22, 2024
1 parent 3e58442 commit c8ecdf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 04-set-up.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ We use several packages throughout the book, but let's install and load specific
```{r}
#| label: setup-install-core1
#| eval: FALSE
install.packages(c("tidyverse", "pak", "survey", "srvyr"))
install.packages(c("tidyverse", "survey", "srvyr"))
```

We bundled the datasets used in the book in an R package, {srvyrexploR} [@R-srvyrexploR]. To install it from GitHub, use the {pak} package [@R-pak]:
Expand All @@ -35,6 +35,7 @@ We bundled the datasets used in the book in an R package, {srvyrexploR} [@R-srvy
#| label: setup-install-core2
#| eval: FALSE
#| warning: FALSE
install.packages("pak")
pak::pak("tidy-survey-r/srvyrexploR")
```

Expand Down

0 comments on commit c8ecdf7

Please sign in to comment.