Skip to content

Commit

Permalink
Add ref to pak package
Browse files Browse the repository at this point in the history
  • Loading branch information
szimmer committed Aug 22, 2024
1 parent e7f010f commit 9687983
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 01-introduction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ packinfo_attach <- packinfo %>%
packinfo_tib <-
renv_pack %>%
filter(Package %in% c(pull(packinfo_attach, package), "pak")) %>%
filter(Package %in% c(pull(packinfo_attach, package))) %>%
rename(SourceInit=Source) %>%
mutate(
ShortSha=str_sub(RemoteSha, 1, 7),
Expand Down
2 changes: 1 addition & 1 deletion 04-set-up.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ We use several packages throughout the book, but let's install and load specific
install.packages(c("tidyverse", "survey", "srvyr"))
```

We bundled the datasets used in the book in an R package, {srvyrexploR}. To install it from GitHub, use the {pak} package:
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]:

```{r}
#| label: setup-install-core2
Expand Down
1 change: 1 addition & 0 deletions 99-references.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ library(readxl)
library(httr2)
library(jsonlite)
library(tidycensus)
library(pak)
our_write_bib <- function (x = .packages(), file = "", tweak = TRUE, width = NULL,
Expand Down
12 changes: 12 additions & 0 deletions renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1581,6 +1581,18 @@
],
"Hash": "1f8c66528602fda4eef0c2e11eda5a57"
},
"pak": {
"Package": "pak",
"Version": "0.7.2",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R",
"tools",
"utils"
],
"Hash": "93288e19455e09f590b56db4d50248fe"
},
"pillar": {
"Package": "pillar",
"Version": "1.9.0",
Expand Down

0 comments on commit 9687983

Please sign in to comment.