* using log directory 'd:/RCompile/CRANincoming/R-devel/spNetwork.Rcheck' * using R Under development (unstable) (2025-01-15 r87581 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 'spNetwork/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'spNetwork' version '0.4.4.5' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [17s] NOTE Maintainer: 'Jeremy Gelb ' Days since last update: 2 * 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 'spNetwork' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 13.3.0' * checking C++ specification ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [29s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [20s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [37s] ERROR Running 'testthat.R' [36s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > test_check("spNetwork") Loading required package: spNetwork [1] "checking inputs ..." [1] "prior data preparation ..." [1] "start calculating the kernel values for the adaptive bandwidth..." [1] " quadra 1/1" [1] " build graph ..." [1] " calculating NKDE values ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************[1] "Splitting the data with the spatial grid ..." [1] "start calculating the kernel values ..." [1] " quadra 1/1" [1] " build graph ..." [1] " calculating NKDE values ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************[1] "combining the results ..." [1] "precalculated bws : 3.73661539510889;2.93822642599985;2.45923541821083" [1] "checking inputs ..." [1] "prior data preparation ..." [1] "calculating the local bandwidth ..." [1] "start calculating the kernel values for the adaptive bandwidth..." [1] "starting the kernel calculations ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************[1] "starting the kernel calculations ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************[1] "combining the results ..." [1] "checking inputs ..." [1] "prior data preparation ..." [1] "start calculating the kernel values for the adaptive bandwidth..." [1] " quadra 1/3" [1] " build graph ..." [1] " calculating NKDE values ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************[1] " quadra 2/3" [1] " build graph ..." [1] " calculating NKDE values ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************[1] " quadra 3/3" [1] " build graph ..." [1] " calculating NKDE values ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************[1] "Splitting the data with the spatial grid ..." [1] "start calculating the kernel values ..." [1] " quadra 1/3" [1] " build graph ..." [1] " calculating NKDE values ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************[1] " quadra 2/3" [1] " build graph ..." [1] " calculating NKDE values ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************[1] " quadra 3/3" [1] " build graph ..." [1] " calculating NKDE values ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************[1] "combining the results ..." [1] "checking inputs ..." [1] "prior data preparation ..." [1] "start calculating the kernel values for the adaptive bandwidth..." [1] "start calculating the kernel values ..." [1] " quadra 1/1" [1] " build graph ..." [1] " calculating NKDE values ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************[1] "combining the results ..." [1] "checking inputs ..." [1] "prior data preparation ..." [1] "start calculating the kernel values for the adaptive bandwidth..." [1] "starting the kernel calculations ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| *************************[1] " build graph ..." [1] " calculating NKDE values ..." [1] "combining the results ..." [1] "start calculating the kernel values for the adaptive bandwidth..." [1] "start calculating the kernel values for the adaptive bandwidth..." [1] "generating the starting points" [1] "snapping the points to the lines (only once)" [1] "starting the network part" [1] "working on quadra : 1/1" [1] "adding the points as vertices to nearest lines" [1] "splitting the lines for the network" [1] "generating the network" [1] 1 [1] 1 [1] 1 [1] 1 [1] "checking inputs ..." [1] "prior data preparation ..." [1] "Calculating the correction factor if required" [1] "Splittig the dataset within the grid ..." [1] "start calculating the CV values ..." | | | 0%[1] 1 | |======================================================================| 100%[1] "checking inputs ..." [1] "prior data preparation ..." [1] "Calculating the correction factor if required" [1] "start calculating the CV values ..." | | | 0%[1] "checking inputs ..." [1] "prior data preparation ..." [1] "Calculating the correction factor if required" [1] "start calculating the CV values ..." [1] "checking inputs ..." [1] "prior data preparation ..." [1] "Calculating the correction factor if required" [1] "Splittig the dataset within the grid ..." [1] "start calculating the CV values ..." | | | 0%[1] 1 | |================== | 25%[1] 2 | |=================================== | 50%[1] 3 | |==================================================== | 75%[1] 4 | |======================================================================| 100%[1] "checking inputs ..." [1] "prior data preparation ..." [1] "Calculating the correction factor if required" [1] "start calculating the CV values ..." bw cvl_scores 1 200 3.068381e+12 2 300 9.065499e+12 3 400 1.812532e+13 bw cvl_scores 1 200 3.068381e+12 2 300 9.065499e+12 3 400 1.812532e+13 bw cvl_scores 1 200 3.068381e+12 2 300 9.065499e+12 3 400 1.812532e+13 [1] "checking inputs ..." [1] "prior data preparation ..." [1] "Calculating the correction factor if required" [1] "start calculating the kernel values for the adaptive bandwidth..." [1] " quadra 1/3" [1] " build graph ..." [1] " calculating NKDE values ..." [1] " quadra 2/3" [1] " build graph ..." [1] " calculating NKDE values ..." [1] " quadra 3/3" [1] " build graph ..." [1] " calculating NKDE values ..." [1] "Splittig the dataset within the grid ..." [1] "start calculating the CV values ..." | | | 0%[1] 1 | |======================= | 33%[1] 2 | |=============================================== | 67%[1] 3 | |======================================================================| 100%[1] 1 [1] "prior data preparation ..." [1] "Calculating the correction factor if required" [1] "start calculating the CV values ..." | | | 0% | |======================================================================| 100%[1] "prior data preparation ..." [1] "Calculating the correction factor if required" [1] "start calculating the CV values ..." | | | 0% | |======================================================================| 100%[1] "prior data preparation ..." [1] "Calculating the correction factor if required" [1] "start calculating the CV values ..." | | | 0% | |======================================================================| 100%[1] "prior data preparation ..." [1] "Calculating the correction factor if required" [1] "splitting the data by the grid..." [1] "start calculating the CV values ..." | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100%[1] "Preparing data ..." [1] "Snapping points on lines ..." [1] "Building graph ..." [1] "Preparing data ..." [1] "Snapping points on lines ..." [1] "Building graph ..." [1] "Preparing data ..." [1] "Snapping points on lines ..." [1] "Building graph ..." [1] "checking inputs ..." [1] "prior data preparation ..." [1] "Splitting the data with the spatial grid ..." [1] "start calculating the kernel values ..." [1] " quadra 1/1" [1] " build graph ..." [1] " calculating NKDE values ..." | | | 0% | |======================================================================| 100%[1] "combining the results ..." [1] "snapping the points to the lines (only once)" [1] "preparing the data in the grid" [1] "adding the points as vertices to nearest lines" [1] "build the local graph" [1] "checking inputs ..." [1] "prior data preparation ..." [1] "start calculating the kernel values ..." [1] " quadra 1/1" [1] " build graph ..." [1] " calculating NKDE values ..." | | | 0% | |======================================================================| 100%[1] "combining the results ..." [1] "checking inputs ..." [1] "prior data preparation ..." [1] "start calculating the kernel values ..." [1] " quadra 1/1" [1] " build graph ..." [1] " calculating NKDE values ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| [1] "combining the results ..." [1] "checking inputs ..." [1] "prior data preparation ..." [1] "start calculating the kernel values ..." [1] " quadra 1/1" [1] " build graph ..." [1] " calculating NKDE values ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| [1] "combining the results ..." [1] "checking inputs ..." [1] "prior data preparation ..." [1] "start calculating the kernel values ..." [1] " quadra 1/1" [1] " build graph ..." [1] " calculating NKDE values ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| [1] "combining the results ..." [1] "checking inputs ..." [1] "prior data preparation ..." [1] "starting the kernel calculations ..." 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| **************************************************| [1] " build graph ..." [1] " calculating NKDE values ..." [1] "combining the results ..." [ FAIL 10 | WARN 1 | SKIP 5 | PASS 71 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test_k_functions_sf.R:88:3', 'test_k_functions_sf.R:261:3', 'test_k_functions_sf.R:416:3', 'test_listw_symetry_sf.R:6:3', 'test_listw_symetry_sf.R:69:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_basics_listw_sf.R:29:3'): Testing on a simple scenario if the neighbouring functions are producing expected results ── Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/cppRouting/libs/x64/cppRouting.dll': LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Backtrace: ▆ 1. ├─spNetwork::network_listw(...) at test_basics_listw_sf.R:29:3 2. │ └─base::lapply(...) 3. │ └─spNetwork (local) FUN(X[[i]], ...) 4. │ └─spNetwork:::network_listw_worker(...) 5. │ └─spNetwork::build_graph_cppr(...) 6. └─base::loadNamespace(x) 7. └─base::library.dynam(lib, package, package.lib) 8. └─base::dyn.load(file, DLLpath = DLLpath, ...) 9. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) ── Error ('test_basics_listw_sf.R:80:3'): Testing on a simple scenario if the neighbouring functions are producing expected results (with polygons) ── Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/cppRouting/libs/x64/cppRouting.dll': LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Backtrace: ▆ 1. ├─spNetwork::network_listw(...) at test_basics_listw_sf.R:80:3 2. │ └─base::lapply(...) 3. │ └─spNetwork (local) FUN(X[[i]], ...) 4. │ └─spNetwork:::network_listw_worker(...) 5. │ └─spNetwork::build_graph_cppr(...) 6. └─base::loadNamespace(x) 7. └─base::library.dynam(lib, package, package.lib) 8. └─base::dyn.load(file, DLLpath = DLLpath, ...) 9. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) ── Error ('test_k_functions_sf.R:29:3'): Testing the simple k function ───────── Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/cppRouting/libs/x64/cppRouting.dll': LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Backtrace: ▆ 1. ├─spNetwork::kfunctions(...) at test_k_functions_sf.R:29:3 2. │ └─spNetwork::build_graph_cppr(...) 3. └─base::loadNamespace(x) 4. └─base::library.dynam(lib, package, package.lib) 5. └─base::dyn.load(file, DLLpath = DLLpath, ...) 6. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) ── Error ('test_k_functions_sf.R:193:3'): Testing the cross k function ───────── Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/cppRouting/libs/x64/cppRouting.dll': LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Backtrace: ▆ 1. ├─spNetwork::cross_kfunctions(...) at test_k_functions_sf.R:193:3 2. │ └─spNetwork::build_graph_cppr(...) 3. └─base::loadNamespace(x) 4. └─base::library.dynam(lib, package, package.lib) 5. └─base::dyn.load(file, DLLpath = DLLpath, ...) 6. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) ── Error ('test_k_functions_sf.R:365:3'): Testing the simple k function in space-time ── Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/cppRouting/libs/x64/cppRouting.dll': LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Backtrace: ▆ 1. ├─spNetwork::k_nt_functions(...) at test_k_functions_sf.R:365:3 2. │ └─spNetwork::build_graph_cppr(...) 3. └─base::loadNamespace(x) 4. └─base::library.dynam(lib, package, package.lib) 5. └─base::dyn.load(file, DLLpath = DLLpath, ...) 6. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) ── Error ('test_knn_sf.R:64:3'): Testing the knn function with a simple case ─── Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/cppRouting/libs/x64/cppRouting.dll': LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Backtrace: ▆ 1. ├─spNetwork::network_knn(...) at test_knn_sf.R:64:3 2. │ └─base::lapply(...) 3. │ └─spNetwork (local) FUN(X[[i]], ...) 4. │ └─spNetwork:::network_knn_worker(...) 5. │ └─spNetwork::build_graph_cppr(...) 6. └─base::loadNamespace(x) 7. └─base::library.dynam(lib, package, package.lib) 8. └─base::dyn.load(file, DLLpath = DLLpath, ...) 9. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) ── Error ('test_knn_sf.R:140:3'): Testing the knn function with a simple case and a directed network ── Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/cppRouting/libs/x64/cppRouting.dll': LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Backtrace: ▆ 1. ├─spNetwork::network_knn(...) at test_knn_sf.R:140:3 2. │ └─base::lapply(...) 3. │ └─spNetwork (local) FUN(X[[i]], ...) 4. │ └─spNetwork:::network_knn_worker(...) 5. │ └─spNetwork::build_graph_cppr(...) 6. └─base::loadNamespace(x) 7. └─base::library.dynam(lib, package, package.lib) 8. └─base::dyn.load(file, DLLpath = DLLpath, ...) 9. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) ── Error ('test_knn_sf.R:217:3'): Testing the knn function with a simple case and specific destinations ── Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/cppRouting/libs/x64/cppRouting.dll': LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Backtrace: ▆ 1. ├─spNetwork::network_knn(...) at test_knn_sf.R:217:3 2. │ └─base::lapply(...) 3. │ └─spNetwork (local) FUN(X[[i]], ...) 4. │ └─spNetwork:::network_knn_worker(...) 5. │ └─spNetwork::build_graph_cppr(...) 6. └─base::loadNamespace(x) 7. └─base::library.dynam(lib, package, package.lib) 8. └─base::dyn.load(file, DLLpath = DLLpath, ...) 9. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) ── Error ('test_knn_sf.R:296:3'): Testing the knn function with a simple case, specific destinations and directions ── Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/cppRouting/libs/x64/cppRouting.dll': LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Backtrace: ▆ 1. ├─spNetwork::network_knn(...) at test_knn_sf.R:296:3 2. │ └─base::lapply(...) 3. │ └─spNetwork (local) FUN(X[[i]], ...) 4. │ └─spNetwork:::network_knn_worker(...) 5. │ └─spNetwork::build_graph_cppr(...) 6. └─base::loadNamespace(x) 7. └─base::library.dynam(lib, package, package.lib) 8. └─base::dyn.load(file, DLLpath = DLLpath, ...) 9. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) ── Error ('test_knn_sf.R:377:3'): Testing the knn function with a simple case, specific destinations and directions ── Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/cppRouting/libs/x64/cppRouting.dll': LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Backtrace: ▆ 1. └─spNetwork::network_knn.mc(...) at test_knn_sf.R:377:3 2. └─future.apply::future_lapply(...) 3. └─future.apply:::future_xapply(...) 4. ├─base::withCallingHandlers(...) 5. └─(function() {... 6. ├─future::value(fs) 7. └─future:::value.list(fs) 8. ├─future::resolve(...) 9. └─future:::resolve.list(...) 10. └─future (local) signalConditionsASAP(obj, resignal = FALSE, pos = ii) 11. └─future:::signalConditions(...) [ FAIL 10 | WARN 1 | SKIP 5 | PASS 71 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [44s] OK * checking PDF version of manual ... [31s] OK * checking HTML version of manual ... [33s] OK * DONE Status: 1 ERROR, 1 NOTE