Skip to content

Commit

Permalink
add roxygen deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinvoicu committed Mar 13, 2024
1 parent 255768e commit 87cc6a1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/roxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ jobs:
with:
path: ${{ github.event.repository.name }}

- name: Install package dependencies 📄
run: |
if (file.exists("dependencies.yml")) {
repos <- yaml::yaml.load(readLines("dependencies.yml"))$dependencies |>
sapply(function(x) x$repo)
if(repos |> length() > 0) {
repos |>
pak::pak(dependencies = TRUE, ask = FALSE, upgrade = FALSE)
}
}
shell: Rscript {0}
working-directory: ${{ github.event.repository.name }}

- name: Generate man pages 📄
run: |
Rscript -e 'roxygen2::roxygenize()'
Expand Down

0 comments on commit 87cc6a1

Please sign in to comment.