File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 4
4
runs-on : ubuntu-latest
5
5
container : bioconductor/bioconductor_docker:RELEASE_3_11
6
6
env :
7
+ # Add PAT to the entire job to authenticate all GitHub API calls
8
+ GITHUB_PAT : ${{ secrets.GH_PAT }}
7
9
R_REMOTES_NO_ERRORS_FROM_WARNINGS : true
10
+
8
11
steps :
9
12
- name : Checkout code
10
13
run : |
@@ -28,23 +31,13 @@ jobs:
28
31
sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))")
29
32
sudo -s eval "$sysreqs"
30
33
31
- # Change: This step is now more robust. It uses BiocManager to install
32
- # dependencies before installing the local package.
33
34
- name : Install dependencies
34
35
run : |
35
36
options(repos = c(CRAN = "https://cloud.r-project.org"))
36
37
install.packages("remotes")
37
-
38
- # Get all dependencies from the DESCRIPTION file
39
38
deps <- remotes::dev_package_deps(dependencies = TRUE)
40
-
41
- # Use the robust BiocManager installer to handle all dependencies
42
39
BiocManager::install(deps$package, update = FALSE, ask = FALSE)
43
-
44
- # Install the local package itself (dependencies are already installed)
45
40
remotes::install_local(dependencies = FALSE)
46
-
47
- # Install rcmdcheck separately
48
41
BiocManager::install("rcmdcheck", update = FALSE, ask = FALSE)
49
42
shell : Rscript {0}
50
43
You can’t perform that action at this time.
0 commit comments