* installing *source* package ‘trngl’ ... ** using staged installation ** libs using Fortran compiler: ‘Debian flang-new version 18.1.5 (2)’ using C++ compiler: ‘Debian clang version 18.1.5 (2)’ using C++17 clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN/Library/rTRNG/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:30: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 26 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN/Library/rTRNG/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c config.cpp -o config.o In file included from config.cpp:1: In file included from ../inst/include/random.h:2: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp.h:27: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:30: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 26 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN/Library/rTRNG/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c mack.cpp -o mack.o In file included from mack.cpp:1: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/RcppCommon.h:30: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include/Rcpp/r/headers.h:26:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 26 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ mack.cpp:151:9: warning: unused variable 'n_threads' [-Wunused-variable] 151 | int n_threads = TrnglRng::get().n_threads(); | ^~~~~~~~~ In file included from mack.cpp:13: ../inst/include/mask.h:49:13: warning: private field 'idx_' is not used [-Wunused-private-field] 49 | int idx_; | ^ 3 warnings generated. flang-new-18 -fpic -g -O2 -c mod_config.f90 -o mod_config.o flang-new-18 -fpic -g -O2 -c mod_random.f90 -o mod_random.o flang-new-18 -fpic -g -O2 -c mod_mack_triangle.f90 -o mod_mack_triangle.o error: loc("/srv/hornik/tmp/CRAN/trngl.Rcheck/00_pkg_src/trngl/src/mod_mack_triangle.f90":1:1): flang/lib/Lower/CallInterface.cpp:949: not yet implemented: support for polymorphic types LLVM ERROR: aborting make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:223: mod_mack_triangle.o] Error 1 ERROR: compilation failed for package ‘trngl’ * removing ‘/srv/hornik/tmp/CRAN/trngl.Rcheck/trngl’