* installing *source* package 'torch' ...
** package 'torch' successfully unpacked and MD5 sums checked
** using staged installation
** libs
Warning: this package has a non-empty 'configure.win' file,
so building only the main architecture

using C++ compiler: 'g++.exe (GCC) 12.3.0'
make[1]: Entering directory '/d/temp/RtmpKER00l/R.INSTALL275d47be93166/torch/src'
*** Skip building lantern.
*** Renaming init
"D:/RCompile/recent/R-4.3.3/bin/x64/Rscript" "../tools/renameinit.R"
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c amp.cpp -o amp.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c autograd.cpp -o autograd.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c backends.cpp -o backends.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c codegen.cpp -o codegen.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c contrib.cpp -o contrib.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cuda.cpp -o cuda.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c device.cpp -o device.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c dimname_list.cpp -o dimname_list.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c dtype.cpp -o dtype.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c gen-namespace.cpp -o gen-namespace.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c generator.cpp -o generator.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c indexing.cpp -o indexing.o
indexing.cpp: In function 'void list2env(Rcpp::Environment, Rcpp::List)':
indexing.cpp:46:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   46 |   for (int 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   61 |   for (int 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  286 |   for (int 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 long unsigned int'} [-Wsign-compare]
  296 |       bool last_dim = i >= (slices.size() - 1);
      |                       ~~^~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c ivalue.cpp -o ivalue.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c jit-compile.cpp -o jit-compile.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c jit-execute.cpp -o jit-execute.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c lantern.cpp -o lantern.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c layout.cpp -o layout.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c memory_format.cpp -o memory_format.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c nn_utils_rnn.cpp -o nn_utils_rnn.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c qscheme.cpp -o qscheme.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c quantization.cpp -o quantization.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c reduction.cpp -o reduction.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c save.cpp -o save.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c scalar.cpp -o scalar.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c script_module.cpp -o script_module.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c stack.cpp -o stack.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c storage.cpp -o storage.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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 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 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 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 long unsigned int'} [-Wsign-compare]
   44 |     if (i == (cont.size() - 2) && truncated)
      |         ~~^~~~~~~~~~~~~~~~~~~~
tensor.cpp: In function 'std::vector<long long int> stride_from_dim(std::vector<long long int>)':
tensor.cpp:82:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
   82 |   for (int i = 1; i < x.size(); i++) {
      |                   ~~^~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c tensor_list.cpp -o tensor_list.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c torch_api.cpp -o torch_api.o
torch_api.cpp: In function 'XPtrTorchTensorOptions from_sexp_tensor_options(SEXP)':
torch_api.cpp:366:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  366 |     for (auto i = 0; i < names.size(); ++i) {
      |                      ~~^~~~~~~~~~~~~~
torch_api.cpp: In function 'XPtrTorchDimnameList from_sexp_dimname_list(SEXP)':
torch_api.cpp:608:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  608 |     for (int i = 0; i < names.size(); i++) {
      |                     ~~^~~~~~~~~~~~~~
torch_api.cpp: In function 'XPtrTorchvector_string from_sexp_vector_string(SEXP)':
torch_api.cpp:773:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  773 |   for (int i = 0; i < strings.size(); i++) {
      |                   ~~^~~~~~~~~~~~~~~~
torch_api.cpp: In function 'SEXPREC* operator_sexp_named_tuple_helper(const XPtrTorchNamedTupleHelper*)':
torch_api.cpp:1290:21: warning: comparison of integer expressions of different signedness: 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
 1290 |   if (names_.size() != elements_.size()) return elements_;
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
torch_api.cpp: In function 'XPtrTorchNamedTupleHelper from_sexp_named_tuple_helper(SEXP)':
torch_api.cpp:1305:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 1305 |   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:1443:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 1443 |     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:1521:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 1521 |       for (int i = 0; i < data.size(); i++) {
      |                       ~~^~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c torch_exports.cpp -o torch_exports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c trace.cpp -o trace.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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 long unsigned int'} and 'const long long int' [-Wsign-compare]
   77 |   for (size_t j = 0; j < size; j++) {
      |                      ~~^~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c variable_list.cpp -o variable_list.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c xptr.cpp -o xptr.o
D:\rtools43\x86_64-w64-mingw32.static.posix\bin\nm.exe: 'dummylantern': No such file
g++ -std=gnu++17 -shared -s -static-libgcc -o torch.dll tmp.def 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 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR
*** Renaming torch lib to torchpkg
"D:/RCompile/recent/R-4.3.3/bin/x64/Rscript" "../tools/renamelib.R"
make[1]: Leaving directory '/d/temp/RtmpKER00l/R.INSTALL275d47be93166/torch/src'
make[1]: Entering directory '/d/temp/RtmpKER00l/R.INSTALL275d47be93166/torch/src'
*** Renaming init
"D:/RCompile/recent/R-4.3.3/bin/x64/Rscript" "../tools/renameinit.R"
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
make[1]: Leaving directory '/d/temp/RtmpKER00l/R.INSTALL275d47be93166/torch/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-torch/00new/torch/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'torch' as torch_0.12.0.zip
* DONE (torch)