В Tue, 16 May 2023 12:07:05 -0400 Jarrett Phillips <phillipsjarre...@gmail.com> пишет:
> ld: warning: directory not found for option > '-L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.6.0/12.0.1' > ld: warning: directory not found for option > '-L/opt/R/arm64/gfortran/lib' > ld: library not found for -lgfortran > I've also installed `Homebrew` and `gfortran`, verifying via typing > in the Terminal. Was it the Homebrew build of gfortran, or the one from <https://mac.r-project.org/tools/>? Does this happen if you run R CMD build <path> in the Terminal instead of devtools::build()? It might be that you need this specific R.home('etc')build, or you might have to adjust some paths in file.path(R.home('etc'), 'Makeconf'). A different build of gfortran may be not compatible with the one used to compile R. If you don't get a useful answer here, consider asking at r-sig-...@r-project.org, because this seems to be a Mac-specific problem. -- Best regards, Ivan ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel