Running 'testthat.R' [227s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(CausalGPS)
  > 
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > test_check("CausalGPS")
  2023-01-24 05:49:47 CRANWIN 99848 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
  2023-01-24 05:49:50 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 196) ... 
  2023-01-24 05:49:50 CRANWIN 99848 CausalGPS FUN WARN:  There is no data to match with  21.2300763979248 in  0.5  radius.
  2023-01-24 05:49:51 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 196)
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 100) ... 
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS FUN WARN:  There is no data to match with  -8.74760785492387 in  0.5  radius.
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS FUN WARN:  There is no data to match with  -7.74760785492387 in  0.5  radius.
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS FUN WARN:  There is no data to match with  -6.74760785492387 in  0.5  radius.
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS FUN WARN:  There is no data to match with  -5.74760785492387 in  0.5  radius.
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS FUN WARN:  There is no data to match with  -4.74760785492387 in  0.5  radius.
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS FUN WARN:  There is no data to match with  -3.74760785492387 in  0.5  radius.
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS FUN WARN:  There is no data to match with  21.2523921450761 in  0.5  radius.
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS FUN WARN:  There is no data to match with  22.2523921450761 in  0.5  radius.
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS FUN WARN:  There is no data to match with  23.2523921450761 in  0.5  radius.
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 100)
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 1000) ... 
  2023-01-24 05:49:55 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 1000)
  2023-01-24 05:49:56 CRANWIN 99848 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
  2023-01-24 05:50:14 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 98) ... 
  2023-01-24 05:50:14 CRANWIN 99848 CausalGPS FUN WARN:  There is no data to match with  17.0145640770203 in  0.5  radius.
  2023-01-24 05:50:14 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 2058)
  2023-01-24 05:50:17 CRANWIN 99848 CausalGPS estimate_gps WARN:  Vector w has 1 missing values.
  2023-01-24 05:50:17 CRANWIN 99848 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
  2023-01-24 05:50:44 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 196) ... 
  2023-01-24 05:50:44 CRANWIN 99848 CausalGPS FUN WARN:  There is no data to match with  -1.26798024301974 in  0.5  radius.
  2023-01-24 05:50:45 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 4704)
  2023-01-24 05:52:16 CRANWIN 99848 CausalGPS estimate_npmetric_erf INFO:  The band width with the minimum risk value: 0.6.
  2023-01-24 05:52:18 CRANWIN 99848 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
  2023-01-24 05:52:26 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 490) ... 
  2023-01-24 05:52:26 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 490)
  2023-01-24 05:52:26 CRANWIN 99848 CausalGPS generate_pseudo_pop WARN:  Effective sample size is less than recommended.Current: 26.1426863179163, recommended min value: 49.
  2023-01-24 05:52:27 CRANWIN 99848 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
  2023-01-24 05:52:31 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:52:31 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:52:31 CRANWIN 99848 CausalGPS generate_pseudo_pop WARN:  Effective sample size is less than recommended.Current: 20.5023661048217, recommended min value: 46.
  2023-01-24 05:52:31 CRANWIN 99848 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
  2023-01-24 05:52:31 CRANWIN 99848 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
  2023-01-24 05:52:31 CRANWIN 99848 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
  2023-01-24 05:52:31 CRANWIN 99848 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
  2023-01-24 05:52:31 CRANWIN 99848 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
  2023-01-24 05:52:31 CRANWIN 99848 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
  2023-01-24 05:52:31 CRANWIN 99848 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
  2023-01-24 05:52:31 CRANWIN 99848 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
  2023-01-24 05:52:31 CRANWIN 99848 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
  2023-01-24 05:52:31 CRANWIN 99848 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
  2023-01-24 05:52:35 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:52:35 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:52:35 CRANWIN 99848 CausalGPS generate_pseudo_pop WARN:  Effective sample size is less than recommended.Current: 3.24085816396445, recommended min value: 46.
  2023-01-24 05:52:35 CRANWIN 99848 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
  2023-01-24 05:52:39 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:52:40 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:52:44 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:52:44 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:52:48 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:52:48 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:52:52 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:52:53 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:52:53 CRANWIN 99848 CausalGPS generate_pseudo_pop WARN:  Effective sample size is less than recommended.Current: 20.5161021345085, recommended min value: 46.
  2023-01-24 05:52:53 CRANWIN 99848 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
  2023-01-24 05:52:55 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:52:56 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:52:58 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:53:00 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:53:03 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:53:03 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:53:06 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:53:06 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:53:09 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:53:09 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:53:12 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:53:12 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:53:14 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Starting compiling pseudo population  (original data size: 460) ... 
  2023-01-24 05:53:15 CRANWIN 99848 CausalGPS compile_pseudo_pop INFO:  Finished compiling pseudo population  (Pseudo population data size: 460)
  2023-01-24 05:53:15 CRANWIN 99848 CausalGPS generate_pseudo_pop WARN:  Effective sample size is less than recommended.Current: 22.7748385392029, recommended min value: 46.
  [ FAIL 0 | WARN 24 | SKIP 3 | PASS 204 ]
  
  == Skipped tests ===============================================================
  * earth cannot be loaded (3)
  
  [ FAIL 0 | WARN 24 | SKIP 3 | PASS 204 ]
  > 
  > proc.time()
     user  system elapsed 
   121.00    8.03  226.49