problem regarding installation of "dplR" in Mac

Dear All,

I have tried to install "dplR" package in my Mac. I have installed all prerequisites. But I am getting an error at the end of installation that is followed as

ld: warning: directory not found for option '-L/opt/concourse/worker/volumes/live/59b7f007-fada-42cf-7435-5bbd0518eaa4/volume/r-base_1570124919999/_build_env/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5'
ld: warning: directory not found for option '-L/opt/concourse/worker/volumes/live/59b7f007-fada-42cf-7435-5bbd0518eaa4/volume/r-base_1570124919999/_build_env/lib/gcc'
ld: warning: directory not found for option '-L/opt/concourse/worker/volumes/live/59b7f007-fada-42cf-7435-5bbd0518eaa4/volume/r-base_1570124919999/_build_env/lib'
ld: warning: -pie being ignored. It is only used when linking a main executable
ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/opt/anaconda3/envs/Rstudio/lib/R/share/make/shlib.mk:6: dplR.dylib] Error 1
ERROR: compilation failed for package ‘dplR’

  • removing ‘/opt/anaconda3/envs/Rstudio/lib/R/library/dplR’

The downloaded source packages are in
‘/private/var/folders/2h/z5gdkkss3xzc42_1_j57m6x40000gn/T/RtmpgTxTar/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("dplR") :
installation of package ‘dplR’ had non-zero exit status

If the first attempt to install from source fails, it can’t be fixed without a fairly sophisticated grasp of programming in the source language. When you see “binary version but source is later” answer no. If anaconda’ won’t let you do that, install with R install.packages("dplR"). If anacondawon’t let you do that, choose which to keep, chooseRorPython. If that doesn’t work, use the RStudio cloud version. If that doesn’t work, run a clean R` in a virtual environment, preferably Ubuntu. If that doesn’t work, provision an AMZ EC. If that doesn’t work, use a separate box running under Ubuntu. If that doesn’t work, I’ve no other suggestions.

This topic was automatically closed 42 days after the last reply. 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.