Skip to content

Commit fe897fd

Browse files
committed
Bump cache for [pkgdown]; add session info
1 parent 09f4b0c commit fe897fd

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
path: |
4444
${{ env.R_LIBS_USER }}/*
4545
!${{ env.R_LIBS_USER }}/pak
46-
key: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('.github/r-depends.rds') }}
47-
restore-keys: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-1-
46+
key: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-2-${{ hashFiles('.github/r-depends.rds') }}
47+
restore-keys: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-2-
4848

4949
- name: Install system dependencies
5050
if: runner.os == 'Linux'
@@ -59,6 +59,13 @@ jobs:
5959
pak::pkg_install("pkgdown")
6060
shell: Rscript {0}
6161

62+
- name: Session info
63+
run: |
64+
options(width = 100)
65+
pkgs <- installed.packages()[, "Package"]
66+
sessioninfo::session_info(pkgs, include_base = TRUE)
67+
shell: Rscript {0}
68+
6269
- name: Install package
6370
run: R CMD INSTALL .
6471

0 commit comments

Comments
 (0)