Running 'testthat.R' [140s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-24 08:23:44.583427 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-24 08:23:50.820481 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-24 08:23:56.062171 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-24 08:24:04.752172 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:24:09.930307 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:24:15.496121 CRANWIN3 44776 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=48452 on localhost:11262 at 08:24:15.783
  2025-12-24 08:24:18.530537 CRANWIN3 44776 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.05 s.
  2025-12-24 08:24:18.580364 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:24:23.505547 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:24:28.677678 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-24 08:24:34.192495 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:24:39.507793 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:24:43.075487 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:24:47.013037 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:24:47.023463 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:24:52.121191 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:24:52.132376 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:24:52.142998 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:24:52.153199 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:24:52.166621 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:24:52.179973 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:24:52.194741 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:24:52.210753 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:24:57.532299 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  starting worker pid=78984 on localhost:11262 at 08:24:57.766
  starting worker pid=95900 on localhost:11262 at 08:24:57.804
  2025-12-24 08:25:04.424629 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:25:09.56279 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:25:09.565193 CRANWIN3 44776 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 08:25:09.568697 CRANWIN3 44776 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=42840 on localhost:11262 at 08:25:09.832
  2025-12-24 08:25:12.558002 CRANWIN3 44776 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 2.98 s.} ... 
  2025-12-24 08:25:12.560803 CRANWIN3 44776 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=70424 on localhost:11262 at 08:25:12.836
  2025-12-24 08:25:15.478562 CRANWIN3 44776 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.91999999999999 s.
  2025-12-24 08:25:15.481582 CRANWIN3 44776 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=17620 on localhost:11262 at 08:25:15.771
  2025-12-24 08:25:18.956897 CRANWIN3 44776 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.49000000000001 s.
  2025-12-24 08:25:18.959045 CRANWIN3 44776 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.39 s.
  2025-12-24 08:25:18.963453 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:25:18.966202 CRANWIN3 44776 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 08:25:18.97874 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:25:18.981094 CRANWIN3 44776 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 08:25:19.012048 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:25:19.015071 CRANWIN3 44776 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 08:25:19.027186 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:25:23.173699 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:25:23.176459 CRANWIN3 44776 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 08:25:23.187347 CRANWIN3 44776 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-23 r89222 ucrt), detected cores: 96
  2025-12-24 08:25:23.189904 CRANWIN3 44776 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 08:25:23.219818 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-24 08:25:28.593264 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:25:33.897099 CRANWIN3 44776 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=28788 on localhost:11262 at 08:25:34.153
  2025-12-24 08:25:36.741491 CRANWIN3 44776 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.84 s.
  2025-12-24 08:25:36.744003 CRANWIN3 44776 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=57056 on localhost:11262 at 08:25:37.016
  2025-12-24 08:25:39.782975 CRANWIN3 44776 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.03 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-24 08:25:39.841782 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:25:44.251334 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:25:49.646608 CRANWIN3 44776 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=48944 on localhost:11262 at 08:25:49.904
  2025-12-24 08:25:52.504922 CRANWIN3 44776 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.84 s.
  2025-12-24 08:25:52.539693 CRANWIN3 44776 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 08:25:57.664612 CRANWIN3 44776 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=21756 on localhost:11262 at 08:25:57.917
  2025-12-24 08:26:01.239586 CRANWIN3 44776 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.56 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