Unable to download the Funcy Package on the Macbook M1 Pro

I am trying the impossible here by installing a package from the cran website in a gz file since the pakcge has been deprricated and the install.package command is not working both the remote and the source version

also getting this error on the source installation

ld: warning: directory not found for option '-L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.2.0/11.0.0'
ld: warning: directory not found for option '-L/opt/R/arm64/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [funcy.so] Error 1
ERROR: compilation failed for package ‘funcy’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/funcy’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/cd/f_1zmcp92y937t04sh2snzx80000gn/T//RtmpH9m5rM/file28e35d7eb49/funcy_1.0.1.tar.gz’ had non-zero exit status

I dont have a direct solution for you, but I think that given your description of what you are trying to do, you should familiarise yourself with the content here :
Tools - R for Mac OS X - developer's page - GNU Fortan for Xcode (r-project.org)

1 Like

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.