Running 'testthat.R' [138s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-27 06:49:31.307111 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-27 06:49:36.558317 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-27 06:49:41.72513 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-27 06:49:49.89894 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:49:55.615726 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:50:00.895328 CRANWIN3 71168 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=60368 on localhost:11414 at 06:50:01.155
  2025-12-27 06:50:03.708429 CRANWIN3 71168 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.82 s.
  2025-12-27 06:50:03.753803 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:50:09.432486 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:50:15.037076 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-27 06:50:20.488136 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:50:25.769128 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:50:29.493245 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:50:33.472359 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:50:33.491045 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:50:38.337484 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:50:38.348021 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:50:38.358031 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:50:38.36811 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:50:38.378037 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:50:38.387848 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:50:38.397293 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:50:38.408281 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:50:43.61634 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  starting worker pid=41508 on localhost:11414 at 06:50:43.884
  starting worker pid=60244 on localhost:11414 at 06:50:43.916
  2025-12-27 06:50:50.639274 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:50:55.658093 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:50:55.661267 CRANWIN3 71168 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 06:50:55.666224 CRANWIN3 71168 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=92148 on localhost:11414 at 06:50:55.910
  2025-12-27 06:50:58.537636 CRANWIN3 71168 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 2.88 s.} ... 
  2025-12-27 06:50:58.541003 CRANWIN3 71168 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=77732 on localhost:11414 at 06:50:58.768
  2025-12-27 06:51:01.335015 CRANWIN3 71168 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.79000000000001 s.
  2025-12-27 06:51:01.337811 CRANWIN3 71168 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=14900 on localhost:11414 at 06:51:01.571
  2025-12-27 06:51:04.981028 CRANWIN3 71168 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.64 s.
  2025-12-27 06:51:04.983815 CRANWIN3 71168 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.31 s.
  2025-12-27 06:51:04.988723 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:51:04.991421 CRANWIN3 71168 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 06:51:05.004149 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:51:05.006174 CRANWIN3 71168 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 06:51:05.036672 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:51:05.039361 CRANWIN3 71168 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 06:51:05.051682 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:51:08.757285 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:51:08.759655 CRANWIN3 71168 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 06:51:08.769941 CRANWIN3 71168 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.5.2 (2025-10-31 ucrt), detected cores: 96
  2025-12-27 06:51:08.772257 CRANWIN3 71168 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 06:51:08.802003 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-27 06:51:13.677893 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:51:18.908004 CRANWIN3 71168 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=57500 on localhost:11414 at 06:51:19.194
  2025-12-27 06:51:21.610269 CRANWIN3 71168 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.69 s.
  2025-12-27 06:51:21.612873 CRANWIN3 71168 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=54736 on localhost:11414 at 06:51:21.889
  2025-12-27 06:51:24.639231 CRANWIN3 71168 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.02000000000001 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-27 06:51:24.694535 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:51:29.092798 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:51:34.326803 CRANWIN3 71168 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=96016 on localhost:11414 at 06:51:34.591
  2025-12-27 06:51:37.129333 CRANWIN3 71168 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.81 s.
  2025-12-27 06:51:37.159402 CRANWIN3 71168 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 06:51:42.123853 CRANWIN3 71168 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=78912 on localhost:11414 at 06:51:42.378
  2025-12-27 06:51:45.620311 CRANWIN3 71168 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.5 s.} ... 
  [ FAIL 6 | WARN 2 | SKIP 0 | PASS 101 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-compute_deriv_nn.R:21:3'): compute_deriv_nn works as expected! ──
  Expected `deriv_val[1, 1]` to equal 1.558466.
  Differences:
    `actual`: -1.0
  `expected`:  1.6
  
  ── Failure ('test-compute_deriv_weights_gp.R:17:3'): compute_deriv_weights_gp works as expected! ──
  Expected `weights[37]` to equal 3.307249e-05.
  Differences:
    `actual`: -0.00011
  `expected`:  0.00003
  
  ── Failure ('test-compute_m_sigma.R:32:4'): compute_m_sigma works as expected! ──
  Expected `gp_cerf[10]` to equal 2.105425.
  Differences:
    `actual`: -6.1
  `expected`:  2.1
  
  ── Failure ('test-compute_weight_gp.R:49:3'): multiplication works ─────────────
  Expected `weight$weight[28]` to equal 0.0002182767.
  Differences:
    `actual`: 0.00000
  `expected`: 0.00022
  
  ── Failure ('test-estimate_gps.R:15:3'): estimate_gps works as expected. ───────
  Expected `gps_m$gps[4, 1]` to equal 8.74310154.
  Differences:
    `actual`: 7.3
  `expected`: 8.7
  
  ── Failure ('test-estimate_mean_sd_nn.R:37:3'): estimate_mean_sd_nn works as expected! ──
  Expected `val[10]` to equal 5.031225.
  Differences:
    `actual`: 5.067
  `expected`: 5.031
  
  
  [ FAIL 6 | WARN 2 | SKIP 0 | PASS 101 ]
  Error:
  ! Test failures.
  Execution halted