* using log directory 'd:/Rcompile/CRANpkg/local/4.5/terra.Rcheck' * using R Under development (unstable) (2024-12-21 r87453 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'terra/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'terra' version '1.8-5' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'terra' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.5/terra.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'terra' ... ** package 'terra' successfully unpacked and MD5 sums checked ** using staged installation ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs using C compiler: 'gcc.exe (GCC) 13.3.0' using C++ compiler: 'g++.exe (GCC) 13.3.0' using C++17 make[1]: Entering directory '/d/temp/2024_12_22_01_50_00_26287/RtmpYl0hxk/R.INSTALLeba436219c3/terra/src' rm -f terra.dll RcppExports.o RcppFunctions.o RcppModule.o arith.o crs.o distRaster.o distance.o extract.o file_utils.o focal.o gcp.o gdal_algs.o gdal_multidimensional.o gdalio.o geodesic.o geos_methods.o geosphere.o math_utils.o mediancut.o memory.o movingWindow.o ncdf.o patches.o ram.o raster_methods.o raster_stats.o rasterize.o read.o read_gdal.o read_ogr.o sample.o sort.o spatBase.o spatDataframe.o spatFactor.o spatRaster.o spatRasterMultiple.o spatSources.o spatTime.o spatVector.o spatVector2.o string_utils.o surfArea.o vecmath.o vecmathse.o vector_methods.o watershed_internal.o write.o write_gdal.o write_ogr.o cp -r "d:/rtools44/x86_64-w64-mingw32.static.posix/share/gdal" ../inst/ cp -r "d:/rtools44/x86_64-w64-mingw32.static.posix/share/proj" ../inst/ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c RcppFunctions.cpp -o RcppFunctions.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c RcppModule.cpp -o RcppModule.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c arith.cpp -o arith.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c crs.cpp -o crs.o In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:76, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:27, from spatRaster.h:27, from crs.cpp:20: crs.cpp: In member function 'SpatVector SpatVector::project(std::string, bool)': D:/RCompile/recent/R/include/Rmath.h:219:25: error: 'class SpatVector' has no member named 'Rf_df' 219 | #define df Rf_df | ^~~~~ crs.cpp:379:11: note: in expansion of macro 'df' 379 | s.df = df; | ^~ D:/RCompile/recent/R/include/Rmath.h:219:25: error: 'class SpatVector' has no member named 'Rf_df' 219 | #define df Rf_df | ^~~~~ crs.cpp:461:19: note: in expansion of macro 'df' 461 | s.df = df.subset_rows(keeprows); | ^~ crs.cpp:461:27: error: request for member 'subset_rows' in 'Rf_df', which is of non-class type 'double(double, double, double, int)' 461 | s.df = df.subset_rows(keeprows); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rmath.h:219:25: error: 'class SpatVector' has no member named 'Rf_df' 219 | #define df Rf_df | ^~~~~ crs.cpp:463:19: note: in expansion of macro 'df' 463 | s.df = df; | ^~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: crs.o] Error 1 make[1]: Leaving directory '/d/temp/2024_12_22_01_50_00_26287/RtmpYl0hxk/R.INSTALLeba436219c3/terra/src' ERROR: compilation failed for package 'terra' * removing 'd:/Rcompile/CRANpkg/lib/4.5/terra' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/terra'