Running 'testthat.R' [206s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-05 16:57:23.62878 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-05 16:57:32.82465 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-05 16:57:41.360011 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-05 16:57:52.975546 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 16:58:01.455334 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 16:58:09.93103 CRANWIN2 50564 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=26956 on localhost:11044 at 16:58:10.276
  2026-01-05 16:58:13.740134 CRANWIN2 50564 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.81 s.
  2026-01-05 16:58:13.806471 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 16:58:21.393564 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 16:58:29.374142 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-05 16:58:37.271728 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 16:58:44.88705 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:58:49.915431 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 16:58:56.499752 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:58:56.512752 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 16:59:04.740577 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:04.756815 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:04.773356 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:04.791154 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:04.808977 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:04.826021 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:04.843517 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:04.857898 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 16:59:13.496917 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  starting worker pid=80984 on localhost:11044 at 16:59:13.810
  starting worker pid=84680 on localhost:11044 at 16:59:13.889
  2026-01-05 16:59:23.145014 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 16:59:31.432715 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:31.43565 CRANWIN2 50564 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 16:59:31.440607 CRANWIN2 50564 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=11840 on localhost:11044 at 16:59:31.767
  2026-01-05 16:59:35.084238 CRANWIN2 50564 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.64000000000001 s.} ... 
  2026-01-05 16:59:35.08664 CRANWIN2 50564 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=21596 on localhost:11044 at 16:59:35.437
  2026-01-05 16:59:38.869814 CRANWIN2 50564 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.78 s.
  2026-01-05 16:59:38.872782 CRANWIN2 50564 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=61816 on localhost:11044 at 16:59:39.139
  2026-01-05 16:59:43.150226 CRANWIN2 50564 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.28 s.
  2026-01-05 16:59:43.15355 CRANWIN2 50564 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 11.71 s.
  2026-01-05 16:59:43.16102 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:43.165756 CRANWIN2 50564 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 16:59:43.184282 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:43.18671 CRANWIN2 50564 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 16:59:43.224996 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:43.229204 CRANWIN2 50564 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 16:59:43.245437 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 16:59:50.067591 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:50.07189 CRANWIN2 50564 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 16:59:50.091592 CRANWIN2 50564 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R version 4.4.3 (2025-02-28 ucrt), detected cores: 56
  2026-01-05 16:59:50.096234 CRANWIN2 50564 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 16:59:50.145882 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-05 16:59:57.978731 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:00:05.671469 CRANWIN2 50564 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=40176 on localhost:11044 at 17:00:05.955
  2026-01-05 17:00:09.651378 CRANWIN2 50564 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.96000000000001 s.
  2026-01-05 17:00:09.654629 CRANWIN2 50564 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=111168 on localhost:11044 at 17:00:10.016
  2026-01-05 17:00:14.191393 CRANWIN2 50564 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.54999999999998 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-05 17:00:14.24468 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:00:20.969078 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:00:28.496578 CRANWIN2 50564 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=104596 on localhost:11044 at 17:00:28.779
  2026-01-05 17:00:32.33652 CRANWIN2 50564 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.84 s.
  2026-01-05 17:00:32.373872 CRANWIN2 50564 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:00:40.090548 CRANWIN2 50564 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=66204 on localhost:11044 at 17:00:40.410
  2026-01-05 17:00:44.82498 CRANWIN2 50564 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.72 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