File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 88 defaults :
99 run :
1010 shell : Rscript {0}
11+ env :
12+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
1113 steps :
1214 - name : Checkout repo
1315 uses : actions/checkout@master
1416
1517 - name : Setup R
1618 uses : r-lib/actions/setup-r@master
19+ with :
20+ install-r : false
1721
1822 - name : Configure Git identity
1923 run : |
@@ -23,10 +27,11 @@ jobs:
2327
2428 - name : Install dependencies
2529 run : |
26- install.packages("remotes")
30+ if (!requireNamespace("curl", quietly = TRUE)) install.packages("curl")
31+ if (!requireNamespace("remotes", quietly = TRUE)) install.packages("remotes")
2732 remotes::install_deps(dependencies = TRUE, type = .Platform$pkgType)
2833 remotes::install_github("r-lib/bench")
29- install.packages("here")
34+ if (!requireNamespace("here", quietly = TRUE)) install.packages("here")
3035
3136 - name : Install package
3237 run : R CMD INSTALL .
You can’t perform that action at this time.
0 commit comments