* installing *source* package ‘PRTree’ ...
** package ‘PRTree’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘clang version 18.1.5’
using Fortran compiler: ‘flang-new version 18.1.5’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/PRTree/src'
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c PRTree_init.c -o PRTree_init.o
/usr/local/clang18/bin/flang-new  -fpic  -O2 -pedantic  -c  base.f90 -o base.o
error: loc("/data/gannet/ripley/R/packages/tests-clang/PRTree/src/base.f90":377:14): 'arith.addi' op requires the same type for all operands and results
error: verification of lowering to FIR failed
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:223: base.o] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/PRTree/src'
ERROR: compilation failed for package ‘PRTree’
* removing ‘/data/gannet/ripley/R/packages/tests-clang/PRTree.Rcheck/PRTree’