diff --git a/04-set-up.Rmd b/04-set-up.Rmd index 4feaf51..84bdeea 100644 --- a/04-set-up.Rmd +++ b/04-set-up.Rmd @@ -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]: @@ -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") ```