Commit 23fe6f3 1 parent 8d386b4 commit 23fe6f3 Copy full SHA for 23fe6f3
File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,25 @@ jobs:
11
11
steps :
12
12
- uses : actions/checkout@v4
13
13
14
+ - uses : actions/cache@v4
15
+ name : Cache R packages
16
+ id : cache-r-packages
17
+ with :
18
+ path : ' /usr/local/lib/R/site-library/'
19
+ key : ${{ runner.os }}
20
+
14
21
- name : Install netdiffuseR
22
+ if : steps.cache-r-packages.outputs.cache-hit != 'true'
15
23
uses : actions/checkout@v4
16
24
with :
17
25
repository : USCCANA/netdiffuseR
18
26
path : netdiffuseR
19
27
20
28
- name : Install netdiffuseR
29
+ if : steps.cache-r-packages.outputs.cache-hit != 'true'
21
30
run : |
22
31
install2.r igraph networkDynamic statnet Rcpp MatchIt \
23
- SparseM viridisLite RcppArmadillo rmarkdown knitr
32
+ SparseM viridisLite RcppArmadillo rmarkdown knitr microbenchmark
24
33
R CMD INSTALL netdiffuseR
25
34
rm -rf netdiffuseR
26
35
Original file line number Diff line number Diff line change 1
1
project :
2
2
type : website
3
3
output-dir : ' docs'
4
-
4
+
5
5
website :
6
6
title : " netdiffuseR: A workshop"
7
7
# body-footer: <text style="text-align:center">ForeSITE</text>
You can’t perform that action at this time.
0 commit comments