Hi,
I'm the maintainer of a fork of the rtree
package: https://github.com/akoyabio/rtree. I'm getting the error below when building the package on Windows 10 with R 4.0. The package seems to build OK but it fails to install. The same code builds and installs without error with R 3.6.3. I'm at a loss of where to start with this. Any hints of what the problem might be or how to debug it greatly appreciated!
I have RTools 4.0. The package uses Rcpp, I have version 1.0.4.6 installed.
Thanks for any help!
Kent
==> Rcmd.exe INSTALL --preclean --no-multiarch --with-keep.source rtree
Loading C:\Users\kjohnson\Documents\Rprofile.site
* installing to library 'C:/Program Files/R/Library/4.0'
* installing *source* package 'rtree' ...
** using staged installation
** libs
C:/RTools/mingw_64/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-4.0.0/include" -DNDEBUG -I'C:/Program Files/R/Library/4.0/Rcpp/include' -I'C:/Program Files/R/Library/4.0/BH/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
C:/RTools/mingw_64/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-4.0.0/include" -DNDEBUG -I'C:/Program Files/R/Library/4.0/Rcpp/include' -I'C:/Program Files/R/Library/4.0/BH/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rtree.cpp -o rtree.o
C:/RTools/mingw_64/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o rtree.dll tmp.def RcppExports.o rtree.o -LC:/PROGRA~1/R/R-4.0.0/bin/x64 -lR
installing to C:/Program Files/R/Library/4.0/00LOCK-rtree/00new/rtree/libs/x64
** R
** byte-compile and prepare package for lazy loading
Loading C:\Users\kjohnson\Documents\Rprofile.site
** help
*** installing help indices
converting help for package 'rtree'
RTree html
countWithinDistance html finding HTML links ... done
knn html
withinDistance html
** building package indices
Loading C:\Users\kjohnson\Documents\Rprofile.site
** testing if installed package can be loaded from temporary location
Loading C:\Users\kjohnson\Documents\Rprofile.site
ERROR: loading failed
* removing 'C:/Program Files/R/Library/4.0/rtree'
Exited with status 1.