##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL PING
###
##############################################################################
##############################################################################


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library’
* installing *source* package ‘PING’ ...
** using staged installation
checking for pkg-config... /opt/homebrew/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GSL... no
checking for gcc... clang -arch arm64
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang -arch arm64 accepts -g... yes
checking for clang -arch arm64 option to accept ISO C89... none needed
checking for gsl-config... /opt/R/arm64/bin/gsl-config
checking for GSL - version >= 1.6... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c init.c -o init.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ping.c -o ping.o
ping.c:321:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
      if(abs(REAL(yF)[i]-mu[k]+delta[k]/2.)/sqrt(sF[k])<calpha)
         ^
ping.c:321:10: note: use function 'fabs' instead
      if(abs(REAL(yF)[i]-mu[k]+delta[k]/2.)/sqrt(sF[k])<calpha)
         ^~~
         fabs
ping.c:329:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
      if(abs(REAL(yR)[i]-mu[k]-delta[k]/2.)/sqrt(sR[k])<calpha)
         ^
ping.c:329:10: note: use function 'fabs' instead
      if(abs(REAL(yR)[i]-mu[k]-delta[k]/2.)/sqrt(sR[k])<calpha)
         ^~~
         fabs
ping.c:345:12: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
        if(abs(REAL(cF)[i]-mu[k]+delta[k]/2.)/sqrt(sF[k])<calpha)
           ^
ping.c:345:12: note: use function 'fabs' instead
        if(abs(REAL(cF)[i]-mu[k]+delta[k]/2.)/sqrt(sF[k])<calpha)
           ^~~
           fabs
ping.c:353:12: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
        if(abs(REAL(cR)[i]-mu[k]-delta[k]/2.)/sqrt(sR[k])<calpha)
           ^
ping.c:353:12: note: use function 'fabs' instead
        if(abs(REAL(cR)[i]-mu[k]-delta[k]/2.)/sqrt(sR[k])<calpha)
           ^~~
           fabs
ping.c:1536:9: warning: variable 'chiSum' set but not used [-Wunused-but-set-variable]
        double chiSum = 0, etaF, etaR, dd, cc;
               ^
ping.c:3280:20: warning: variable 'tstatMax' set but not used [-Wunused-but-set-variable]
  double tstat=0.0,tstatMax=0.0;
                   ^
6 warnings generated.
clang -arch arm64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o PING.so init.o ping.o -lgsl -lgslcblas -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/00LOCK-PING/00new/PING/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (PING)