Skip to content

Commit

Permalink
try using pak to install
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhsparks committed Jul 31, 2024
1 parent 3e09c50 commit 32792f2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions aagi-template-revealjs.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ format:
#| label: load
#| message: false
if (!require("remotes")) {
install.packages("remotes")
if (!require("pak")) install.packages("pak")
if (!require("AAGIPalettes")) {
pak::pkg_install("AAGI-Org-AU-Public/AAGIPalettes",
build_vignettes = TRUE
)
}
if (!require("AAGIThemes")) {
remotes::install_git("https://github.com/AAGI-Org-AU-Public/AAGIThemes",
pak::pkg_install("AAGI-Org-AU-Public/AAGIThemes",
build_vignettes = TRUE
)
}
Expand Down

0 comments on commit 32792f2

Please sign in to comment.