* using log directory 'd:/Rcompile/CRANpkg/local/4.6/spatialrisk.Rcheck' * using R version 4.6.0 RC (2026-04-20 r89921 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-04-21 18:39:00 UTC * checking for file 'spatialrisk/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'spatialrisk' version '0.7.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 'spatialrisk' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/spatialrisk.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'spatialrisk' ... ** this is package 'spatialrisk' version '0.7.3' ** package 'spatialrisk' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 14.3.0' make[1]: Entering directory '/d/temp/2026_04_21_01_50_00_16195/Rtmp2VKACw/R.INSTALL2ed838c369a/spatialrisk/src' g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppProgress/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppProgress/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c haversine_cpp.cpp -o haversine_cpp.o g++ -std=gnu++20 -shared -s -static-libgcc -o spatialrisk.dll tmp.def RcppExports.o haversine_cpp.o -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR make[1]: Leaving directory '/d/temp/2026_04_21_01_50_00_16195/Rtmp2VKACw/R.INSTALL2ed838c369a/spatialrisk/src' make[1]: Entering directory '/d/temp/2026_04_21_01_50_00_16195/Rtmp2VKACw/R.INSTALL2ed838c369a/spatialrisk/src' make[1]: Leaving directory '/d/temp/2026_04_21_01_50_00_16195/Rtmp2VKACw/R.INSTALL2ed838c369a/spatialrisk/src' installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-spatialrisk/00new/spatialrisk/libs/x64 ** R ** data *** moving datasets to lazyload DB ** byte-compile and prepare package for lazy loading Error: object 'tm_scale_bar' is not exported by 'namespace:tmap' Execution halted ERROR: lazy loading failed for package 'spatialrisk' * removing 'd:/Rcompile/CRANpkg/lib/4.6/spatialrisk' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/spatialrisk'