* using log directory 'd:/Rcompile/CRANpkg/local/4.1/rlas.Rcheck' * using R version 4.1.3 (2022-03-10) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'rlas/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'rlas' version '1.6.3' * 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 'rlas' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.1/rlas.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'rlas' ... ** package 'rlas' successfully unpacked and MD5 sums checked ** using staged installation ** libs *** arch - i386 make[1]: Entering directory '/d/temp/Rtmpqo1dW1/R.INSTALL191904cd849bc/rlas/src-i386' d:/Compiler/rtools40/mingw32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.1.3/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'd:/RCompile/CRANpkg/lib/4.1/Rcpp/include' -I'd:/RCompile/CRANpkg/lib/4.1/BH/include' -I"d:/Compiler/gcc-4.9.3/local330/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c LASlib/lasreader_txt.cpp -o LASlib/lasreader_txt.o LASlib/lasreader_txt.cpp: In member function 'virtual BOOL LASreaderTXT::open(FILE*, const CHAR*, U8, const CHAR*, I32, BOOL)': LASlib/lasreader_txt.cpp:296:40: error: expected ')' before 'PRId64' REprintf( "PTS header states %" PRId64 " points. ignoring ...\n", npoints); ~ ^~~~~~~ ) LASlib/lasreader_txt.cpp:340:61: error: expected ')' before 'PRId64' REprintf( "PTX header states %d cols by %d rows aka %" PRId64 " points. ignoring ...\n", ncols, nrows, npoints); ~ ^~~~~~~ ) LASlib/lasreader_txt.cpp:558:26: error: expected ')' before 'PRId64' REprintf( "counted %" PRId64 " points in populate pass.\n", npoints); ~ ^~~~~~~ ) LASlib/lasreader_txt.cpp: In member function 'virtual BOOL LASreaderTXT::read_point_default()': LASlib/lasreader_txt.cpp:1163:52: error: expected ')' before 'PRId64' REprintf("WARNING: end-of-file after %" PRId64 " of %" PRId64 " points\n", p_count, npoints); ~ ^~~~~~~ ) LASlib/lasreader_txt.cpp:1176:54: error: expected ')' before 'PRId64' REprintf("WARNING: end-of-file after %" PRId64 " of %" PRId64 " points\n", p_count, npoints); ~ ^~~~~~~ ) make[1]: *** [D:/RCompile/recent/R-4.1.3/etc/i386/Makeconf:245: LASlib/lasreader_txt.o] Error 1 make[1]: Leaving directory '/d/temp/Rtmpqo1dW1/R.INSTALL191904cd849bc/rlas/src-i386' ERROR: compilation failed for package 'rlas' * removing 'd:/Rcompile/CRANpkg/lib/4.1/rlas' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.1/rlas'