Running 'testthat.R' [180s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(CausalGPS)
  > 
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > test_check("CausalGPS")
  2022-12-29 06:54:33 CRANWIN 107752 CausalGPS log_system_info INFO:  System name: Windows, OS type: windows, machine architecture: x86, user: CRAN, R version 4.1.3 (2022-03-10), detected cores: 32
  2022-12-29 06:54:37 CRANWIN 107752 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 196) ... 
  2022-12-29 06:54:37 CRANWIN 107752 CausalGPS FUN WARN:  There is no data to match with  21.2300763979248 in  0.5  radius.
  2022-12-29 06:54:37 CRANWIN 107752 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 196)
  2022-12-29 06:54:40 CRANWIN 107752 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 100) ... 
  2022-12-29 06:54:40 CRANWIN 107752 CausalGPS FUN WARN:  There is no data to match with  -8.74760785492387 in  0.5  radius.
  2022-12-29 06:54:40 CRANWIN 107752 CausalGPS FUN WARN:  There is no data to match with  -7.74760785492387 in  0.5  radius.
  2022-12-29 06:54:40 CRANWIN 107752 CausalGPS FUN WARN:  There is no data to match with  -6.74760785492387 in  0.5  radius.
  2022-12-29 06:54:40 CRANWIN 107752 CausalGPS FUN WARN:  There is no data to match with  -5.74760785492387 in  0.5  radius.
  2022-12-29 06:54:40 CRANWIN 107752 CausalGPS FUN WARN:  There is no data to match with  -4.74760785492387 in  0.5  radius.
  2022-12-29 06:54:40 CRANWIN 107752 CausalGPS FUN WARN:  There is no data to match with  -3.74760785492387 in  0.5  radius.
  2022-12-29 06:54:40 CRANWIN 107752 CausalGPS FUN WARN:  There is no data to match with  21.2523921450761 in  0.5  radius.
  2022-12-29 06:54:40 CRANWIN 107752 CausalGPS FUN WARN:  There is no data to match with  22.2523921450761 in  0.5  radius.
  2022-12-29 06:54:40 CRANWIN 107752 CausalGPS FUN WARN:  There is no data to match with  23.2523921450761 in  0.5  radius.
  2022-12-29 06:54:41 CRANWIN 107752 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 100)
  2022-12-29 06:54:41 CRANWIN 107752 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 1000) ... 
  2022-12-29 06:54:41 CRANWIN 107752 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 1000)
  2022-12-29 06:54:41 CRANWIN 107752 CausalGPS log_system_info INFO:  System name: Windows, OS type: windows, machine architecture: x86, user: CRAN, R version 4.1.3 (2022-03-10), detected cores: 32
  2022-12-29 06:54:59 CRANWIN 107752 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 98) ... 
  2022-12-29 06:55:00 CRANWIN 107752 CausalGPS FUN WARN:  There is no data to match with  17.0145640770203 in  0.5  radius.
  2022-12-29 06:55:00 CRANWIN 107752 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 2058)
  2022-12-29 06:55:03 CRANWIN 107752 CausalGPS estimate_gps WARN:  Vector w has 1 missing values.
  2022-12-29 06:55:03 CRANWIN 107752 CausalGPS log_system_info INFO:  System name: Windows, OS type: windows, machine architecture: x86, user: CRAN, R version 4.1.3 (2022-03-10), detected cores: 32
  2022-12-29 06:55:32 CRANWIN 107752 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 196) ... 
  2022-12-29 06:55:32 CRANWIN 107752 CausalGPS FUN WARN:  There is no data to match with  -1.26798024301974 in  0.5  radius.
  2022-12-29 06:55:32 CRANWIN 107752 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 4704)
  2022-12-29 06:57:03 CRANWIN 107752 CausalGPS estimate_npmetric_erf INFO:  The band width with the minimum risk value: 0.6.
  2022-12-29 06:57:06 CRANWIN 107752 CausalGPS log_system_info INFO:  System name: Windows, OS type: windows, machine architecture: x86, user: CRAN, R version 4.1.3 (2022-03-10), detected cores: 32
  2022-12-29 06:57:13 CRANWIN 107752 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 490) ... 
  2022-12-29 06:57:13 CRANWIN 107752 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 490)
  [ FAIL 2 | WARN 2 | SKIP 3 | PASS 157 ]
  
  == Skipped tests ===============================================================
  * earth cannot be loaded (3)
  
  == Failed tests ================================================================
  -- Error ('test-check_kolmogorov_smirnov.R:11'): check_kolmogorov_smirnov works as expected. --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-CausalGPS::generate_pseudo_pop(...) at test-check_kolmogorov_smirnov.R:11:2
    2. | \-CausalGPS:::check_kolmogorov_smirnov(...)
    3. |   \-base::lapply(...)
    4. |     \-CausalGPS (local) FUN(X[[i]], ...)
    5. \-base::loadNamespace(x)
    6.   +-base::namespaceImport(...)
    7.   \-base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
    8.     +-base::namespaceImport(...)
    9.     \-base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   10.       +-base::namespaceImportFrom(...)
   11.       | \-base::asNamespace(ns)
   12.       \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   13.         \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-generate_pseudo_pop.R:16'): generate_pseudo_pop works as expected. --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-CausalGPS::generate_pseudo_pop(...) at test-generate_pseudo_pop.R:16:2
    2. | \-CausalGPS:::check_kolmogorov_smirnov(...)
    3. |   \-base::lapply(...)
    4. |     \-CausalGPS (local) FUN(X[[i]], ...)
    5. \-base::loadNamespace(x)
    6.   +-base::namespaceImport(...)
    7.   \-base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
    8.     +-base::namespaceImport(...)
    9.     \-base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   10.       +-base::namespaceImportFrom(...)
   11.       | \-base::asNamespace(ns)
   12.       \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   13.         \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 2 | WARN 2 | SKIP 3 | PASS 157 ]
  Error: Test failures
  Execution halted