Running 'testthat.R' [138s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-28 08:07:14.983295 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-28 08:07:20.761603 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-28 08:07:26.256556 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-28 08:07:34.62888 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:07:40.061649 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:07:45.520758 CRANWIN3 68404 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=57576 on localhost:11962 at 08:07:45.797
  2025-12-28 08:07:48.273229 CRANWIN3 68404 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.75 s.
  2025-12-28 08:07:48.30742 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:07:53.609794 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:07:58.723841 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-28 08:08:04.001682 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:08:09.158044 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:12.430488 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:08:16.4253 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:16.442885 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:08:21.85535 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:21.863912 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:21.872194 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:21.884614 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:21.896352 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:21.908764 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:21.921765 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:21.939867 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:08:26.679342 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  starting worker pid=98488 on localhost:11962 at 08:08:26.914
  starting worker pid=74240 on localhost:11962 at 08:08:26.951
  2025-12-28 08:08:33.251411 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:08:38.451837 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:38.454274 CRANWIN3 68404 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-28 08:08:38.457405 CRANWIN3 68404 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=42448 on localhost:11962 at 08:08:38.678
  2025-12-28 08:08:41.530292 CRANWIN3 68404 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.06 s.} ... 
  2025-12-28 08:08:41.533111 CRANWIN3 68404 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=75936 on localhost:11962 at 08:08:41.804
  2025-12-28 08:08:44.169725 CRANWIN3 68404 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.64 s.
  2025-12-28 08:08:44.171978 CRANWIN3 68404 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=18388 on localhost:11962 at 08:08:44.433
  2025-12-28 08:08:47.46496 CRANWIN3 68404 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.28999999999999 s.
  2025-12-28 08:08:47.46755 CRANWIN3 68404 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.00999999999999 s.
  2025-12-28 08:08:47.472283 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:47.474993 CRANWIN3 68404 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-28 08:08:47.488424 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:47.491324 CRANWIN3 68404 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-28 08:08:47.525316 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:47.528052 CRANWIN3 68404 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-28 08:08:47.538139 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:08:51.739838 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:51.742298 CRANWIN3 68404 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-28 08:08:51.752914 CRANWIN3 68404 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2025-12-27 r89248 ucrt), detected cores: 96
  2025-12-28 08:08:51.7552 CRANWIN3 68404 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-28 08:08:51.785591 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-28 08:08:57.012718 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:09:02.290384 CRANWIN3 68404 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=106096 on localhost:11962 at 08:09:02.538
  2025-12-28 08:09:05.114394 CRANWIN3 68404 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.83 s.
  2025-12-28 08:09:05.11712 CRANWIN3 68404 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=88036 on localhost:11962 at 08:09:05.400
  2025-12-28 08:09:08.255834 CRANWIN3 68404 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.14 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-28 08:09:08.303428 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:09:12.520372 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:09:17.735925 CRANWIN3 68404 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=87524 on localhost:11962 at 08:09:17.949
  2025-12-28 08:09:20.30537 CRANWIN3 68404 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.58 s.
  2025-12-28 08:09:20.33904 CRANWIN3 68404 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 08:09:25.637269 CRANWIN3 68404 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=16280 on localhost:11962 at 08:09:25.880
  2025-12-28 08:09:29.107894 CRANWIN3 68404 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.46000000000001 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