Build fails on ubuntu-20.04(devel)

I am using GitHub Actions to check the build of an R package on Ubuntu, macOS and Windows. The Build fails in one of the runners (ubuntu-20.04 (devel)):
Screenshot 2021-01-10 at 14.20.29

Run rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
── R CMD build ─────────────────────────────────────────────────────────────────
* checking for file ‘.../DESCRIPTION’ ... OK
* preparing ‘TreeSummarizedExperiment’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
ERROR: dependencies ‘SingleCellExperiment’, ‘SummarizedExperiment’ are not available for package ‘TreeSummarizedExperiment’
* removing ‘/tmp/Rtmpma3sVt/Rinst567e71f0188/TreeSummarizedExperiment’
ERROR: package installation failed
Error: Error in proc$get_built_file() : Build process failed
Calls: <Anonymous> ... build_package -> with_envvar -> force -> <Anonymous>
Execution halted
Error: Process completed with exit code 1.

This is the branch the error occurs:

Anyone have any idea how this can be fixed?

Hi, it looks like your builds are failing while installing dependencies due to a bug with the installation order when there is a mix of source and binary dependencies in utils::install.packages(). This normally will resolve itself when all packages have binaries available, or you could try using one of the pak based workflows, though they are still somewhat experimental.

This topic was automatically closed after 45 days. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.