* installing *source* package ‘muhaz’ ...
** package ‘muhaz’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (GCC) 13.2.0’
using Fortran compiler: ‘GNU Fortran (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/muhaz/src'
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c init.c -o init.o
gfortran-13  -fpic  -g -O2 -mtune=native -Wall -pedantic  -c muhaz.f -o muhaz.o
muhaz.f:829:54:

  829 |       DOUBLE PRECISION r, s, q, valueb, valuev, hazden, ONE
      |                                                      1
Warning: Unused variable 'hazden' declared at (1) [-Wunused-variable]
muhaz.f:1020:33:

 1020 |       DOUBLE PRECISION x(20000,2)
      |                                 1
Warning: Array 'x' at (1) is larger than limit set by '-fmax-stack-var-size=', moved from stack to static storage. This makes the procedure unsafe when called recursively, or concurrently from multiple threads. Consider increasing the '-fmax-stack-var-size=' limit (or use '-frecursive', which implies unlimited '-fmax-stack-var-size') - or change the code to use an ALLOCATABLE array. If the variable is never accessed concurrently, this warning can be ignored, and the variable could also be declared with the SAVE attribute. [-Wsurprising]
muhaz.f:1124:33:

 1124 |       DOUBLE PRECISION dx(200000), const, bw, bw0, r, r0, gets, ds
      |                                 1
Warning: Array 'dx' at (1) is larger than limit set by '-fmax-stack-var-size=', moved from stack to static storage. This makes the procedure unsafe when called recursively, or concurrently from multiple threads. Consider increasing the '-fmax-stack-var-size=' limit (or use '-frecursive', which implies unlimited '-fmax-stack-var-size') - or change the code to use an ALLOCATABLE array. If the variable is never accessed concurrently, this warning can be ignored, and the variable could also be declared with the SAVE attribute. [-Wsurprising]
muhaz.f:516:39:

  516 |       DOUBLE PRECISION z0, tcopy(20000), td(20000)
      |                                       1
Warning: Array 'tcopy' at (1) is larger than limit set by '-fmax-stack-var-size=', moved from stack to static storage. This makes the procedure unsafe when called recursively, or concurrently from multiple threads. Consider increasing the '-fmax-stack-var-size=' limit (or use '-frecursive', which implies unlimited '-fmax-stack-var-size') - or change the code to use an ALLOCATABLE array. If the variable is never accessed concurrently, this warning can be ignored, and the variable could also be declared with the SAVE attribute. [-Wsurprising]
muhaz.f:516:50:

  516 |       DOUBLE PRECISION z0, tcopy(20000), td(20000)
      |                                                  1
Warning: Array 'td' at (1) is larger than limit set by '-fmax-stack-var-size=', moved from stack to static storage. This makes the procedure unsafe when called recursively, or concurrently from multiple threads. Consider increasing the '-fmax-stack-var-size=' limit (or use '-frecursive', which implies unlimited '-fmax-stack-var-size') - or change the code to use an ALLOCATABLE array. If the variable is never accessed concurrently, this warning can be ignored, and the variable could also be declared with the SAVE attribute. [-Wsurprising]
muhaz.f:619:32:

  619 |       INTEGER n, delta(n), gridb, gridz, ks, kflag, kmin, kmax,
      |                                1
Warning: Unused variable 'gridb' declared at (1) [-Wunused-variable]
muhaz.f:620:26:

  620 |      *        bwchoi, m, k
      |                          1
Warning: Unused variable 'k' declared at (1) [-Wunused-variable]
muhaz.f:28:72:

   28 |       RETURN
      |                                                                        ^
Warning: '__result_atpos' may be used uninitialized [-Wmaybe-uninitialized]
muhaz.f:1:28:

    1 |       INTEGER FUNCTION atpos(v, n, x)
      |                            ^
note: '__result_atpos' was declared here
muhaz.f:1180:72:

 1180 |       r0 = ONELES * r
      |                                                                        ^
Warning: 'r' may be used uninitialized [-Wmaybe-uninitialized]
muhaz.f:1124:52:

 1124 |       DOUBLE PRECISION dx(200000), const, bw, bw0, r, r0, gets, ds
      |                                                    ^
note: 'r' was declared here
muhaz.f:497:72:

  497 |       kernel = v1 * v2
      |                                                                        ^
Warning: 'v1' may be used uninitialized [-Wmaybe-uninitialized]
muhaz.f:441:25:

  441 |       DOUBLE PRECISION v1, v2, HALF, ONE, TWO
      |                         ^
note: 'v1' was declared here
muhaz.f:497:72:

  497 |       kernel = v1 * v2
      |                                                                        ^
Warning: 'v2' may be used uninitialized [-Wmaybe-uninitialized]
muhaz.f:441:29:

  441 |       DOUBLE PRECISION v1, v2, HALF, ONE, TWO
      |                             ^
note: 'v2' was declared here
gcc-13 -shared -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -fpic -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o muhaz.so init.o muhaz.o -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/muhaz/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/muhaz/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/muhaz/src'
installing to /data/gannet/ripley/R/packages/tests-devel/muhaz.Rcheck/00LOCK-muhaz/00new/muhaz/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (muhaz)