Closed jwokaty closed 4 hours ago
Thanks for reporting! I did not notice this because the problem does not show if you have a local gcc or gfortran installed.
This should be fixed now in https://github.com/r-universe-org/actions/commit/b13cbfa315d141c3aa5dbb8a0363e3db375d9867: we can use a simpler method Suggested here by BDR by linking to the R location in the first place, so that we don't have to do any fixups after the build.
I'm about to rebuild a bunch of R fortran packages and see if this works well. You can go ahead and try it for impute
.
Mac binaries may fail to load due to expecting libraries to exists in certain paths. Vince installed the Bioconductor impute package built by r-universe on a new mac. When attempting to load
impute
withlibrary
, it fails because it expects to find libraries along paths that don't exist, like/opt/gfortran
.For Bioconductor mac binaries, we change these paths to point to files in the R installation using the
install_name_tool
, which you can see at the bottom ofimpute
's report https://bioconductor.org/checkResults/3.20/bioc-LATEST/impute/kjohnson3-buildbin.html withfix_dylibs_links
in https://github.com/Bioconductor/BBS/blob/59c72d94036eba81da0db0abbad894cb787a464a/utils/macosx-inst-pkg.sh#L104.