Running 'testthat.R' [136s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-23 07:43:14.359744 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-23 07:43:20.103459 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-23 07:43:25.167228 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-23 07:43:33.503365 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:43:38.879309 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:43:44.062544 CRANWIN3 94520 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=89532 on localhost:11158 at 07:43:44.306
  2025-12-23 07:43:46.640411 CRANWIN3 94520 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.57 s.
  2025-12-23 07:43:46.690621 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:43:51.601896 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:43:56.74521 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-23 07:44:01.774733 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:44:06.697567 CRANWIN3 94520 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-23 07:44:10.226652 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:44:14.082476 CRANWIN3 94520 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-23 07:44:14.09877 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:44:19.553501 CRANWIN3 94520 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-23 07:44:19.564809 CRANWIN3 94520 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-23 07:44:19.575163 CRANWIN3 94520 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-23 07:44:19.584404 CRANWIN3 94520 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-23 07:44:19.595093 CRANWIN3 94520 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-23 07:44:19.605888 CRANWIN3 94520 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-23 07:44:19.615636 CRANWIN3 94520 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-23 07:44:19.626997 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:44:24.801058 CRANWIN3 94520 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=55836 on localhost:11158 at 07:44:25.001
  starting worker pid=26208 on localhost:11158 at 07:44:25.030
  2025-12-23 07:44:31.423736 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:44:36.630664 CRANWIN3 94520 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-23 07:44:36.633874 CRANWIN3 94520 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-23 07:44:36.638732 CRANWIN3 94520 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=34812 on localhost:11158 at 07:44:36.880
  2025-12-23 07:44:39.324754 CRANWIN3 94520 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 2.67999999999999 s.} ... 
  2025-12-23 07:44:39.327282 CRANWIN3 94520 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=38704 on localhost:11158 at 07:44:39.557
  2025-12-23 07:44:41.915087 CRANWIN3 94520 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.58 s.
  2025-12-23 07:44:41.917936 CRANWIN3 94520 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=16412 on localhost:11158 at 07:44:42.193
  2025-12-23 07:44:45.410438 CRANWIN3 94520 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.5 s.
  2025-12-23 07:44:45.413269 CRANWIN3 94520 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 8.78 s.
  2025-12-23 07:44:45.418901 CRANWIN3 94520 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-23 07:44:45.422757 CRANWIN3 94520 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-23 07:44:45.435693 CRANWIN3 94520 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-23 07:44:45.437996 CRANWIN3 94520 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-23 07:44:45.471109 CRANWIN3 94520 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-23 07:44:45.473312 CRANWIN3 94520 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-23 07:44:45.482181 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:44:49.73791 CRANWIN3 94520 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-23 07:44:49.740339 CRANWIN3 94520 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-23 07:44:49.750846 CRANWIN3 94520 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-23 07:44:49.753169 CRANWIN3 94520 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-23 07:44:49.784656 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-23 07:44:54.970807 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:45:00.521952 CRANWIN3 94520 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=57676 on localhost:11158 at 07:45:00.757
  2025-12-23 07:45:03.29064 CRANWIN3 94520 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.75999999999999 s.
  2025-12-23 07:45:03.292875 CRANWIN3 94520 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=79836 on localhost:11158 at 07:45:03.493
  2025-12-23 07:45:06.354683 CRANWIN3 94520 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.07000000000001 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-23 07:45:06.415181 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:45:10.479142 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:45:15.274752 CRANWIN3 94520 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=23252 on localhost:11158 at 07:45:15.548
  2025-12-23 07:45:18.187099 CRANWIN3 94520 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.89999999999999 s.
  2025-12-23 07:45:18.218886 CRANWIN3 94520 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 07:45:23.572227 CRANWIN3 94520 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=96612 on localhost:11158 at 07:45:23.850
  2025-12-23 07:45:26.988348 CRANWIN3 94520 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.41999999999999 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