@@ -33,24 +33,27 @@ jobs:
3333 - name : Ensure remotes is installed
3434 run : Rscript -e 'if (!requireNamespace("remotes", quietly = TRUE)) install.packages("remotes")'
3535
36- - name : Force install ggplot2 3.5.2
37- run : Rscript -e 'remotes::install_version("ggplot2", version = "3.5.2")'
38-
39- - name : Force install scales 1.3.0
40- run : Rscript -e 'remotes::install_version("scales", version = "1.3.0")'
41-
42- - name : Force install pkgdown 2.0.7
43- run : Rscript -e 'remotes::install_version("pkgdown", version = "2.0.7")'
44-
45- - name : Install dependencies
46- uses : r-lib/actions/setup-r-dependencies@v2
47- with :
48- extra-packages : |
49- any::lintr
50- github::elgabbas/ecokit
51- github::hmsc-r/HMSC
52- local::.
53- needs : lint
36+ - name : Install compatible dependencies
37+ run : |
38+ Rscript -e 'remotes::install_version("ggplot2", version = "3.5.2")'
39+ Rscript -e 'remotes::install_version("scales", version = "1.3.0")'
40+ Rscript -e 'remotes::install_version("pkgdown", version = "2.0.7")'
41+ Rscript -e 'remotes::install_version("lintr", version = "3.0.0")'
42+ Rscript -e 'remotes::install_version("sessioninfo", version = "1.2.2")'
43+
44+ - name : Install remaining dependencies
45+ run : |
46+ Rscript -e 'remotes::install_deps(dependencies = TRUE)'
47+
48+ # - name: Install dependencies
49+ # uses: r-lib/actions/setup-r-dependencies@v2
50+ # with:
51+ # extra-packages: |
52+ # any::lintr
53+ # github::elgabbas/ecokit
54+ # github::hmsc-r/HMSC
55+ # local::.
56+ # needs: lint
5457
5558 - name : Lint
5659 run : lintr::lint_package()
0 commit comments