Hi Murray
Sorry to trouble you with this sort of thing, I'm trying to update my secrdesign package and am getting an error. I first updated secr so know that is up to date, and I have checked that my version of R >3.5 (I am using 4.1).
Here is the last part of the error in case it includes any clues as to where the issue lies. Any suggestions are much appreciated:
5 warnings generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o secrdesign.so RcppExports.o secrdesignarma.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: -single_module is obsolete
ld: warning: -multiply_defined is obsolete
ld: warning: search path '/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0' not found
ld: library 'quadmath' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [secrdesign.so] Error 1
ERROR: compilation failed for package ‘secrdesign’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/secrdesign’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/secrdesign’
Warning in install.packages :
installation of package ‘secrdesign’ had non-zero exit status
I see a reference to quadmath so I tried to install that but got a msg that it is not available for my version of R. Should I maybe update R and RStudio to the latest versions?
Thanks!
Greg