* installing *source* package ‘GeneralizedUmatrixGPU’ ...
** package ‘GeneralizedUmatrixGPU’ successfully unpacked and MD5 sums checked
** using staged installation
configure: building makevars
System detected: Darwin
End of configure
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c trainSESOM.cpp -o trainSESOM.o
/bin/sh: /Library/Frameworks/R.framework/Resources/bin/Rscript.exe: No such file or directory
/bin/sh: /Library/Frameworks/R.framework/Resources/bin/Rscript.exe: No such file or directory
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o GeneralizedUmatrixGPU.so RcppExports.o trainSESOM.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -framework OpenCL -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [GeneralizedUmatrixGPU.so] Error 1
ERROR: compilation failed for package ‘GeneralizedUmatrixGPU’
* removing ‘/Volumes/Builds/packages/big-sur-arm64/results/4.4/GeneralizedUmatrixGPU.Rcheck/GeneralizedUmatrixGPU’