Running ‘testthat.R’ [38s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(quickr)
  > 
  > test_check("quickr")
  Starting 2 test processes.
  > test-unary-intrinsics.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-loops.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-loops.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-loops.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b070baa2a8'
  > test-loops.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-loops.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-loops.R: qfn_c_wrapper.c:13:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-loops.R:    13 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                       ^~~~~~~~~~~~
  > test-loops.R:       |                                                       Rf_type2char
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |              ^
  > test-loops.R: qfn_c_wrapper.c:13:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-loops.R:    13 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                                    ^
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |                                   ^
  > test-loops.R: 2 errors generated.
  > test-loops.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-loops.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b070baa2a8'
  > test-loops.R: ---
  > test-loops.R: Compiler exit status: 1 
  > test-unary-intrinsics.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-unary-intrinsics.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-2775925d734a5b'
  > test-unary-intrinsics.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-unary-intrinsics.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-unary-intrinsics.R: qfn_c_wrapper.c:16:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-unary-intrinsics.R:    16 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-unary-intrinsics.R:       |                                                      ^~~~~~~~~~~~
  > test-unary-intrinsics.R:       |                                                      Rf_type2char
  > test-unary-intrinsics.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-unary-intrinsics.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-unary-intrinsics.R:       |              ^
  > test-unary-intrinsics.R: qfn_c_wrapper.c:16:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-unary-intrinsics.R:    16 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-unary-intrinsics.R:       |                                                                   ^
  > test-unary-intrinsics.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-unary-intrinsics.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-unary-intrinsics.R:       |                                   ^
  > test-unary-intrinsics.R: 2 errors generated.
  > test-unary-intrinsics.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-unary-intrinsics.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-2775925d734a5b'
  > test-unary-intrinsics.R: ---
  > test-unary-intrinsics.R: Compiler exit status: 1 
  > test-unary-intrinsics.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-unary-intrinsics.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-unary-intrinsics.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-27759266331475'
  > test-unary-intrinsics.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-unary-intrinsics.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-unary-intrinsics.R: qfn_c_wrapper.c:16:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-unary-intrinsics.R:    16 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-unary-intrinsics.R:       |                                                       ^~~~~~~~~~~~
  > test-unary-intrinsics.R:       |                                                       Rf_type2char
  > test-unary-intrinsics.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-unary-intrinsics.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-unary-intrinsics.R:       |              ^
  > test-unary-intrinsics.R: qfn_c_wrapper.c:16:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-unary-intrinsics.R:    16 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-unary-intrinsics.R:       |                                                                    ^
  > test-unary-intrinsics.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-unary-intrinsics.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-unary-intrinsics.R:       |                                   ^
  > test-unary-intrinsics.R: 2 errors generated.
  > test-unary-intrinsics.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-unary-intrinsics.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-27759266331475'
  > test-unary-intrinsics.R: ---
  > test-unary-intrinsics.R: Compiler exit status: 1 
  > test-loops.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-loops.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-loops.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b0657d3a4c'
  > test-loops.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-loops.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-loops.R: qfn_c_wrapper.c:13:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-loops.R:    13 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                       ^~~~~~~~~~~~
  > test-loops.R:       |                                                       Rf_type2char
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |              ^
  > test-loops.R: qfn_c_wrapper.c:13:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-loops.R:    13 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                                    ^
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |                                   ^
  > test-loops.R: 2 errors generated.
  > test-loops.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-loops.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b0657d3a4c'
  > test-loops.R: ---
  > test-loops.R: Compiler exit status: 1 
  > test-loops.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-loops.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-loops.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b03c873518'
  > test-loops.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-loops.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-loops.R: qfn_c_wrapper.c:13:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-loops.R:    13 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                       ^~~~~~~~~~~~
  > test-loops.R:       |                                                       Rf_type2char
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |              ^
  > test-loops.R: qfn_c_wrapper.c:13:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-loops.R:    13 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                                    ^
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |                                   ^
  > test-loops.R: 2 errors generated.
  > test-loops.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-loops.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b03c873518'
  > test-loops.R: ---
  > test-loops.R: Compiler exit status: 1 
  > test-unary-intrinsics.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-unary-intrinsics.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-unary-intrinsics.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-2775923a866029'
  > test-unary-intrinsics.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-unary-intrinsics.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-unary-intrinsics.R: qfn_c_wrapper.c:16:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-unary-intrinsics.R:    16 |     Rf_error("typeof(z) must be 'complex', not '%s'", R_typeToChar(z));
  > test-unary-intrinsics.R:       |                                                       ^~~~~~~~~~~~
  > test-unary-intrinsics.R:       |                                                       Rf_type2char
  > test-unary-intrinsics.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-unary-intrinsics.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-unary-intrinsics.R:       |              ^
  > test-unary-intrinsics.R: qfn_c_wrapper.c:16:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-unary-intrinsics.R:    16 |     Rf_error("typeof(z) must be 'complex', not '%s'", R_typeToChar(z));
  > test-unary-intrinsics.R:       |                                                                    ^
  > test-unary-intrinsics.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-unary-intrinsics.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-unary-intrinsics.R:       |                                   ^
  > test-unary-intrinsics.R: 2 errors generated.
  > test-unary-intrinsics.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-unary-intrinsics.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-2775923a866029'
  > test-unary-intrinsics.R: ---
  > test-unary-intrinsics.R: Compiler exit status: 1 
  Saving _problems/test-unary-intrinsics-42.R
  Saving _problems/test-unary-intrinsics-62.R
  Saving _problems/test-unary-intrinsics-100.R
  > test-loops.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-loops.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-loops.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b0272037e8'
  > test-loops.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-loops.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-loops.R: qfn_c_wrapper.c:13:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-loops.R:    13 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                       ^~~~~~~~~~~~
  > test-loops.R:       |                                                       Rf_type2char
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |              ^
  > test-loops.R: qfn_c_wrapper.c:13:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-loops.R:    13 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                                    ^
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |                                   ^
  > test-loops.R: 2 errors generated.
  > test-loops.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-loops.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b0272037e8'
  > test-loops.R: ---
  > test-loops.R: Compiler exit status: 1 
  > test-add.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-add.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-add.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/slow_add1-build-2775926f377d93'
  > test-add.R: flang-21  -fpic  -g -O2 -c  slow_add1_fsub.f90 -o slow_add1_fsub.o
  > test-add.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c slow_add1_c_wrapper.c -o slow_add1_c_wrapper.o
  > test-add.R: slow_add1_c_wrapper.c:13:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-add.R:    13 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-add.R:       |                                                      ^~~~~~~~~~~~
  > test-add.R:       |                                                      Rf_type2char
  > test-add.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-add.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-add.R:       |              ^
  > test-add.R: slow_add1_c_wrapper.c:13:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-add.R:    13 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-add.R:       |                                                                   ^
  > test-add.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-add.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-add.R:       |                                   ^
  > test-add.R: 2 errors generated.
  > test-add.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: slow_add1_c_wrapper.o] Error 1
  > test-add.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/slow_add1-build-2775926f377d93'
  > test-add.R: ---
  > test-add.R: Compiler exit status: 1 
  > test-loops.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-loops.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-loops.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b0786565d0'
  > test-loops.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-loops.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-loops.R: qfn_c_wrapper.c:13:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-loops.R:    13 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                       ^~~~~~~~~~~~
  > test-loops.R:       |                                                       Rf_type2char
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |              ^
  > test-loops.R: qfn_c_wrapper.c:13:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-loops.R:    13 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                                    ^
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |                                   ^
  > test-loops.R: 2 errors generated.
  > test-loops.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-loops.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b0786565d0'
  > test-loops.R: ---
  > test-loops.R: Compiler exit status: 1 
  > test-add.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-add.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-add.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/slow_add2-build-277592240c3ca0'
  > test-add.R: flang-21  -fpic  -g -O2 -c  slow_add2_fsub.f90 -o slow_add2_fsub.o
  > test-add.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c slow_add2_c_wrapper.c -o slow_add2_c_wrapper.o
  > test-add.R: slow_add2_c_wrapper.c:17:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-add.R:    17 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-add.R:       |                                                       ^~~~~~~~~~~~
  > test-add.R:       |                                                       Rf_type2char
  > test-add.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-add.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-add.R:       |              ^
  > test-add.R: slow_add2_c_wrapper.c:17:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-add.R:    17 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-add.R:       |                                                                    ^
  > test-add.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-add.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-add.R:       |                                   ^
  > test-add.R: slow_add2_c_wrapper.c:26:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-add.R:    26 |     Rf_error("typeof(y) must be 'integer', not '%s'", R_typeToChar(y));
  > test-add.R:       |                                                       ^~~~~~~~~~~~
  > test-add.R:       |                                                       Rf_type2char
  > test-add.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-add.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-add.R:       |              ^
  > test-add.R: slow_add2_c_wrapper.c:26:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-add.R:    26 |     Rf_error("typeof(y) must be 'integer', not '%s'", R_typeToChar(y));
  > test-add.R:       |                                                                    ^
  > test-add.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-add.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-add.R:       |                                   ^
  > test-add.R: 4 errors generated.
  > test-add.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: slow_add2_c_wrapper.o] Error 1
  > test-add.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/slow_add2-build-277592240c3ca0'
  > test-add.R: ---
  > test-add.R: Compiler exit status: 1 
  Saving _problems/test-add-23.R
  Saving _problems/test-add-51.R
  > test-loops.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-loops.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-loops.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b063c9cad'
  > test-loops.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-loops.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-loops.R: qfn_c_wrapper.c:13:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-loops.R:    13 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                       ^~~~~~~~~~~~
  > test-loops.R:       |                                                       Rf_type2char
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |              ^
  > test-loops.R: qfn_c_wrapper.c:13:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-loops.R:    13 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                                    ^
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |                                   ^
  > test-loops.R: 2 errors generated.
  > test-loops.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-loops.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b063c9cad'
  > test-loops.R: ---
  > test-loops.R: Compiler exit status: 1 
  > test-as-double.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-as-double.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-as-double.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-27759214068263'
  > test-as-double.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-as-double.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-as-double.R: qfn_c_wrapper.c:16:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-as-double.R:    16 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-as-double.R:       |                                                       ^~~~~~~~~~~~
  > test-as-double.R:       |                                                       Rf_type2char
  > test-as-double.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-as-double.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-as-double.R:       |              ^
  > test-as-double.R: qfn_c_wrapper.c:16:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-as-double.R:    16 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-as-double.R:       |                                                                    ^
  > test-as-double.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-as-double.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-as-double.R:       |                                   ^
  > test-as-double.R: 2 errors generated.
  > test-as-double.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-as-double.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-27759214068263'
  > test-as-double.R: ---
  > test-as-double.R: Compiler exit status: 1 
  > test-loops.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-loops.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-loops.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b0164cb307'
  > test-loops.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-loops.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-loops.R: qfn_c_wrapper.c:16:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-loops.R:    16 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                       ^~~~~~~~~~~~
  > test-loops.R:       |                                                       Rf_type2char
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |              ^
  > test-loops.R: qfn_c_wrapper.c:16:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-loops.R:    16 |     Rf_error("typeof(x) must be 'integer', not '%s'", R_typeToChar(x));
  > test-loops.R:       |                                                                    ^
  > test-loops.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-loops.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-loops.R:       |                                   ^
  > test-loops.R: 2 errors generated.
  > test-loops.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-loops.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b0164cb307'
  > test-loops.R: ---
  > test-loops.R: Compiler exit status: 1 
  Saving _problems/test-loops-16.R
  Saving _problems/test-loops-33.R
  Saving _problems/test-loops-49.R
  Saving _problems/test-loops-62.R
  Saving _problems/test-loops-76.R
  Saving _problems/test-loops-92.R
  Saving _problems/test-loops-102.R
  > test-as-double.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-as-double.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-as-double.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-277592723234ea'
  > test-as-double.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-as-double.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-as-double.R: qfn_c_wrapper.c:17:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-as-double.R:    17 |     Rf_error("typeof(a) must be 'integer', not '%s'", R_typeToChar(a));
  > test-as-double.R:       |                                                       ^~~~~~~~~~~~
  > test-as-double.R:       |                                                       Rf_type2char
  > test-as-double.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-as-double.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-as-double.R:       |              ^
  > test-as-double.R: qfn_c_wrapper.c:17:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-as-double.R:    17 |     Rf_error("typeof(a) must be 'integer', not '%s'", R_typeToChar(a));
  > test-as-double.R:       |                                                                    ^
  > test-as-double.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-as-double.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-as-double.R:       |                                   ^
  > test-as-double.R: qfn_c_wrapper.c:26:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-as-double.R:    26 |     Rf_error("typeof(b) must be 'integer', not '%s'", R_typeToChar(b));
  > test-as-double.R:       |                                                       ^~~~~~~~~~~~
  > test-as-double.R:       |                                                       Rf_type2char
  > test-as-double.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-as-double.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-as-double.R:       |              ^
  > test-as-double.R: qfn_c_wrapper.c:26:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-as-double.R:    26 |     Rf_error("typeof(b) must be 'integer', not '%s'", R_typeToChar(b));
  > test-as-double.R:       |                                                                    ^
  > test-as-double.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-as-double.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-as-double.R:       |                                   ^
  > test-as-double.R: 4 errors generated.
  > test-as-double.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-as-double.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-277592723234ea'
  > test-as-double.R: ---
  > test-as-double.R: Compiler exit status: 1 
  Saving _problems/test-as-double-6.R
  Saving _problems/test-as-double-20.R
  > test-declare-type.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-declare-type.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-declare-type.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b01db0fe9'
  > test-declare-type.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-declare-type.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-declare-type.R: qfn_c_wrapper.c:16:59: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-declare-type.R:    16 |     Rf_error("typeof(start) must be 'integer', not '%s'", R_typeToChar(start));
  > test-declare-type.R:       |                                                           ^~~~~~~~~~~~
  > test-declare-type.R:       |                                                           Rf_type2char
  > test-declare-type.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-declare-type.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-declare-type.R:       |              ^
  > test-declare-type.R: qfn_c_wrapper.c:16:72: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-declare-type.R:    16 |     Rf_error("typeof(start) must be 'integer', not '%s'", R_typeToChar(start));
  > test-declare-type.R:       |                                                                        ^~~~~
  > test-declare-type.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-declare-type.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-declare-type.R:       |                                   ^
  > test-declare-type.R: qfn_c_wrapper.c:25:57: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-declare-type.R:    25 |     Rf_error("typeof(end) must be 'integer', not '%s'", R_typeToChar(end));
  > test-declare-type.R:       |                                                         ^~~~~~~~~~~~
  > test-declare-type.R:       |                                                         Rf_type2char
  > test-declare-type.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-declare-type.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-declare-type.R:       |              ^
  > test-declare-type.R: qfn_c_wrapper.c:25:70: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-declare-type.R:    25 |     Rf_error("typeof(end) must be 'integer', not '%s'", R_typeToChar(end));
  > test-declare-type.R:       |                                                                      ^~~
  > test-declare-type.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-declare-type.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-declare-type.R:       |                                   ^
  > test-declare-type.R: 4 errors generated.
  > test-declare-type.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-declare-type.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b01db0fe9'
  > test-declare-type.R: ---
  > test-declare-type.R: Compiler exit status: 1 
  Saving _problems/test-declare-type-14.R
  > test-dims2f.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-dims2f.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-dims2f.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/fn-build-277592788c45a6'
  > test-dims2f.R: flang-21  -fpic  -g -O2 -c  fn_fsub.f90 -o fn_fsub.o
  > test-dims2f.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c fn_c_wrapper.c -o fn_c_wrapper.o
  > test-dims2f.R: fn_c_wrapper.c:13:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-dims2f.R:    13 |     Rf_error("typeof(n) must be 'integer', not '%s'", R_typeToChar(n));
  > test-dims2f.R:       |                                                       ^~~~~~~~~~~~
  > test-dims2f.R:       |                                                       Rf_type2char
  > test-dims2f.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-dims2f.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-dims2f.R:       |              ^
  > test-dims2f.R: fn_c_wrapper.c:13:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-dims2f.R:    13 |     Rf_error("typeof(n) must be 'integer', not '%s'", R_typeToChar(n));
  > test-dims2f.R:       |                                                                    ^
  > test-dims2f.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-dims2f.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-dims2f.R:       |                                   ^
  > test-dims2f.R: 2 errors generated.
  > test-dims2f.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: fn_c_wrapper.o] Error 1
  > test-dims2f.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/fn-build-277592788c45a6'
  > test-dims2f.R: ---
  > test-dims2f.R: Compiler exit status: 1 
  > test-div-cast.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-div-cast.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-div-cast.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b07e742e89'
  > test-div-cast.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-div-cast.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-div-cast.R: qfn_c_wrapper.c:17:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-div-cast.R:    17 |     Rf_error("typeof(a) must be 'integer', not '%s'", R_typeToChar(a));
  > test-div-cast.R:       |                                                       ^~~~~~~~~~~~
  > test-div-cast.R:       |                                                       Rf_type2char
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |              ^
  > test-div-cast.R: qfn_c_wrapper.c:17:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-div-cast.R:    17 |     Rf_error("typeof(a) must be 'integer', not '%s'", R_typeToChar(a));
  > test-div-cast.R:       |                                                                    ^
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |                                   ^
  > test-div-cast.R: qfn_c_wrapper.c:26:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-div-cast.R:    26 |     Rf_error("typeof(b) must be 'integer', not '%s'", R_typeToChar(b));
  > test-div-cast.R:       |                                                       ^~~~~~~~~~~~
  > test-div-cast.R:       |                                                       Rf_type2char
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |              ^
  > test-div-cast.R: qfn_c_wrapper.c:26:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-div-cast.R:    26 |     Rf_error("typeof(b) must be 'integer', not '%s'", R_typeToChar(b));
  > test-div-cast.R:       |                                                                    ^
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |                                   ^
  > test-div-cast.R: 4 errors generated.
  > test-div-cast.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-div-cast.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b07e742e89'
  > test-div-cast.R: ---
  > test-div-cast.R: Compiler exit status: 1 
  > test-dims2f.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-dims2f.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-dims2f.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/fn-build-2775925bdd90fc'
  > test-dims2f.R: flang-21  -fpic  -g -O2 -c  fn_fsub.f90 -o fn_fsub.o
  > test-dims2f.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c fn_c_wrapper.c -o fn_c_wrapper.o
  > test-dims2f.R: fn_c_wrapper.c:13:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-dims2f.R:    13 |     Rf_error("typeof(n) must be 'integer', not '%s'", R_typeToChar(n));
  > test-dims2f.R:       |                                                       ^~~~~~~~~~~~
  > test-dims2f.R:       |                                                       Rf_type2char
  > test-dims2f.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-dims2f.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-dims2f.R:       |              ^
  > test-dims2f.R: fn_c_wrapper.c:13:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-dims2f.R:    13 |     Rf_error("typeof(n) must be 'integer', not '%s'", R_typeToChar(n));
  > test-dims2f.R:       |                                                                    ^
  > test-dims2f.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-dims2f.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-dims2f.R:       |                                   ^
  > test-dims2f.R: 2 errors generated.
  > test-dims2f.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: fn_c_wrapper.o] Error 1
  > test-dims2f.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/fn-build-2775925bdd90fc'
  > test-dims2f.R: ---
  > test-dims2f.R: Compiler exit status: 1 
  > test-div-cast.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-div-cast.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-div-cast.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b035f9daa7'
  > test-div-cast.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-div-cast.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-div-cast.R: qfn_c_wrapper.c:17:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-div-cast.R:    17 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-div-cast.R:       |                                                      ^~~~~~~~~~~~
  > test-div-cast.R:       |                                                      Rf_type2char
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |              ^
  > test-div-cast.R: qfn_c_wrapper.c:17:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-div-cast.R:    17 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-div-cast.R:       |                                                                   ^
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |                                   ^
  > test-div-cast.R: qfn_c_wrapper.c:26:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-div-cast.R:    26 |     Rf_error("typeof(b) must be 'integer', not '%s'", R_typeToChar(b));
  > test-div-cast.R:       |                                                       ^~~~~~~~~~~~
  > test-div-cast.R:       |                                                       Rf_type2char
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |              ^
  > test-div-cast.R: qfn_c_wrapper.c:26:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-div-cast.R:    26 |     Rf_error("typeof(b) must be 'integer', not '%s'", R_typeToChar(b));
  > test-div-cast.R:       |                                                                    ^
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |                                   ^
  > test-div-cast.R: 4 errors generated.
  > test-div-cast.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-div-cast.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b035f9daa7'
  > test-div-cast.R: ---
  > test-div-cast.R: Compiler exit status: 1 
  > test-dims2f.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-dims2f.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-dims2f.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/fn-build-27759233fae5a8'
  > test-dims2f.R: flang-21  -fpic  -g -O2 -c  fn_fsub.f90 -o fn_fsub.o
  > test-dims2f.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c fn_c_wrapper.c -o fn_c_wrapper.o
  > test-dims2f.R: fn_c_wrapper.c:13:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-dims2f.R:    13 |     Rf_error("typeof(n) must be 'integer', not '%s'", R_typeToChar(n));
  > test-dims2f.R:       |                                                       ^~~~~~~~~~~~
  > test-dims2f.R:       |                                                       Rf_type2char
  > test-dims2f.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-dims2f.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-dims2f.R:       |              ^
  > test-dims2f.R: fn_c_wrapper.c:13:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-dims2f.R:    13 |     Rf_error("typeof(n) must be 'integer', not '%s'", R_typeToChar(n));
  > test-dims2f.R:       |                                                                    ^
  > test-dims2f.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-dims2f.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-dims2f.R:       |                                   ^
  > test-dims2f.R: 2 errors generated.
  > test-dims2f.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: fn_c_wrapper.o] Error 1
  > test-dims2f.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/fn-build-27759233fae5a8'
  > test-dims2f.R: ---
  > test-dims2f.R: Compiler exit status: 1 
  Saving _problems/test-dims2f-11.R
  Saving _problems/test-dims2f-24.R
  Saving _problems/test-dims2f-37.R
  > test-div-cast.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-div-cast.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-div-cast.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b05fe53ae1'
  > test-div-cast.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-div-cast.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-div-cast.R: qfn_c_wrapper.c:17:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-div-cast.R:    17 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-div-cast.R:       |                                                      ^~~~~~~~~~~~
  > test-div-cast.R:       |                                                      Rf_type2char
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |              ^
  > test-div-cast.R: qfn_c_wrapper.c:17:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-div-cast.R:    17 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-div-cast.R:       |                                                                   ^
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |                                   ^
  > test-div-cast.R: qfn_c_wrapper.c:26:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-div-cast.R:    26 |     Rf_error("typeof(b) must be 'logical', not '%s'", R_typeToChar(b));
  > test-div-cast.R:       |                                                       ^~~~~~~~~~~~
  > test-div-cast.R:       |                                                       Rf_type2char
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |              ^
  > test-div-cast.R: qfn_c_wrapper.c:26:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-div-cast.R:    26 |     Rf_error("typeof(b) must be 'logical', not '%s'", R_typeToChar(b));
  > test-div-cast.R:       |                                                                    ^
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |                                   ^
  > test-div-cast.R: 4 errors generated.
  > test-div-cast.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-div-cast.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b05fe53ae1'
  > test-div-cast.R: ---
  > test-div-cast.R: Compiler exit status: 1 
  > test-div-mod.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-div-mod.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-div-mod.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-277592172dee3c'
  > test-div-mod.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-div-mod.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-div-mod.R: qfn_c_wrapper.c:17:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-div-mod.R:    17 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-div-mod.R:       |                                                      ^~~~~~~~~~~~
  > test-div-mod.R:       |                                                      Rf_type2char
  > test-div-mod.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-div-mod.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-mod.R:       |              ^
  > test-div-mod.R: qfn_c_wrapper.c:17:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-div-mod.R:    17 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-div-mod.R:       |                                                                   ^
  > test-div-mod.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-div-mod.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-mod.R:       |                                   ^
  > test-div-mod.R: qfn_c_wrapper.c:26:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-div-mod.R:    26 |     Rf_error("typeof(b) must be 'double', not '%s'", R_typeToChar(b));
  > test-div-mod.R:       |                                                      ^~~~~~~~~~~~
  > test-div-mod.R:       |                                                      Rf_type2char
  > test-div-mod.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-div-mod.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-mod.R:       |              ^
  > test-div-mod.R: qfn_c_wrapper.c:26:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-div-mod.R:    26 |     Rf_error("typeof(b) must be 'double', not '%s'", R_typeToChar(b));
  > test-div-mod.R:       |                                                                   ^
  > test-div-mod.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-div-mod.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-mod.R:       |                                   ^
  > test-div-mod.R: 4 errors generated.
  > test-div-mod.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-div-mod.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-277592172dee3c'
  > test-div-mod.R: ---
  > test-div-mod.R: Compiler exit status: 1 
  Saving _problems/test-div-mod-15.R
  > test-div-cast.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-div-cast.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-div-cast.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b04e5a7c91'
  > test-div-cast.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-div-cast.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-div-cast.R: qfn_c_wrapper.c:17:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-div-cast.R:    17 |     Rf_error("typeof(a) must be 'complex', not '%s'", R_typeToChar(a));
  > test-div-cast.R:       |                                                       ^~~~~~~~~~~~
  > test-div-cast.R:       |                                                       Rf_type2char
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |              ^
  > test-div-cast.R: qfn_c_wrapper.c:17:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-div-cast.R:    17 |     Rf_error("typeof(a) must be 'complex', not '%s'", R_typeToChar(a));
  > test-div-cast.R:       |                                                                    ^
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |                                   ^
  > test-div-cast.R: qfn_c_wrapper.c:26:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-div-cast.R:    26 |     Rf_error("typeof(b) must be 'complex', not '%s'", R_typeToChar(b));
  > test-div-cast.R:       |                                                       ^~~~~~~~~~~~
  > test-div-cast.R:       |                                                       Rf_type2char
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |              ^
  > test-div-cast.R: qfn_c_wrapper.c:26:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-div-cast.R:    26 |     Rf_error("typeof(b) must be 'complex', not '%s'", R_typeToChar(b));
  > test-div-cast.R:       |                                                                    ^
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |                                   ^
  > test-div-cast.R: 4 errors generated.
  > test-div-cast.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-div-cast.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b04e5a7c91'
  > test-div-cast.R: ---
  > test-div-cast.R: Compiler exit status: 1 
  > test-div-cast.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-div-cast.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-div-cast.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b0432eeade'
  > test-div-cast.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-div-cast.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-div-cast.R: qfn_c_wrapper.c:16:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-div-cast.R:    16 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-div-cast.R:       |                                                      ^~~~~~~~~~~~
  > test-div-cast.R:       |                                                      Rf_type2char
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |              ^
  > test-div-cast.R: qfn_c_wrapper.c:16:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-div-cast.R:    16 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-div-cast.R:       |                                                                   ^
  > test-div-cast.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-div-cast.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-div-cast.R:       |                                   ^
  > test-div-cast.R: 2 errors generated.
  > test-div-cast.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-div-cast.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b0432eeade'
  > test-div-cast.R: ---
  > test-div-cast.R: Compiler exit status: 1 
  Saving _problems/test-div-cast-11.R
  Saving _problems/test-div-cast-25.R
  Saving _problems/test-div-cast-39.R
  Saving _problems/test-div-cast-55.R
  Saving _problems/test-div-cast-69.R
  > test-example-convolve.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-example-convolve.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-example-convolve.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/quick_convolve-build-27759215721f3'
  > test-example-convolve.R: flang-21  -fpic  -g -O2 -c  quick_convolve_fsub.f90 -o quick_convolve_fsub.o
  > test-example-convolve.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c quick_convolve_c_wrapper.c -o quick_convolve_c_wrapper.o
  > test-example-convolve.R: quick_convolve_c_wrapper.c:18:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-convolve.R:    18 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-example-convolve.R:       |                                                      ^~~~~~~~~~~~
  > test-example-convolve.R:       |                                                      Rf_type2char
  > test-example-convolve.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-convolve.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-convolve.R:       |              ^
  > test-example-convolve.R: quick_convolve_c_wrapper.c:18:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-convolve.R:    18 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-example-convolve.R:       |                                                                   ^
  > test-example-convolve.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-convolve.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-convolve.R:       |                                   ^
  > test-example-convolve.R: quick_convolve_c_wrapper.c:27:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-convolve.R:    27 |     Rf_error("typeof(b) must be 'double', not '%s'", R_typeToChar(b));
  > test-example-convolve.R:       |                                                      ^~~~~~~~~~~~
  > test-example-convolve.R:       |                                                      Rf_type2char
  > test-example-convolve.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-convolve.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-convolve.R:       |              ^
  > test-example-convolve.R: quick_convolve_c_wrapper.c:27:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-convolve.R:    27 |     Rf_error("typeof(b) must be 'double', not '%s'", R_typeToChar(b));
  > test-example-convolve.R:       |                                                                   ^
  > test-example-convolve.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-convolve.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-convolve.R:       |                                   ^
  > test-example-convolve.R: 4 errors generated.
  > test-example-convolve.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: quick_convolve_c_wrapper.o] Error 1
  > test-example-convolve.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/quick_convolve-build-27759215721f3'
  > test-example-convolve.R: ---
  > test-example-convolve.R: Compiler exit status: 1 
  Saving _problems/test-example-convolve-30.R
  > test-example-roll_mean.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-example-roll_mean.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-example-roll_mean.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-27759220d64873'
  > test-example-roll_mean.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-example-roll_mean.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-example-roll_mean.R: qfn_c_wrapper.c:19:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-roll_mean.R:    19 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-example-roll_mean.R:       |                                                      ^~~~~~~~~~~~
  > test-example-roll_mean.R:       |                                                      Rf_type2char
  > test-example-roll_mean.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-roll_mean.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-roll_mean.R:       |              ^
  > test-example-roll_mean.R: qfn_c_wrapper.c:19:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-roll_mean.R:    19 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-example-roll_mean.R:       |                                                                   ^
  > test-example-roll_mean.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-roll_mean.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-roll_mean.R:       |                                   ^
  > test-example-roll_mean.R: qfn_c_wrapper.c:28:60: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-roll_mean.R:    28 |     Rf_error("typeof(weights) must be 'double', not '%s'", R_typeToChar(weights));
  > test-example-roll_mean.R:       |                                                            ^~~~~~~~~~~~
  > test-example-roll_mean.R:       |                                                            Rf_type2char
  > test-example-roll_mean.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-roll_mean.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-roll_mean.R:       |              ^
  > test-example-roll_mean.R: qfn_c_wrapper.c:28:73: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-roll_mean.R:    28 |     Rf_error("typeof(weights) must be 'double', not '%s'", R_typeToChar(weights));
  > test-example-roll_mean.R:       |                                                                         ^~~~~~~
  > test-example-roll_mean.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-roll_mean.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-roll_mean.R:       |                                   ^
  > test-example-roll_mean.R: qfn_c_wrapper.c:39:63: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-roll_mean.R:    39 |     Rf_error("typeof(normalize) must be 'logical', not '%s'", R_typeToChar(normalize));
  > test-example-roll_mean.R:       |                                                               ^~~~~~~~~~~~
  > test-example-roll_mean.R:       |                                                               Rf_type2char
  > test-example-roll_mean.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-roll_mean.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-roll_mean.R:       |              ^
  > test-example-roll_mean.R: qfn_c_wrapper.c:39:76: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-roll_mean.R:    39 |     Rf_error("typeof(normalize) must be 'logical', not '%s'", R_typeToChar(normalize));
  > test-example-roll_mean.R:       |                                                                            ^~~~~~~~~
  > test-example-roll_mean.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-roll_mean.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-roll_mean.R:       |                                   ^
  > test-example-roll_mean.R: 6 errors generated.
  > test-example-roll_mean.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-example-roll_mean.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-27759220d64873'
  > test-example-roll_mean.R: ---
  > test-example-roll_mean.R: Compiler exit status: 1 
  Saving _problems/test-example-roll_mean-26.R
  > test-example-heat_diffusion.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-example-heat_diffusion.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-example-heat_diffusion.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/diffuse_heat-build-2775b031558fc6'
  > test-example-heat_diffusion.R: flang-21  -fpic  -g -O2 -c  diffuse_heat_fsub.f90 -o diffuse_heat_fsub.o
  > test-example-heat_diffusion.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c diffuse_heat_c_wrapper.c -o diffuse_heat_c_wrapper.o
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:21:56: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-heat_diffusion.R:    21 |     Rf_error("typeof(nx) must be 'integer', not '%s'", R_typeToChar(nx));
  > test-example-heat_diffusion.R:       |                                                        ^~~~~~~~~~~~
  > test-example-heat_diffusion.R:       |                                                        Rf_type2char
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |              ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:21:69: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-heat_diffusion.R:    21 |     Rf_error("typeof(nx) must be 'integer', not '%s'", R_typeToChar(nx));
  > test-example-heat_diffusion.R:       |                                                                     ^~
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |                                   ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:30:56: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-heat_diffusion.R:    30 |     Rf_error("typeof(ny) must be 'integer', not '%s'", R_typeToChar(ny));
  > test-example-heat_diffusion.R:       |                                                        ^~~~~~~~~~~~
  > test-example-heat_diffusion.R:       |                                                        Rf_type2char
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |              ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:30:69: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-heat_diffusion.R:    30 |     Rf_error("typeof(ny) must be 'integer', not '%s'", R_typeToChar(ny));
  > test-example-heat_diffusion.R:       |                                                                     ^~
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |                                   ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:39:56: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-heat_diffusion.R:    39 |     Rf_error("typeof(dx) must be 'integer', not '%s'", R_typeToChar(dx));
  > test-example-heat_diffusion.R:       |                                                        ^~~~~~~~~~~~
  > test-example-heat_diffusion.R:       |                                                        Rf_type2char
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |              ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:39:69: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-heat_diffusion.R:    39 |     Rf_error("typeof(dx) must be 'integer', not '%s'", R_typeToChar(dx));
  > test-example-heat_diffusion.R:       |                                                                     ^~
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |                                   ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:48:56: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-heat_diffusion.R:    48 |     Rf_error("typeof(dy) must be 'integer', not '%s'", R_typeToChar(dy));
  > test-example-heat_diffusion.R:       |                                                        ^~~~~~~~~~~~
  > test-example-heat_diffusion.R:       |                                                        Rf_type2char
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |              ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:48:69: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-heat_diffusion.R:    48 |     Rf_error("typeof(dy) must be 'integer', not '%s'", R_typeToChar(dy));
  > test-example-heat_diffusion.R:       |                                                                     ^~
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |                                   ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:57:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-heat_diffusion.R:    57 |     Rf_error("typeof(dt) must be 'double', not '%s'", R_typeToChar(dt));
  > test-example-heat_diffusion.R:       |                                                       ^~~~~~~~~~~~
  > test-example-heat_diffusion.R:       |                                                       Rf_type2char
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |              ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:57:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-heat_diffusion.R:    57 |     Rf_error("typeof(dt) must be 'double', not '%s'", R_typeToChar(dt));
  > test-example-heat_diffusion.R:       |                                                                    ^~
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |                                   ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:66:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-heat_diffusion.R:    66 |     Rf_error("typeof(k) must be 'double', not '%s'", R_typeToChar(k));
  > test-example-heat_diffusion.R:       |                                                      ^~~~~~~~~~~~
  > test-example-heat_diffusion.R:       |                                                      Rf_type2char
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |              ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:66:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-heat_diffusion.R:    66 |     Rf_error("typeof(k) must be 'double', not '%s'", R_typeToChar(k));
  > test-example-heat_diffusion.R:       |                                                                   ^
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |                                   ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:75:59: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-heat_diffusion.R:    75 |     Rf_error("typeof(steps) must be 'integer', not '%s'", R_typeToChar(steps));
  > test-example-heat_diffusion.R:       |                                                           ^~~~~~~~~~~~
  > test-example-heat_diffusion.R:       |                                                           Rf_type2char
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |              ^
  > test-example-heat_diffusion.R: diffuse_heat_c_wrapper.c:75:72: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-heat_diffusion.R:    75 |     Rf_error("typeof(steps) must be 'integer', not '%s'", R_typeToChar(steps));
  > test-example-heat_diffusion.R:       |                                                                        ^~~~~
  > test-example-heat_diffusion.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-heat_diffusion.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-heat_diffusion.R:       |                                   ^
  > test-example-heat_diffusion.R: 14 errors generated.
  > test-example-heat_diffusion.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: diffuse_heat_c_wrapper.o] Error 1
  > test-example-heat_diffusion.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/diffuse_heat-build-2775b031558fc6'
  > test-example-heat_diffusion.R: ---
  > test-example-heat_diffusion.R: Compiler exit status: 1 
  Saving _problems/test-example-heat_diffusion-92.R
  > test-friendly-size.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-friendly-size.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-friendly-size.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/fn-build-2775b06fe7f5e'
  > test-friendly-size.R: flang-21  -fpic  -g -O2 -c  fn_fsub.f90 -o fn_fsub.o
  > test-friendly-size.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c fn_c_wrapper.c -o fn_c_wrapper.o
  > test-friendly-size.R: fn_c_wrapper.c:13:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-friendly-size.R:    13 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-friendly-size.R:       |                                                      ^~~~~~~~~~~~
  > test-friendly-size.R:       |                                                      Rf_type2char
  > test-friendly-size.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-friendly-size.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-friendly-size.R:       |              ^
  > test-friendly-size.R: fn_c_wrapper.c:13:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-friendly-size.R:    13 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-friendly-size.R:       |                                                                   ^
  > test-friendly-size.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-friendly-size.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-friendly-size.R:       |                                   ^
  > test-friendly-size.R: fn_c_wrapper.c:16:31: warning: use of GNU statement expression extension [-Wgnu-statement-expression]
  > test-friendly-size.R:    16 |   const int* const x__dim_ = ({
  > test-friendly-size.R:       |                               ^
  > test-friendly-size.R: 1 warning and 2 errors generated.
  > test-friendly-size.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: fn_c_wrapper.o] Error 1
  > test-friendly-size.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/fn-build-2775b06fe7f5e'
  > test-friendly-size.R: ---
  > test-friendly-size.R: Compiler exit status: 1 
  Saving _problems/test-friendly-size-6.R
  > test-example-viterbi.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-example-viterbi.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-example-viterbi.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/viterbi-build-27759264593482'
  > test-example-viterbi.R: flang-21  -fpic  -g -O2 -c  viterbi_fsub.f90 -o viterbi_fsub.o
  > test-example-viterbi.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c viterbi_c_wrapper.c -o viterbi_c_wrapper.o
  > test-example-viterbi.R: viterbi_c_wrapper.c:22:66: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-viterbi.R:    22 |     Rf_error("typeof(observations) must be 'integer', not '%s'", R_typeToChar(observations));
  > test-example-viterbi.R:       |                                                                  ^~~~~~~~~~~~
  > test-example-viterbi.R:       |                                                                  Rf_type2char
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |              ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:22:79: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-viterbi.R:    22 |     Rf_error("typeof(observations) must be 'integer', not '%s'", R_typeToChar(observations));
  > test-example-viterbi.R:       |                                                                               ^~~~~~~~~~~~
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |                                   ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:31:60: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-viterbi.R:    31 |     Rf_error("typeof(states) must be 'integer', not '%s'", R_typeToChar(states));
  > test-example-viterbi.R:       |                                                            ^~~~~~~~~~~~
  > test-example-viterbi.R:       |                                                            Rf_type2char
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |              ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:31:73: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-viterbi.R:    31 |     Rf_error("typeof(states) must be 'integer', not '%s'", R_typeToChar(states));
  > test-example-viterbi.R:       |                                                                         ^~~~~~
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |                                   ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:40:66: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-viterbi.R:    40 |     Rf_error("typeof(initial_probs) must be 'double', not '%s'", R_typeToChar(initial_probs));
  > test-example-viterbi.R:       |                                                                  ^~~~~~~~~~~~
  > test-example-viterbi.R:       |                                                                  Rf_type2char
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |              ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:40:79: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-viterbi.R:    40 |     Rf_error("typeof(initial_probs) must be 'double', not '%s'", R_typeToChar(initial_probs));
  > test-example-viterbi.R:       |                                                                               ^~~~~~~~~~~~~
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |                                   ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:49:69: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-viterbi.R:    49 |     Rf_error("typeof(transition_probs) must be 'double', not '%s'", R_typeToChar(transition_probs));
  > test-example-viterbi.R:       |                                                                     ^~~~~~~~~~~~
  > test-example-viterbi.R:       |                                                                     Rf_type2char
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |              ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:49:82: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-viterbi.R:    49 |     Rf_error("typeof(transition_probs) must be 'double', not '%s'", R_typeToChar(transition_probs));
  > test-example-viterbi.R:       |                                                                                  ^~~~~~~~~~~~~~~~
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |                                   ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:52:46: warning: use of GNU statement expression extension [-Wgnu-statement-expression]
  > test-example-viterbi.R:    52 |   const int* const transition_probs__dim_ = ({
  > test-example-viterbi.R:       |                                              ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:65:67: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-viterbi.R:    65 |     Rf_error("typeof(emission_probs) must be 'double', not '%s'", R_typeToChar(emission_probs));
  > test-example-viterbi.R:       |                                                                   ^~~~~~~~~~~~
  > test-example-viterbi.R:       |                                                                   Rf_type2char
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |              ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:65:80: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-viterbi.R:    65 |     Rf_error("typeof(emission_probs) must be 'double', not '%s'", R_typeToChar(emission_probs));
  > test-example-viterbi.R:       |                                                                                ^~~~~~~~~~~~~~
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |                                   ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:68:44: warning: use of GNU statement expression extension [-Wgnu-statement-expression]
  > test-example-viterbi.R:    68 |   const int* const emission_probs__dim_ = ({
  > test-example-viterbi.R:       |                                            ^
  > test-example-viterbi.R: 2 warnings and 10 errors generated.
  > test-example-viterbi.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: viterbi_c_wrapper.o] Error 1
  > test-example-viterbi.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/viterbi-build-27759264593482'
  > test-example-viterbi.R: ---
  > test-example-viterbi.R: Compiler exit status: 1 
  > test-hoist-mask.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-hoist-mask.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-hoist-mask.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b044be6d40'
  > test-hoist-mask.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-hoist-mask.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-hoist-mask.R: qfn_c_wrapper.c:16:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-hoist-mask.R:    16 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-hoist-mask.R:       |                                                      ^~~~~~~~~~~~
  > test-hoist-mask.R:       |                                                      Rf_type2char
  > test-hoist-mask.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-hoist-mask.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-hoist-mask.R:       |              ^
  > test-hoist-mask.R: qfn_c_wrapper.c:16:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-hoist-mask.R:    16 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-hoist-mask.R:       |                                                                   ^
  > test-hoist-mask.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-hoist-mask.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-hoist-mask.R:       |                                   ^
  > test-hoist-mask.R: 2 errors generated.
  > test-hoist-mask.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-hoist-mask.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b044be6d40'
  > test-hoist-mask.R: ---
  > test-hoist-mask.R: Compiler exit status: 1 
  Saving _problems/test-hoist-mask-24.R
  > test-ifelse.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-ifelse.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-ifelse.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b04f291402'
  > test-ifelse.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-ifelse.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-ifelse.R: qfn_c_wrapper.c:17:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-ifelse.R:    17 |     Rf_error("typeof(a) must be 'integer', not '%s'", R_typeToChar(a));
  > test-ifelse.R:       |                                                       ^~~~~~~~~~~~
  > test-ifelse.R:       |                                                       Rf_type2char
  > test-ifelse.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-ifelse.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-ifelse.R:       |              ^
  > test-ifelse.R: qfn_c_wrapper.c:17:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-ifelse.R:    17 |     Rf_error("typeof(a) must be 'integer', not '%s'", R_typeToChar(a));
  > test-ifelse.R:       |                                                                    ^
  > test-ifelse.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-ifelse.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-ifelse.R:       |                                   ^
  > test-ifelse.R: qfn_c_wrapper.c:26:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-ifelse.R:    26 |     Rf_error("typeof(b) must be 'integer', not '%s'", R_typeToChar(b));
  > test-ifelse.R:       |                                                       ^~~~~~~~~~~~
  > test-ifelse.R:       |                                                       Rf_type2char
  > test-ifelse.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-ifelse.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-ifelse.R:       |              ^
  > test-ifelse.R: qfn_c_wrapper.c:26:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-ifelse.R:    26 |     Rf_error("typeof(b) must be 'integer', not '%s'", R_typeToChar(b));
  > test-ifelse.R:       |                                                                    ^
  > test-ifelse.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-ifelse.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-ifelse.R:       |                                   ^
  > test-ifelse.R: 4 errors generated.
  > test-ifelse.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-ifelse.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b04f291402'
  > test-ifelse.R: ---
  > test-ifelse.R: Compiler exit status: 1 
  Saving _problems/test-ifelse-13.R
  > test-example-viterbi.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-example-viterbi.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-example-viterbi.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/viterbi-build-27759276e8f8e5'
  > test-example-viterbi.R: flang-21  -fpic  -g -O2 -c  viterbi_fsub.f90 -o viterbi_fsub.o
  > test-example-viterbi.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c viterbi_c_wrapper.c -o viterbi_c_wrapper.o
  > test-example-viterbi.R: viterbi_c_wrapper.c:22:66: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-viterbi.R:    22 |     Rf_error("typeof(observations) must be 'integer', not '%s'", R_typeToChar(observations));
  > test-example-viterbi.R:       |                                                                  ^~~~~~~~~~~~
  > test-example-viterbi.R:       |                                                                  Rf_type2char
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |              ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:22:79: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-viterbi.R:    22 |     Rf_error("typeof(observations) must be 'integer', not '%s'", R_typeToChar(observations));
  > test-example-viterbi.R:       |                                                                               ^~~~~~~~~~~~
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |                                   ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:31:60: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-viterbi.R:    31 |     Rf_error("typeof(states) must be 'integer', not '%s'", R_typeToChar(states));
  > test-example-viterbi.R:       |                                                            ^~~~~~~~~~~~
  > test-example-viterbi.R:       |                                                            Rf_type2char
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |              ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:31:73: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-viterbi.R:    31 |     Rf_error("typeof(states) must be 'integer', not '%s'", R_typeToChar(states));
  > test-example-viterbi.R:       |                                                                         ^~~~~~
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |                                   ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:40:66: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-viterbi.R:    40 |     Rf_error("typeof(initial_probs) must be 'double', not '%s'", R_typeToChar(initial_probs));
  > test-example-viterbi.R:       |                                                                  ^~~~~~~~~~~~
  > test-example-viterbi.R:       |                                                                  Rf_type2char
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |              ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:40:79: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-viterbi.R:    40 |     Rf_error("typeof(initial_probs) must be 'double', not '%s'", R_typeToChar(initial_probs));
  > test-example-viterbi.R:       |                                                                               ^~~~~~~~~~~~~
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |                                   ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:49:69: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-viterbi.R:    49 |     Rf_error("typeof(transition_probs) must be 'double', not '%s'", R_typeToChar(transition_probs));
  > test-example-viterbi.R:       |                                                                     ^~~~~~~~~~~~
  > test-example-viterbi.R:       |                                                                     Rf_type2char
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |              ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:49:82: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-viterbi.R:    49 |     Rf_error("typeof(transition_probs) must be 'double', not '%s'", R_typeToChar(transition_probs));
  > test-example-viterbi.R:       |                                                                                  ^~~~~~~~~~~~~~~~
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |                                   ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:52:46: warning: use of GNU statement expression extension [-Wgnu-statement-expression]
  > test-example-viterbi.R:    52 |   const int* const transition_probs__dim_ = ({
  > test-example-viterbi.R:       |                                              ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:65:67: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-example-viterbi.R:    65 |     Rf_error("typeof(emission_probs) must be 'double', not '%s'", R_typeToChar(emission_probs));
  > test-example-viterbi.R:       |                                                                   ^~~~~~~~~~~~
  > test-example-viterbi.R:       |                                                                   Rf_type2char
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |              ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:65:80: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-example-viterbi.R:    65 |     Rf_error("typeof(emission_probs) must be 'double', not '%s'", R_typeToChar(emission_probs));
  > test-example-viterbi.R:       |                                                                                ^~~~~~~~~~~~~~
  > test-example-viterbi.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-example-viterbi.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-example-viterbi.R:       |                                   ^
  > test-example-viterbi.R: viterbi_c_wrapper.c:68:44: warning: use of GNU statement expression extension [-Wgnu-statement-expression]
  > test-example-viterbi.R:    68 |   const int* const emission_probs__dim_ = ({
  > test-example-viterbi.R:       |                                            ^
  > test-example-viterbi.R: 2 warnings and 10 errors generated.
  > test-example-viterbi.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: viterbi_c_wrapper.o] Error 1
  > test-example-viterbi.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/viterbi-build-27759276e8f8e5'
  > test-example-viterbi.R: ---
  > test-example-viterbi.R: Compiler exit status: 1 
  Saving _problems/test-example-viterbi-99.R
  Saving _problems/test-example-viterbi-190.R
  > test-logical.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-logical.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-logical.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b01a68bcc3'
  > test-logical.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-logical.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-logical.R: qfn_c_wrapper.c:18:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-logical.R:    18 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-logical.R:       |                                                      ^~~~~~~~~~~~
  > test-logical.R:       |                                                      Rf_type2char
  > test-logical.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-logical.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-logical.R:       |              ^
  > test-logical.R: qfn_c_wrapper.c:18:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-logical.R:    18 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-logical.R:       |                                                                   ^
  > test-logical.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-logical.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-logical.R:       |                                   ^
  > test-logical.R: qfn_c_wrapper.c:27:57: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-logical.R:    27 |     Rf_error("typeof(left) must be 'double', not '%s'", R_typeToChar(left));
  > test-logical.R:       |                                                         ^~~~~~~~~~~~
  > test-logical.R:       |                                                         Rf_type2char
  > test-logical.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-logical.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-logical.R:       |              ^
  > test-logical.R: qfn_c_wrapper.c:27:70: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-logical.R:    27 |     Rf_error("typeof(left) must be 'double', not '%s'", R_typeToChar(left));
  > test-logical.R:       |                                                                      ^~~~
  > test-logical.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-logical.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-logical.R:       |                                   ^
  > test-logical.R: qfn_c_wrapper.c:36:58: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-logical.R:    36 |     Rf_error("typeof(right) must be 'double', not '%s'", R_typeToChar(right));
  > test-logical.R:       |                                                          ^~~~~~~~~~~~
  > test-logical.R:       |                                                          Rf_type2char
  > test-logical.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-logical.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-logical.R:       |              ^
  > test-logical.R: qfn_c_wrapper.c:36:71: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-logical.R:    36 |     Rf_error("typeof(right) must be 'double', not '%s'", R_typeToChar(right));
  > test-logical.R:       |                                                                       ^~~~~
  > test-logical.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-logical.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-logical.R:       |                                   ^
  > test-logical.R: 6 errors generated.
  > test-logical.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-logical.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b01a68bcc3'
  > test-logical.R: ---
  > test-logical.R: Compiler exit status: 1 
  > test-matrix.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-matrix.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-matrix.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/fn-build-2775921efa9b5e'
  > test-matrix.R: flang-21  -fpic  -g -O2 -c  fn_fsub.f90 -o fn_fsub.o
  > test-matrix.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c fn_c_wrapper.c -o fn_c_wrapper.o
  > test-matrix.R: fn_c_wrapper.c:16:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-matrix.R:    16 |     Rf_error("typeof(a) must be 'integer', not '%s'", R_typeToChar(a));
  > test-matrix.R:       |                                                       ^~~~~~~~~~~~
  > test-matrix.R:       |                                                       Rf_type2char
  > test-matrix.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-matrix.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-matrix.R:       |              ^
  > test-matrix.R: fn_c_wrapper.c:16:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-matrix.R:    16 |     Rf_error("typeof(a) must be 'integer', not '%s'", R_typeToChar(a));
  > test-matrix.R:       |                                                                    ^
  > test-matrix.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-matrix.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-matrix.R:       |                                   ^
  > test-matrix.R: fn_c_wrapper.c:25:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-matrix.R:    25 |     Rf_error("typeof(b) must be 'integer', not '%s'", R_typeToChar(b));
  > test-matrix.R:       |                                                       ^~~~~~~~~~~~
  > test-matrix.R:       |                                                       Rf_type2char
  > test-matrix.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-matrix.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-matrix.R:       |              ^
  > test-matrix.R: fn_c_wrapper.c:25:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-matrix.R:    25 |     Rf_error("typeof(b) must be 'integer', not '%s'", R_typeToChar(b));
  > test-matrix.R:       |                                                                    ^
  > test-matrix.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-matrix.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-matrix.R:       |                                   ^
  > test-matrix.R: 4 errors generated.
  > test-matrix.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: fn_c_wrapper.o] Error 1
  > test-matrix.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/fn-build-2775921efa9b5e'
  > test-matrix.R: ---
  > test-matrix.R: Compiler exit status: 1 
  > test-logical.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-logical.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-logical.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b019adf3f8'
  > test-logical.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-logical.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-logical.R: qfn_c_wrapper.c:16:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-logical.R:    16 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-logical.R:       |                                                      ^~~~~~~~~~~~
  > test-logical.R:       |                                                      Rf_type2char
  > test-logical.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-logical.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-logical.R:       |              ^
  > test-logical.R: qfn_c_wrapper.c:16:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-logical.R:    16 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-logical.R:       |                                                                   ^
  > test-logical.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-logical.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-logical.R:       |                                   ^
  > test-logical.R: qfn_c_wrapper.c:25:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-logical.R:    25 |     Rf_error("typeof(b) must be 'double', not '%s'", R_typeToChar(b));
  > test-logical.R:       |                                                      ^~~~~~~~~~~~
  > test-logical.R:       |                                                      Rf_type2char
  > test-logical.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-logical.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-logical.R:       |              ^
  > test-logical.R: qfn_c_wrapper.c:25:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-logical.R:    25 |     Rf_error("typeof(b) must be 'double', not '%s'", R_typeToChar(b));
  > test-logical.R:       |                                                                   ^
  > test-logical.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-logical.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-logical.R:       |                                   ^
  > test-logical.R: 4 errors generated.
  > test-logical.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-logical.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b019adf3f8'
  > test-logical.R: ---
  > test-logical.R: Compiler exit status: 1 
  Saving _problems/test-logical-15.R
  Saving _problems/test-logical-48.R
  > test-matrix.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-matrix.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-matrix.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/fn-build-2775927315cfa5'
  > test-matrix.R: flang-21  -fpic  -g -O2 -c  fn_fsub.f90 -o fn_fsub.o
  > test-matrix.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c fn_c_wrapper.c -o fn_c_wrapper.o
  > test-matrix.R: fn_c_wrapper.c:17:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-matrix.R:    17 |     Rf_error("typeof(a1) must be 'double', not '%s'", R_typeToChar(a1));
  > test-matrix.R:       |                                                       ^~~~~~~~~~~~
  > test-matrix.R:       |                                                       Rf_type2char
  > test-matrix.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-matrix.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-matrix.R:       |              ^
  > test-matrix.R: fn_c_wrapper.c:17:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-matrix.R:    17 |     Rf_error("typeof(a1) must be 'double', not '%s'", R_typeToChar(a1));
  > test-matrix.R:       |                                                                    ^~
  > test-matrix.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-matrix.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-matrix.R:       |                                   ^
  > test-matrix.R: fn_c_wrapper.c:26:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-matrix.R:    26 |     Rf_error("typeof(a2) must be 'double', not '%s'", R_typeToChar(a2));
  > test-matrix.R:       |                                                       ^~~~~~~~~~~~
  > test-matrix.R:       |                                                       Rf_type2char
  > test-matrix.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-matrix.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-matrix.R:       |              ^
  > test-matrix.R: fn_c_wrapper.c:26:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-matrix.R:    26 |     Rf_error("typeof(a2) must be 'double', not '%s'", R_typeToChar(a2));
  > test-matrix.R:       |                                                                    ^~
  > test-matrix.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-matrix.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-matrix.R:       |                                   ^
  > test-matrix.R: fn_c_wrapper.c:29:32: warning: use of GNU statement expression extension [-Wgnu-statement-expression]
  > test-matrix.R:    29 |   const int* const a2__dim_ = ({
  > test-matrix.R:       |                                ^
  > test-matrix.R: 1 warning and 4 errors generated.
  > test-matrix.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: fn_c_wrapper.o] Error 1
  > test-matrix.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/fn-build-2775927315cfa5'
  > test-matrix.R: ---
  > test-matrix.R: Compiler exit status: 1 
  Saving _problems/test-matrix-18.R
  Saving _problems/test-matrix-58.R
  > test-runif.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-runif.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-runif.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/fn-build-2775b06b58cec4'
  > test-runif.R: flang-21  -fpic  -g -O2 -c  fn_fsub.f90 -o fn_fsub.o
  > test-runif.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c fn_c_wrapper.c -o fn_c_wrapper.o
  > test-runif.R: fn_c_wrapper.c:14:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-runif.R:    14 |     Rf_error("typeof(n) must be 'integer', not '%s'", R_typeToChar(n));
  > test-runif.R:       |                                                       ^~~~~~~~~~~~
  > test-runif.R:       |                                                       Rf_type2char
  > test-runif.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-runif.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-runif.R:       |              ^
  > test-runif.R: fn_c_wrapper.c:14:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-runif.R:    14 |     Rf_error("typeof(n) must be 'integer', not '%s'", R_typeToChar(n));
  > test-runif.R:       |                                                                    ^
  > test-runif.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-runif.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-runif.R:       |                                   ^
  > test-runif.R: 2 errors generated.
  > test-runif.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: fn_c_wrapper.o] Error 1
  > test-runif.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/fn-build-2775b06b58cec4'
  > test-runif.R: ---
  > test-runif.R: Compiler exit status: 1 
  > test-seq.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-seq.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-seq.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-2775927b379540'
  > test-seq.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-seq.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-seq.R: qfn_c_wrapper.c:16:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-seq.R:    16 |     Rf_error("typeof(a) must be 'integer', not '%s'", R_typeToChar(a));
  > test-seq.R:       |                                                       ^~~~~~~~~~~~
  > test-seq.R:       |                                                       Rf_type2char
  > test-seq.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-seq.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-seq.R:       |              ^
  > test-seq.R: qfn_c_wrapper.c:16:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-seq.R:    16 |     Rf_error("typeof(a) must be 'integer', not '%s'", R_typeToChar(a));
  > test-seq.R:       |                                                                    ^
  > test-seq.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-seq.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-seq.R:       |                                   ^
  > test-seq.R: qfn_c_wrapper.c:25:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-seq.R:    25 |     Rf_error("typeof(b) must be 'integer', not '%s'", R_typeToChar(b));
  > test-seq.R:       |                                                       ^~~~~~~~~~~~
  > test-seq.R:       |                                                       Rf_type2char
  > test-seq.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-seq.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-seq.R:       |              ^
  > test-seq.R: qfn_c_wrapper.c:25:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-seq.R:    25 |     Rf_error("typeof(b) must be 'integer', not '%s'", R_typeToChar(b));
  > test-seq.R:       |                                                                    ^
  > test-seq.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-seq.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-seq.R:       |                                   ^
  > test-seq.R: 4 errors generated.
  > test-seq.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-seq.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-2775927b379540'
  > test-seq.R: ---
  > test-seq.R: Compiler exit status: 1 
  Saving _problems/test-seq-14.R
  > test-runif.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-runif.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-runif.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/fn-build-2775b01bceccaf'
  > test-runif.R: flang-21  -fpic  -g -O2 -c  fn_fsub.f90 -o fn_fsub.o
  > test-runif.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c fn_c_wrapper.c -o fn_c_wrapper.o
  > test-runif.R: fn_c_wrapper.c:18:55: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-runif.R:    18 |     Rf_error("typeof(n) must be 'integer', not '%s'", R_typeToChar(n));
  > test-runif.R:       |                                                       ^~~~~~~~~~~~
  > test-runif.R:       |                                                       Rf_type2char
  > test-runif.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-runif.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-runif.R:       |              ^
  > test-runif.R: fn_c_wrapper.c:18:68: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-runif.R:    18 |     Rf_error("typeof(n) must be 'integer', not '%s'", R_typeToChar(n));
  > test-runif.R:       |                                                                    ^
  > test-runif.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-runif.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-runif.R:       |                                   ^
  > test-runif.R: fn_c_wrapper.c:27:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-runif.R:    27 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-runif.R:       |                                                      ^~~~~~~~~~~~
  > test-runif.R:       |                                                      Rf_type2char
  > test-runif.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-runif.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-runif.R:       |              ^
  > test-runif.R: fn_c_wrapper.c:27:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-runif.R:    27 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-runif.R:       |                                                                   ^
  > test-runif.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-runif.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-runif.R:       |                                   ^
  > test-runif.R: fn_c_wrapper.c:36:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-runif.R:    36 |     Rf_error("typeof(b) must be 'double', not '%s'", R_typeToChar(b));
  > test-runif.R:       |                                                      ^~~~~~~~~~~~
  > test-runif.R:       |                                                      Rf_type2char
  > test-runif.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-runif.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-runif.R:       |              ^
  > test-runif.R: fn_c_wrapper.c:36:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-runif.R:    36 |     Rf_error("typeof(b) must be 'double', not '%s'", R_typeToChar(b));
  > test-runif.R:       |                                                                   ^
  > test-runif.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-runif.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-runif.R:       |                                   ^
  > test-runif.R: 6 errors generated.
  > test-runif.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: fn_c_wrapper.o] Error 1
  > test-runif.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/fn-build-2775b01bceccaf'
  > test-runif.R: ---
  > test-runif.R: Compiler exit status: 1 
  Saving _problems/test-runif-9.R
  Saving _problems/test-runif-60.R
  > test-size-constraint.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-size-constraint.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-size-constraint.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-2775925e850ec'
  > test-size-constraint.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-size-constraint.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-size-constraint.R: qfn_c_wrapper.c:16:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-size-constraint.R:    16 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-size-constraint.R:       |                                                      ^~~~~~~~~~~~
  > test-size-constraint.R:       |                                                      Rf_type2char
  > test-size-constraint.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-size-constraint.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-size-constraint.R:       |              ^
  > test-size-constraint.R: qfn_c_wrapper.c:16:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-size-constraint.R:    16 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-size-constraint.R:       |                                                                   ^
  > test-size-constraint.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-size-constraint.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-size-constraint.R:       |                                   ^
  > test-size-constraint.R: qfn_c_wrapper.c:27:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-size-constraint.R:    27 |     Rf_error("typeof(b) must be 'double', not '%s'", R_typeToChar(b));
  > test-size-constraint.R:       |                                                      ^~~~~~~~~~~~
  > test-size-constraint.R:       |                                                      Rf_type2char
  > test-size-constraint.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-size-constraint.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-size-constraint.R:       |              ^
  > test-size-constraint.R: qfn_c_wrapper.c:27:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-size-constraint.R:    27 |     Rf_error("typeof(b) must be 'double', not '%s'", R_typeToChar(b));
  > test-size-constraint.R:       |                                                                   ^
  > test-size-constraint.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-size-constraint.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-size-constraint.R:       |                                   ^
  > test-size-constraint.R: 4 errors generated.
  > test-size-constraint.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-size-constraint.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-2775925e850ec'
  > test-size-constraint.R: ---
  > test-size-constraint.R: Compiler exit status: 1 
  > test-which.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-which.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-which.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/fn-build-2775b0622846f2'
  > test-which.R: flang-21  -fpic  -g -O2 -c  fn_fsub.f90 -o fn_fsub.o
  > test-which.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c fn_c_wrapper.c -o fn_c_wrapper.o
  > test-which.R: fn_c_wrapper.c:16:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-which.R:    16 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-which.R:       |                                                      ^~~~~~~~~~~~
  > test-which.R:       |                                                      Rf_type2char
  > test-which.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-which.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-which.R:       |              ^
  > test-which.R: fn_c_wrapper.c:16:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-which.R:    16 |     Rf_error("typeof(a) must be 'double', not '%s'", R_typeToChar(a));
  > test-which.R:       |                                                                   ^
  > test-which.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-which.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-which.R:       |                                   ^
  > test-which.R: 2 errors generated.
  > test-which.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: fn_c_wrapper.o] Error 1
  > test-which.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/fn-build-2775b0622846f2'
  > test-which.R: ---
  > test-which.R: Compiler exit status: 1 
  > test-size-constraint.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-size-constraint.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-size-constraint.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-277592415c0d6'
  > test-size-constraint.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-size-constraint.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-size-constraint.R: qfn_c_wrapper.c:13:54: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-size-constraint.R:    13 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-size-constraint.R:       |                                                      ^~~~~~~~~~~~
  > test-size-constraint.R:       |                                                      Rf_type2char
  > test-size-constraint.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-size-constraint.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-size-constraint.R:       |              ^
  > test-size-constraint.R: qfn_c_wrapper.c:13:67: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-size-constraint.R:    13 |     Rf_error("typeof(x) must be 'double', not '%s'", R_typeToChar(x));
  > test-size-constraint.R:       |                                                                   ^
  > test-size-constraint.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-size-constraint.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-size-constraint.R:       |                                   ^
  > test-size-constraint.R: 2 errors generated.
  > test-size-constraint.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-size-constraint.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL610NR/qfn-build-277592415c0d6'
  > test-size-constraint.R: ---
  > test-size-constraint.R: Compiler exit status: 1 
  Saving _problems/test-size-constraint-13.R
  Saving _problems/test-size-constraint-31.R
  > test-which.R: using C compiler: ‘Debian clang version 21.1.6 (2)’
  > test-which.R: using Fortran compiler: ‘Debian flang version 21.1.6 (2)’
  > test-which.R: make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b06f09bf07'
  > test-which.R: flang-21  -fpic  -g -O2 -c  qfn_fsub.f90 -o qfn_fsub.o
  > test-which.R: clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c qfn_c_wrapper.c -o qfn_c_wrapper.o
  > test-which.R: qfn_c_wrapper.c:20:58: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-which.R:    20 |     Rf_error("typeof(lgl1) must be 'logical', not '%s'", R_typeToChar(lgl1));
  > test-which.R:       |                                                          ^~~~~~~~~~~~
  > test-which.R:       |                                                          Rf_type2char
  > test-which.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-which.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-which.R:       |              ^
  > test-which.R: qfn_c_wrapper.c:20:71: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-which.R:    20 |     Rf_error("typeof(lgl1) must be 'logical', not '%s'", R_typeToChar(lgl1));
  > test-which.R:       |                                                                       ^~~~
  > test-which.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-which.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-which.R:       |                                   ^
  > test-which.R: qfn_c_wrapper.c:29:58: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-which.R:    29 |     Rf_error("typeof(int1) must be 'integer', not '%s'", R_typeToChar(int1));
  > test-which.R:       |                                                          ^~~~~~~~~~~~
  > test-which.R:       |                                                          Rf_type2char
  > test-which.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-which.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-which.R:       |              ^
  > test-which.R: qfn_c_wrapper.c:29:71: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-which.R:    29 |     Rf_error("typeof(int1) must be 'integer', not '%s'", R_typeToChar(int1));
  > test-which.R:       |                                                                       ^~~~
  > test-which.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-which.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-which.R:       |                                   ^
  > test-which.R: qfn_c_wrapper.c:38:57: error: use of undeclared identifier 'R_typeToChar'; did you mean 'Rf_type2char'?
  > test-which.R:    38 |     Rf_error("typeof(dbl1) must be 'double', not '%s'", R_typeToChar(dbl1));
  > test-which.R:       |                                                         ^~~~~~~~~~~~
  > test-which.R:       |                                                         Rf_type2char
  > test-which.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:14: note: 'Rf_type2char' declared here
  > test-which.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-which.R:       |              ^
  > test-which.R: qfn_c_wrapper.c:38:70: error: incompatible pointer to integer conversion passing 'SEXP' (aka 'struct SEXPREC *') to parameter of type 'SEXPTYPE' (aka 'unsigned int') [-Wint-conversion]
  > test-which.R:    38 |     Rf_error("typeof(dbl1) must be 'double', not '%s'", R_typeToChar(dbl1));
  > test-which.R:       |                                                                      ^~~~
  > test-which.R: /home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:589:35: note: passing argument to parameter here
  > test-which.R:   589 | const char * Rf_type2char(SEXPTYPE);
  > test-which.R:       |                                   ^
  > test-which.R: 6 errors generated.
  > test-which.R: make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: qfn_c_wrapper.o] Error 1
  > test-which.R: make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfiUaNQ/qfn-build-2775b06f09bf07'
  > test-which.R: ---
  > test-which.R: Compiler exit status: 1 
  Saving _problems/test-which-13.R
  Saving _problems/test-which-91.R
  [ FAIL 43 | WARN 0 | SKIP 0 | PASS 1 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-unary-intrinsics.R:42:5'): double unary intrinsics ─────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_equal(fn, x) at test-unary-intrinsics.R:42:5
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:34:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-unary-intrinsics.R:62:5'): integer unary intrinsics ────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(fn, x) at test-unary-intrinsics.R:62:5
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-unary-intrinsics.R:100:5'): complex unary intrinsics ───────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_equal(fn, z) at test-unary-intrinsics.R:100:5
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:34:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-add.R:23:3'): add1 ─────────────────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(name = "slow_add1", slow_add1) at test-add.R:23:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-add.R:51:3'): add2 ─────────────────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(name = "slow_add2", slow_add2) at test-add.R:51:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-loops.R:16:3'): repeat/break ───────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(inc_to_5, -1L, 0L, 4L, 5L) at test-loops.R:16:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-loops.R:33:3'): repeat + next ──────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(...) at test-loops.R:33:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-loops.R:49:3'): break/for ──────────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(fn, -1L, 0L, 4L, 5L) at test-loops.R:49:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-loops.R:62:3'): while ──────────────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(fn, -1L, 0L, 4L, 5L) at test-loops.R:62:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-loops.R:76:3'): while + next ───────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(...) at test-loops.R:76:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-loops.R:92:3'): while + break ──────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(...) at test-loops.R:92:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-loops.R:102:3'): expr return value ─────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(fn, 1:10) at test-loops.R:102:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-as-double.R:6:3'): as.double casts integer and logical values ──
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(fn_int, list(1:3)) at test-as-double.R:6:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-as-double.R:20:3'): / performs real division for integer and logical inputs ──
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_equal(div_int, list(1:3, c(2L, 2L, 2L))) at test-as-double.R:20:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:34:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-declare-type.R:14:3'): declare(type()) variants ────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(quick_seq, list(1L, 5L)) at test-declare-type.R:14:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-dims2f.R:11:3'): arithmetic expressions in dimensions compile ──
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(fn) at test-dims2f.R:11:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-dims2f.R:24:3'): integer division and modulus in dimensions compile ──
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(fn) at test-dims2f.R:24:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-dims2f.R:37:3'): matrix dimension expressions compile ──────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(fn) at test-dims2f.R:37:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-div-mod.R:15:3'): %% and %/% ───────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_equal(...) at test-div-mod.R:15:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:34:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-div-cast.R:11:3'): division casts integers ─────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_equal(div_int, list(a, b)) at test-div-cast.R:11:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:34:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-div-cast.R:25:3'): division casts double and integer ───────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_equal(div_dbl_int, list(a, b)) at test-div-cast.R:25:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:34:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-div-cast.R:39:3'): division casts logical ──────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_equal(div_dbl_lgl, list(a, b)) at test-div-cast.R:39:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:34:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-div-cast.R:55:3'): division casts complex ──────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_equal(div_cplx, list(a, b)) at test-div-cast.R:55:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:34:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-div-cast.R:69:3'): division example in #33 ─────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_equal(my_mean, list(x)) at test-div-cast.R:69:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:34:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-example-convolve.R:30:3'): convolve ────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(name = "quick_convolve", slow_convolve) at test-example-convolve.R:30:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-example-roll_mean.R:26:3'): roll_mean ──────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_equal(slow_roll_mean, list(x, weights)) at test-example-roll_mean.R:26:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:34:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-example-heat_diffusion.R:92:3'): heat diffusion ────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(diffuse_heat) at test-example-heat_diffusion.R:92:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-friendly-size.R:6:3'): dimension mismatch errors show axis ─────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(fn) at test-friendly-size.R:6:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-hoist-mask.R:24:3'): hoist mask ────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(fn, name = "qfn")
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-ifelse.R:13:3'): ifelse ────────────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(fn, list(-10:10, integer(21))) at test-ifelse.R:13:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-example-viterbi.R:99:3'): viterbi ──────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(viterbi) at test-example-viterbi.R:99:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-example-viterbi.R:190:3'): viterbi2 ────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(viterbi) at test-example-viterbi.R:190:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-logical.R:15:3'): between ──────────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(...) at test-logical.R:15:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-logical.R:48:3'): logical ops ──────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(fn, !!!test_args) at test-logical.R:48:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-matrix.R:18:3'): matrix ────────────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(fn) at test-matrix.R:18:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-matrix.R:58:3'): reuse implicit size ───────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(fn) at test-matrix.R:58:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-seq.R:14:3'): seq ──────────────────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(...) at test-seq.R:14:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  ── Error ('test-runif.R:9:3'): runif generates random numbers ──────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(fn) at test-runif.R:9:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-runif.R:60:3'): runif with min/max ─────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(fn) at test-runif.R:60:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-size-constraint.R:13:3'): size constraint ──────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(fn, name = "qfn")
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-size-constraint.R:31:3'): size constraint ──────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(fn, name = "qfn")
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-which.R:13:3'): which.max ──────────────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr::quick(fn) at test-which.R:13:3
   2.   └─quickr:::compile(r2f(fun))
  ── Error ('test-which.R:84:3'): which.max/which.min ────────────────────────────
  Error: Compilation Error
  Backtrace:
      ▆
   1. └─quickr:::expect_quick_identical(...) at test-which.R:84:3
   2.   ├─`:=`(qfn, quick(fn)) at ./helper.R:21:3
   3.   │ └─base::eval(call("<-", name, right), parent.frame())
   4.   │   └─base::eval(call("<-", name, right), parent.frame())
   5.   └─quickr::quick(fn, name = "qfn")
   6.     └─quickr:::compile(r2f(fun))
  
  [ FAIL 43 | WARN 0 | SKIP 0 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted