I have just started using GHA, and in particular the standard R-CMD-check workflow for a package that I am developing.
One of the Dependency a bioconductor package (GSEABase) that can be installed directly from
github bioconductor repostitory with remotes::install_github("Bioconductor/GSEABase")
Therefore my Package Description file contains the following lines:
The error you get when running R CMD check means the installation failed earlier, so earlier in the GHA log there might be a more informative error message.
Sometimes things just work better if switching from remotes-based workflows to pak-based workflows. I.e. in r-lib/actions, using the workflows whose filename features "pak". Especially as pak docs mention Bioconductor support.
If you keep using remotes: it might actually be a bit annoying that the next steps are run when installation fails. To make the run stop if installations fail you need to set the environment variable R_REMOTES_NO_ERRORS_FROM_WARNINGSto false. GitHub code search, remotes changelog.