Running 'testthat.R' [138s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-25 08:33:01.199294 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-25 08:33:07.024539 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-25 08:33:11.937008 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-25 08:33:20.064465 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:33:25.342083 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:33:31.009512 CRANWIN3 60212 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=44352 on localhost:11114 at 08:33:31.289
  2025-12-25 08:33:33.847124 CRANWIN3 60212 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.84 s.
  2025-12-25 08:33:33.892778 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:33:39.233466 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:33:44.455128 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-25 08:33:49.202268 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:33:54.554352 CRANWIN3 60212 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-25 08:33:58.291519 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:34:02.531434 CRANWIN3 60212 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-25 08:34:02.546589 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:34:07.476551 CRANWIN3 60212 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-25 08:34:07.489989 CRANWIN3 60212 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-25 08:34:07.503764 CRANWIN3 60212 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-25 08:34:07.517425 CRANWIN3 60212 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-25 08:34:07.530628 CRANWIN3 60212 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-25 08:34:07.544543 CRANWIN3 60212 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-25 08:34:07.557938 CRANWIN3 60212 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-25 08:34:07.572853 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:34:12.581795 CRANWIN3 60212 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=5404 on localhost:11114 at 08:34:12.822
  starting worker pid=57236 on localhost:11114 at 08:34:12.822
  2025-12-25 08:34:19.355519 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:34:24.377593 CRANWIN3 60212 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-25 08:34:24.37955 CRANWIN3 60212 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-25 08:34:24.382322 CRANWIN3 60212 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=9780 on localhost:11114 at 08:34:24.588
  2025-12-25 08:34:27.155695 CRANWIN3 60212 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 2.77 s.} ... 
  2025-12-25 08:34:27.158647 CRANWIN3 60212 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=55060 on localhost:11114 at 08:34:27.424
  2025-12-25 08:34:30.117091 CRANWIN3 60212 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.97 s.
  2025-12-25 08:34:30.11991 CRANWIN3 60212 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=59088 on localhost:11114 at 08:34:30.369
  2025-12-25 08:34:33.554232 CRANWIN3 60212 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.43000000000001 s.
  2025-12-25 08:34:33.556535 CRANWIN3 60212 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.17 s.
  2025-12-25 08:34:33.560453 CRANWIN3 60212 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-25 08:34:33.562647 CRANWIN3 60212 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-25 08:34:33.573921 CRANWIN3 60212 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-25 08:34:33.576141 CRANWIN3 60212 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-25 08:34:33.605175 CRANWIN3 60212 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-25 08:34:33.607311 CRANWIN3 60212 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-25 08:34:33.617287 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:34:38.044012 CRANWIN3 60212 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-25 08:34:38.047219 CRANWIN3 60212 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-25 08:34:38.061077 CRANWIN3 60212 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-25 08:34:38.064136 CRANWIN3 60212 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-25 08:34:38.099569 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-25 08:34:43.338492 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:34:48.860389 CRANWIN3 60212 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=50872 on localhost:11114 at 08:34:49.116
  2025-12-25 08:34:51.657825 CRANWIN3 60212 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.8 s.
  2025-12-25 08:34:51.660725 CRANWIN3 60212 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=94728 on localhost:11114 at 08:34:51.933
  2025-12-25 08:34:54.640841 CRANWIN3 60212 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 2.98 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-25 08:34:54.70722 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:34:58.978188 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:35:04.271481 CRANWIN3 60212 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=36152 on localhost:11114 at 08:35:04.499
  2025-12-25 08:35:06.926677 CRANWIN3 60212 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.64999999999999 s.
  2025-12-25 08:35:06.960321 CRANWIN3 60212 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 08:35:12.28961 CRANWIN3 60212 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=92136 on localhost:11114 at 08:35:12.558
  2025-12-25 08:35:15.800009 CRANWIN3 60212 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