[Bioc-devel] Build issues under macOS
m@tone @end|ng |rom |redhutch@org
Wed Sep 9 03:03:10 CEST 2020
I've begun the submission of a new package , but I'm encountering some errors in the automated build under macOS on merida1 and would greatly appreciate any assistance.
I've currently tried to build twice, once upon initial submission and once after updating the DESCRIPTION to remove a redundant Maintainer field. I'm a bit confused that each build failed with different errors, as the only difference between the two was the removal of the Maintainer field.
In the first build , the binary build failed because the installer could not link to the fortran libraries. I have previously encountered a similar issue on my own macbook and was able to work around it by installing gfortran directly  rather than through homebrew. I have this noted in the package's README, but is there a better solution to ensure compatibility in more environments, including merida1?
In the second build , the check failed because the package was uninstallable, and the binary build failed because edgeR could not be found. I'm assuming the latter is the cause of the former error. edgeR is an indirect dependency via scran; is it necessary to make it an explicit import?
Before submission, I set up the BiocCheck github action supported by r-lib , and was able to build the package and run a mostly clean (minus a few NOTEs) check/BiocCheck under Ubuntu, Windows, and macOS. Is anyone familiar with the distinction between the environments on merida1 and the docker image in this workflow? I'd be happy to help update the latter to be consistent with merida1.
[[alternative HTML version deleted]]
More information about the Bioc-devel