* installing *source* package ‘torch’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 18.1.5 (2)’ *** Skip building lantern. *** Renaming init "/home/hornik/tmp/R-d-clang-18/bin/Rscript" "../tools/renameinit.R" clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/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 ./../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c amp.cpp -o amp.o In file included from amp.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c autograd.cpp -o autograd.o In file included from autograd.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c backends.cpp -o backends.o In file included from backends.cpp:2: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c codegen.cpp -o codegen.o In file included from codegen.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c contrib.cpp -o contrib.o In file included from contrib.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c cuda.cpp -o cuda.o In file included from cuda.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c device.cpp -o device.o In file included from device.cpp:2: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c dimname_list.cpp -o dimname_list.o In file included from dimname_list.cpp:2: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c dtype.cpp -o dtype.o In file included from dtype.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c gen-namespace.cpp -o gen-namespace.o In file included from gen-namespace.cpp:2: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c generator.cpp -o generator.o In file included from generator.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c indexing.cpp -o indexing.o In file included from indexing.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c ivalue.cpp -o ivalue.o In file included from ivalue.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c jit-compile.cpp -o jit-compile.o In file included from jit-compile.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c jit-execute.cpp -o jit-execute.o In file included from jit-execute.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c lantern.cpp -o lantern.o In file included from lantern.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c layout.cpp -o layout.o In file included from layout.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c memory_format.cpp -o memory_format.o In file included from memory_format.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c nn_utils_rnn.cpp -o nn_utils_rnn.o In file included from nn_utils_rnn.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c qscheme.cpp -o qscheme.o In file included from qscheme.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c quantization.cpp -o quantization.o In file included from quantization.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c reduction.cpp -o reduction.o In file included from reduction.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c save.cpp -o save.o In file included from save.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c scalar.cpp -o scalar.o In file included from scalar.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c script_module.cpp -o script_module.o In file included from script_module.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c stack.cpp -o stack.o In file included from stack.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c storage.cpp -o storage.o In file included from storage.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c tensor.cpp -o tensor.o In file included from tensor.cpp:2: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c tensor_list.cpp -o tensor_list.o In file included from tensor_list.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c torch_api.cpp -o torch_api.o In file included from torch_api.cpp:2: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c torch_exports.cpp -o torch_exports.o In file included from torch_exports.cpp: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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c trace.cpp -o trace.o In file included from trace.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c utils.cpp -o utils.o In file included from utils.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c variable_list.cpp -o variable_list.o In file included from variable_list.cpp:1: In file included from ../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #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/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c xptr.cpp -o xptr.o In file included from xptr.cpp:6: 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 | ^ :5:9: note: previous definition is here 5 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-18/lib -Wl,-O1 -o torch.so RcppExports.o amp.o autograd.o backends.o codegen.o contrib.o cuda.o device.o dimname_list.o dtype.o gen-namespace.o generator.o indexing.o ivalue.o jit-compile.o jit-execute.o lantern.o layout.o memory_format.o nn_utils_rnn.o qscheme.o quantization.o reduction.o save.o scalar.o script_module.o stack.o storage.o tensor.o tensor_list.o torch_api.o torch_exports.o trace.o utils.o variable_list.o xptr.o -L/home/hornik/tmp/R-d-clang-18/lib -lR *** Renaming torch lib to torchpkg "/home/hornik/tmp/R-d-clang-18/bin/Rscript" "../tools/renamelib.R" *** Renaming init "/home/hornik/tmp/R-d-clang-18/bin/Rscript" "../tools/renameinit.R" clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/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 ./../inst/include/torch.h:5: 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 | ^ :5:9: note: previous definition is here 5 | #define R_NO_REMAP 1 | ^ 1 warning generated. installing to /srv/hornik/tmp/CRAN/torch.Rcheck/00LOCK-torch/00new/torch/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (torch)