* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’ * installing *source* package ‘torch’ ... ** package ‘torch’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpCqu9bA/R.INSTALL3a66733c93b6a3/torch/src' *** Skip building lantern. *** Renaming init "/home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript" "../tools/renameinit.R" g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c amp.cpp -o amp.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c autograd.cpp -o autograd.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c backends.cpp -o backends.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c codegen.cpp -o codegen.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c contrib.cpp -o contrib.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c cuda.cpp -o cuda.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c device.cpp -o device.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c dimname_list.cpp -o dimname_list.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c dtype.cpp -o dtype.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c gen-namespace.cpp -o gen-namespace.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c generator.cpp -o generator.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c indexing.cpp -o indexing.o indexing.cpp: In function ‘void list2env(Rcpp::Environment, Rcpp::List)’: indexing.cpp:46:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 46 | for (auto i = 0; i < nms.size(); i++) { | ~~^~~~~~~~~~~~ indexing.cpp: In function ‘std::vector<Rcpp::RObject_Impl<Rcpp::PreserveStorage> > evaluate_slices(std::vector<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::List)’: indexing.cpp:61:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 61 | for (auto i = 0; i < quosures.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ indexing.cpp: In function ‘std::vector<XPtrTorchTensorIndex> slices_to_index(std::vector<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, bool)’: indexing.cpp:286:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 286 | for (auto i = 0; i < slices.size(); i++) { | ~~^~~~~~~~~~~~~~~ indexing.cpp:296:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 296 | bool last_dim = i >= (slices.size() - 1); | ~~^~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c ivalue.cpp -o ivalue.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c jit-compile.cpp -o jit-compile.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c jit-execute.cpp -o jit-execute.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c lantern.cpp -o lantern.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c layout.cpp -o layout.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c memory_format.cpp -o memory_format.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c nn_utils_rnn.cpp -o nn_utils_rnn.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c qscheme.cpp -o qscheme.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c quantization.cpp -o quantization.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c reduction.cpp -o reduction.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c save.cpp -o save.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c scalar.cpp -o scalar.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c script_module.cpp -o script_module.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c stack.cpp -o stack.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c storage.cpp -o storage.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c tensor.cpp -o tensor.o tensor.cpp: In function ‘void cpp_torch_tensor_print(torch::Tensor, int)’: tensor.cpp:33:19: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 33 | if (cont.size() > n && n > 1) { | ~~~~~~~~~~~~^~~ tensor.cpp:39:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 39 | for (int i = 0; i < cont.size(); i++) { | ~~^~~~~~~~~~~~~ tensor.cpp:42:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | if (i != (cont.size() - 1)) result += "\n"; | ~~^~~~~~~~~~~~~~~~~~~~ tensor.cpp:44:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 44 | if (i == (cont.size() - 2) && truncated) | ~~^~~~~~~~~~~~~~~~~~~~ tensor.cpp: In function ‘std::vector<long int> stride_from_dim(std::vector<long int>)’: tensor.cpp:82:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 82 | for (int i = 1; i < x.size(); i++) { | ~~^~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c tensor_list.cpp -o tensor_list.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c torch_api.cpp -o torch_api.o torch_api.cpp: In function ‘XPtrTorchTensorOptions from_sexp_tensor_options(SEXP)’: torch_api.cpp:369:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 369 | for (auto i = 0; i < names.size(); ++i) { | ~~^~~~~~~~~~~~~~ torch_api.cpp: In function ‘XPtrTorchDimnameList from_sexp_dimname_list(SEXP)’: torch_api.cpp:611:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 611 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ torch_api.cpp: In function ‘XPtrTorchvector_string from_sexp_vector_string(SEXP)’: torch_api.cpp:776:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 776 | for (int i = 0; i < strings.size(); i++) { | ~~^~~~~~~~~~~~~~~~ torch_api.cpp: In function ‘SEXPREC* operator_sexp_named_tuple_helper(const XPtrTorchNamedTupleHelper*)’: torch_api.cpp:1293:21: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘R_xlen_t’ {aka ‘long int’} [-Wsign-compare] 1293 | if (names_.size() != elements_.size()) return elements_; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ torch_api.cpp: In function ‘XPtrTorchNamedTupleHelper from_sexp_named_tuple_helper(SEXP)’: torch_api.cpp:1308:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1308 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ torch_api.cpp: In function ‘XPtrTorchIntArrayRef from_sexp_int_array_ref(SEXP, bool, bool)’: torch_api.cpp:1446:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1446 | for (int i = 0; i < vec.size(); i++) { | ~~^~~~~~~~~~~~ torch_api.cpp: In function ‘XPtrTorchOptionalIntArrayRef from_sexp_optional_int_array_ref(SEXP, bool)’: torch_api.cpp:1524:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1524 | for (int i = 0; i < data.size(); i++) { | ~~^~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c torch_exports.cpp -o torch_exports.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c trace.cpp -o trace.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c utils.cpp -o utils.o utils.cpp: In function ‘Rcpp::List transpose2(Rcpp::List)’: utils.cpp:77:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const long int’ [-Wsign-compare] 77 | for (size_t j = 0; j < size; j++) { | ~~^~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c variable_list.cpp -o variable_list.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c xptr.cpp -o xptr.o g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/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.check/r-patched-gcc/Work/build/lib -lR *** Renaming torch lib to torchpkg "/home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript" "../tools/renamelib.R" make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpCqu9bA/R.INSTALL3a66733c93b6a3/torch/src' make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpCqu9bA/R.INSTALL3a66733c93b6a3/torch/src' *** Renaming init "/home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript" "../tools/renameinit.R" g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpCqu9bA/R.INSTALL3a66733c93b6a3/torch/src' installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-torch/00new/torch/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices converting help for package ‘torch’ finding HTML links ... done AutogradContext html Constraint html Distribution html as_array html autograd_backward html autograd_function html autograd_grad html autograd_set_grad_mode html backends_cudnn_is_available html backends_cudnn_version html backends_mkl_is_available html backends_mkldnn_is_available html backends_mps_is_available html backends_openmp_is_available html broadcast_all html call_torch_function html clone_module html contrib_sort_vertices html cuda_amp_grad_scaler html cuda_current_device html cuda_device_count html cuda_empty_cache html cuda_get_device_capability html cuda_is_available html cuda_memory_stats html cuda_runtime_version html cuda_synchronize html dataloader html dataloader_make_iter html dataloader_next html dataset html dataset_subset html default_dtype html distr_bernoulli html distr_categorical html distr_chi2 html distr_gamma html distr_mixture_same_family html distr_multivariate_normal html distr_normal html distr_poisson html enumerate html enumerate.dataloader html install_torch html install_torch_from_file html is_dataloader html is_nn_buffer html is_nn_module html is_nn_parameter html is_optimizer html is_torch_device html is_torch_dtype html is_torch_layout html is_torch_memory_format html is_torch_qscheme html is_undefined_tensor html iterable_dataset html jit_compile html jit_load html jit_ops html jit_save html jit_save_for_mobile html jit_scalar html jit_trace html jit_trace_module html jit_tuple html linalg_cholesky html linalg_cholesky_ex html linalg_cond html linalg_det html linalg_eig html linalg_eigh html linalg_eigvals html linalg_eigvalsh html linalg_householder_product html linalg_inv html linalg_inv_ex html linalg_lstsq html linalg_matrix_norm html finding level-2 HTML links ... done linalg_matrix_power html linalg_matrix_rank html linalg_multi_dot html linalg_norm html linalg_pinv html linalg_qr html linalg_slogdet html linalg_solve html linalg_solve_triangular html linalg_svd html linalg_svdvals html linalg_tensorinv html linalg_tensorsolve html linalg_vector_norm html load_state_dict html local_autocast html local_device html lr_cosine_annealing html lr_lambda html lr_multiplicative html lr_one_cycle html lr_reduce_on_plateau html lr_scheduler html lr_step html nn_adaptive_avg_pool1d html nn_adaptive_avg_pool2d html nn_adaptive_avg_pool3d html nn_adaptive_log_softmax_with_loss html nn_adaptive_max_pool1d html nn_adaptive_max_pool2d html nn_adaptive_max_pool3d html nn_avg_pool1d html nn_avg_pool2d html nn_avg_pool3d html nn_batch_norm1d html nn_batch_norm2d html nn_batch_norm3d html nn_bce_loss html nn_bce_with_logits_loss html nn_bilinear html nn_buffer html nn_celu html nn_contrib_sparsemax html nn_conv1d html nn_conv2d html nn_conv3d html nn_conv_transpose1d html nn_conv_transpose2d html nn_conv_transpose3d html nn_cosine_embedding_loss html nn_cross_entropy_loss html nn_ctc_loss html nn_dropout html nn_dropout2d html nn_dropout3d html nn_elu html nn_embedding html nn_embedding_bag html nn_flatten html nn_fractional_max_pool2d html nn_fractional_max_pool3d html nn_gelu html nn_glu html nn_group_norm html nn_gru html nn_hardshrink html nn_hardsigmoid html nn_hardswish html nn_hardtanh html nn_hinge_embedding_loss html nn_identity html nn_init_calculate_gain html nn_init_constant_ html nn_init_dirac_ html nn_init_eye_ html nn_init_kaiming_normal_ html nn_init_kaiming_uniform_ html nn_init_normal_ html nn_init_ones_ html nn_init_orthogonal_ html nn_init_sparse_ html nn_init_trunc_normal_ html nn_init_uniform_ html nn_init_xavier_normal_ html nn_init_xavier_uniform_ html nn_init_zeros_ html nn_kl_div_loss html nn_l1_loss html nn_layer_norm html nn_leaky_relu html nn_linear html nn_log_sigmoid html nn_log_softmax html nn_lp_pool1d html nn_lp_pool2d html nn_lstm html nn_margin_ranking_loss html nn_max_pool1d html nn_max_pool2d html nn_max_pool3d html nn_max_unpool1d html nn_max_unpool2d html nn_max_unpool3d html nn_module html nn_module_dict html nn_module_list html nn_mse_loss html nn_multi_margin_loss html nn_multihead_attention html nn_multilabel_margin_loss html nn_multilabel_soft_margin_loss html nn_nll_loss html nn_pairwise_distance html nn_parameter html nn_poisson_nll_loss html nn_prelu html nn_prune_head html nn_relu html nn_relu6 html nn_rnn html nn_rrelu html nn_selu html nn_sequential html nn_sigmoid html nn_silu html nn_smooth_l1_loss html nn_soft_margin_loss html nn_softmax html nn_softmax2d html nn_softmin html nn_softplus html nn_softshrink html nn_softsign html nn_tanh html nn_tanhshrink html nn_threshold html nn_triplet_margin_loss html nn_triplet_margin_with_distance_loss html nn_unflatten html nn_upsample html nn_utils_clip_grad_norm_ html nn_utils_clip_grad_value_ html nn_utils_rnn_pack_padded_sequence html nn_utils_rnn_pack_sequence html nn_utils_rnn_pad_packed_sequence html nn_utils_rnn_pad_sequence html nn_utils_weight_norm html nnf_adaptive_avg_pool1d html nnf_adaptive_avg_pool2d html nnf_adaptive_avg_pool3d html nnf_adaptive_max_pool1d html nnf_adaptive_max_pool2d html nnf_adaptive_max_pool3d html nnf_affine_grid html nnf_alpha_dropout html nnf_avg_pool1d html nnf_avg_pool2d html nnf_avg_pool3d html nnf_batch_norm html nnf_bilinear html nnf_binary_cross_entropy html nnf_binary_cross_entropy_with_logits html nnf_celu html nnf_contrib_sparsemax html nnf_conv1d html nnf_conv2d html nnf_conv3d html nnf_conv_tbc html nnf_conv_transpose1d html nnf_conv_transpose2d html nnf_conv_transpose3d html nnf_cosine_embedding_loss html nnf_cosine_similarity html nnf_cross_entropy html nnf_ctc_loss html nnf_dropout html nnf_dropout2d html nnf_dropout3d html nnf_elu html nnf_embedding html nnf_embedding_bag html nnf_fold html nnf_fractional_max_pool2d html nnf_fractional_max_pool3d html nnf_gelu html nnf_glu html nnf_grid_sample html nnf_group_norm html nnf_gumbel_softmax html nnf_hardshrink html nnf_hardsigmoid html nnf_hardswish html nnf_hardtanh html nnf_hinge_embedding_loss html nnf_instance_norm html nnf_interpolate html nnf_kl_div html nnf_l1_loss html nnf_layer_norm html nnf_leaky_relu html nnf_linear html nnf_local_response_norm html nnf_log_softmax html nnf_logsigmoid html nnf_lp_pool1d html nnf_lp_pool2d html nnf_margin_ranking_loss html nnf_max_pool1d html nnf_max_pool2d html nnf_max_pool3d html nnf_max_unpool1d html nnf_max_unpool2d html nnf_max_unpool3d html nnf_mse_loss html nnf_multi_head_attention_forward html nnf_multi_margin_loss html nnf_multilabel_margin_loss html nnf_multilabel_soft_margin_loss html nnf_nll_loss html nnf_normalize html nnf_one_hot html nnf_pad html nnf_pairwise_distance html nnf_pdist html nnf_pixel_shuffle html nnf_poisson_nll_loss html nnf_prelu html nnf_relu html nnf_relu6 html nnf_rrelu html nnf_selu html nnf_sigmoid html nnf_silu html nnf_smooth_l1_loss html nnf_soft_margin_loss html nnf_softmax html nnf_softmin html nnf_softplus html nnf_softshrink html nnf_softsign html nnf_tanhshrink html nnf_threshold html nnf_triplet_margin_loss html nnf_triplet_margin_with_distance_loss html nnf_unfold html optim_adadelta html optim_adagrad html optim_adam html optim_adamw html optim_asgd html optim_lbfgs html optim_required html optim_rmsprop html optim_rprop html optim_sgd html optimizer html pipe html reexports html sampler html slc html tensor_dataset html threads html torch_abs html torch_absolute html torch_acos html torch_acosh html torch_adaptive_avg_pool1d html torch_add html torch_addbmm html torch_addcdiv html torch_addcmul html torch_addmm html torch_addmv html torch_addr html torch_allclose html torch_amax html torch_amin html torch_angle html torch_arange html torch_arccos html torch_arccosh html torch_arcsin html torch_arcsinh html torch_arctan html torch_arctanh html torch_argmax html torch_argmin html torch_argsort html torch_as_strided html torch_asin html torch_asinh html torch_atan html torch_atan2 html torch_atanh html torch_atleast_1d html torch_atleast_2d html torch_atleast_3d html torch_avg_pool1d html torch_baddbmm html torch_bartlett_window html torch_bernoulli html torch_bincount html torch_bitwise_and html torch_bitwise_not html torch_bitwise_or html torch_bitwise_xor html torch_blackman_window html torch_block_diag html torch_bmm html torch_broadcast_tensors html torch_bucketize html torch_can_cast html torch_cartesian_prod html torch_cat html torch_cdist html torch_ceil html torch_celu html torch_celu_ html torch_chain_matmul html torch_channel_shuffle html torch_cholesky html torch_cholesky_inverse html torch_cholesky_solve html torch_chunk html torch_clamp html torch_clip html torch_clone html torch_combinations html torch_complex html torch_conj html torch_conv1d html torch_conv2d html torch_conv3d html torch_conv_tbc html torch_conv_transpose1d html torch_conv_transpose2d html torch_conv_transpose3d html torch_cos html torch_cosh html torch_cosine_similarity html torch_count_nonzero html torch_cross html torch_cummax html torch_cummin html torch_cumprod html torch_cumsum html torch_deg2rad html torch_dequantize html torch_det html torch_device html torch_diag html torch_diag_embed html torch_diagflat html torch_diagonal html torch_diff html torch_digamma html torch_dist html torch_div html torch_divide html torch_dot html torch_dstack html torch_dtype html torch_eig html torch_einsum html torch_empty html torch_empty_like html torch_empty_strided html torch_eq html torch_equal html torch_erf html torch_erfc html torch_erfinv html torch_exp html torch_exp2 html torch_expm1 html torch_eye html torch_fft_fft html torch_fft_fftfreq html torch_fft_ifft html torch_fft_irfft html torch_fft_rfft html torch_finfo html torch_fix html torch_flatten html torch_flip html torch_fliplr html torch_flipud html torch_floor html torch_floor_divide html torch_fmod html torch_frac html torch_full html torch_full_like html torch_gather html torch_gcd html torch_ge html torch_generator html torch_geqrf html torch_ger html torch_get_rng_state html torch_greater html torch_greater_equal html torch_gt html torch_hamming_window html torch_hann_window html torch_heaviside html torch_histc html torch_hstack html torch_hypot html torch_i0 html torch_iinfo html torch_imag html torch_index html torch_index_put html torch_index_put_ html torch_index_select html torch_install_path html torch_inverse html torch_is_complex html torch_is_floating_point html torch_is_installed html torch_is_nonzero html torch_isclose html torch_isfinite html torch_isinf html torch_isnan html torch_isneginf html torch_isposinf html torch_isreal html torch_istft html torch_kaiser_window html torch_kron html torch_kthvalue html torch_layout html torch_lcm html torch_le html torch_lerp html torch_less html torch_less_equal html torch_lgamma html torch_linspace html torch_load html torch_log html torch_log10 html torch_log1p html torch_log2 html torch_logaddexp html torch_logaddexp2 html torch_logcumsumexp html torch_logdet html torch_logical_and html torch_logical_not html torch_logical_or html torch_logical_xor html torch_logit html torch_logspace html torch_logsumexp html torch_lstsq html torch_lt html torch_lu html torch_lu_solve html torch_lu_unpack html torch_manual_seed html torch_masked_select html torch_matmul html torch_matrix_exp html torch_matrix_power html torch_matrix_rank html torch_max html torch_maximum html torch_mean html torch_median html torch_memory_format html torch_meshgrid html torch_min html torch_minimum html torch_mm html torch_mode html torch_movedim html torch_mul html torch_multinomial html torch_multiply html torch_mv html torch_mvlgamma html torch_nanquantile html torch_nansum html torch_narrow html torch_ne html torch_neg html torch_negative html torch_nextafter html torch_nonzero html torch_norm html torch_normal html torch_not_equal html torch_ones html torch_ones_like html torch_orgqr html torch_ormqr html torch_outer html torch_pdist html torch_pinverse html torch_pixel_shuffle html torch_poisson html torch_polar html torch_polygamma html torch_pow html torch_prod html torch_promote_types html torch_qr html torch_qscheme html torch_quantile html torch_quantize_per_channel html torch_quantize_per_tensor html torch_rad2deg html torch_rand html torch_rand_like html torch_randint html torch_randint_like html torch_randn html torch_randn_like html torch_randperm html torch_range html torch_real html torch_reciprocal html torch_reduction html torch_relu html torch_relu_ html torch_remainder html torch_renorm html torch_repeat_interleave html torch_reshape html torch_result_type html torch_roll html torch_rot90 html torch_round html torch_rrelu_ html torch_rsqrt html torch_save html torch_scalar_tensor html torch_searchsorted html torch_selu html torch_selu_ html torch_serialize html torch_sgn html torch_sigmoid html torch_sign html torch_signbit html torch_sin html torch_sinh html torch_slogdet html torch_sort html torch_sparse_coo_tensor html torch_split html torch_sqrt html torch_square html torch_squeeze html torch_stack html torch_std html torch_std_mean html torch_stft html torch_sub html torch_subtract html torch_sum html torch_svd html torch_t html torch_take html torch_tan html torch_tanh html torch_tensor html torch_tensor_from_buffer html torch_tensordot html torch_threshold_ html torch_topk html torch_trace html torch_transpose html torch_trapz html torch_triangular_solve html torch_tril html torch_tril_indices html torch_triu html torch_triu_indices html torch_true_divide html torch_trunc html torch_unbind html torch_unique_consecutive html torch_unsafe_chunk html torch_unsafe_split html torch_unsqueeze html torch_vander html torch_var html torch_var_mean html torch_vdot html torch_view_as_complex html torch_view_as_real html torch_vstack html torch_where html torch_zeros html torch_zeros_like html with_detect_anomaly html with_enable_grad html with_no_grad html *** 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)