Skip to content

Commit 490572d

Browse files
committed
Install KWB dependencies from R-universe repo
1 parent f687f3b commit 490572d

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

import_publications_kwb.R

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1-
cran_deps <- c("bib2df", "blogdown", "dplyr", "fs", "readxl", "remotes", "reticulate", "tibble")
2-
install.packages(cran_deps, repo = "https://cran.rstudio.com")
3-
remotes::install_github("kwb-r/kwb.pubs@dev", upgrade = "always")
4-
remotes::install_github("kwb-r/kwb.site@dev", upgrade = "always")
5-
remotes::install_github("kwb-r/kwb.endnote@dev", upgrade = "always")
6-
remotes::install_github("kwb-r/kwb.nextcloud")
1+
# Enable the KWB R-universe
2+
options(repos = c(
3+
kwbr = 'https://kwb-r.r-universe.dev',
4+
CRAN = 'https://cloud.r-project.org'))
5+
6+
pkgs_cran <- c("bib2df", "blogdown", "dplyr", "fs", "readxl", "remotes", "reticulate", "tibble")
7+
pkgs_kwb <- c("kwb.endnote", "kwb.nextcloud", "kwb.pubs", "kwb.site")
8+
pkgs <- c(pkgs_cran, pkgs_kwb)
9+
10+
# Install CRAN/KWB Package Dependencies
11+
install.packages(pkgs)
12+
13+
# Install GitHub Package Dependencies
714
remotes::install_github("pixgarden/xsitemap")
815

916

0 commit comments

Comments
 (0)