Skip to content

Commit ce8e2b4

Browse files
committed
Update Rmd to test out action
1 parent a8fb75e commit ce8e2b4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

dynamic-docs/02-omop-walkthrough-critical-care/02-omop-walkthrough-critical-care.Rmd

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ knitr::opts_chunk$set(echo = TRUE, warning = FALSE, message = FALSE)
1919
```
2020

2121
## Installing & loading required packages
22+
23+
If any of the `library($PACKAGE)` packages aren't installed, you can install them by running `install.packages("$PACKAGE")`,
24+
replacing `$PACKAGE` with the package name.
25+
2226
```{r packages}
2327
2428
# install omopcept from Github if not installed
@@ -55,10 +59,10 @@ if (! file.exists(file.path(destdata,"person.csv")))
5559
{
5660
# Make GitHub API request to list contents of given path
5761
response <- gh::gh(glue::glue("/repos/{repo}/contents/{path}"))
58-
62+
5963
# Download all files to the destination dir
6064
purrr::walk(response, ~ download.file(.x$download_url, destfile = file.path(destdata, .x$name)))
61-
65+
6266
list.files(destdata)
6367
}
6468

0 commit comments

Comments
 (0)