Skip to content

Commit

Permalink
Merge branch 'main' into 2142_derive_summary_records_get_summary_reco…
Browse files Browse the repository at this point in the history
…rds_mods
  • Loading branch information
bms63 authored Nov 2, 2023
2 parents b61cc15 + c0ab881 commit d27bba1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vignettes/articles/website-versions.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,15 @@ base_url <-
"https://pharmaverse.github.io/admiral/" # include the trailing backslash!
# get list of all files in the `gh-pages` branch
df_all_files <- gert::git_ls(ref = "gh-pages")
df_all_files <- tryCatch(gert::git_ls(ref = "gh-pages"), error = function(x) FALSE)
# if a local user (not on CI) does not have a copy of the `gh-pages` branch, exit silently
if (!isTRUE(as.logical(Sys.getenv("CI"))) && isFALSE(df_all_files)) {
knitr::knit_exit()
}
```

```{r include=FALSE}
# extract all folders in the root of the branch
all_folders <-
sub("/.*", "", df_all_files$path)[grepl(
Expand Down

0 comments on commit d27bba1

Please sign in to comment.