Running 'testthat.R' [215s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-22 08:23:06.566256 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-22 08:23:15.492899 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-22 08:23:24.554266 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-22 08:23:37.301504 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:23:45.428706 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:23:54.316382 CRANWIN2 69140 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=22608 on localhost:11192 at 08:23:54.684
  2025-12-22 08:23:58.11715 CRANWIN2 69140 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.8 s.
  2025-12-22 08:23:58.176058 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:24:06.31885 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:24:14.580268 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-22 08:24:23.171613 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:24:31.542141 CRANWIN2 69140 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
  2025-12-22 08:24:36.710869 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:24:43.632171 CRANWIN2 69140 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
  2025-12-22 08:24:43.653814 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:24:52.340591 CRANWIN2 69140 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
  2025-12-22 08:24:52.356692 CRANWIN2 69140 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
  2025-12-22 08:24:52.373263 CRANWIN2 69140 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
  2025-12-22 08:24:52.389605 CRANWIN2 69140 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
  2025-12-22 08:24:52.406278 CRANWIN2 69140 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
  2025-12-22 08:24:52.42446 CRANWIN2 69140 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
  2025-12-22 08:24:52.443867 CRANWIN2 69140 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
  2025-12-22 08:24:52.463597 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:25:01.123821 CRANWIN2 69140 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=28184 on localhost:11192 at 08:25:01.391
  starting worker pid=61484 on localhost:11192 at 08:25:01.450
  2025-12-22 08:25:10.528568 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:25:18.755773 CRANWIN2 69140 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
  2025-12-22 08:25:18.759444 CRANWIN2 69140 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-22 08:25:18.829491 CRANWIN2 69140 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=72436 on localhost:11192 at 08:25:19.163
  2025-12-22 08:25:23.016778 CRANWIN2 69140 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.18000000000001 s.} ... 
  2025-12-22 08:25:23.019182 CRANWIN2 69140 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=43040 on localhost:11192 at 08:25:23.364
  2025-12-22 08:25:26.693001 CRANWIN2 69140 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.67999999999998 s.
  2025-12-22 08:25:26.696422 CRANWIN2 69140 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=95980 on localhost:11192 at 08:25:27.063
  2025-12-22 08:25:32.009623 CRANWIN2 69140 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.31 s.
  2025-12-22 08:25:32.013346 CRANWIN2 69140 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 13.26 s.
  2025-12-22 08:25:32.020252 CRANWIN2 69140 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
  2025-12-22 08:25:32.024354 CRANWIN2 69140 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-22 08:25:32.045002 CRANWIN2 69140 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
  2025-12-22 08:25:32.049625 CRANWIN2 69140 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-22 08:25:32.101883 CRANWIN2 69140 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
  2025-12-22 08:25:32.10544 CRANWIN2 69140 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-22 08:25:32.123366 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:25:39.41773 CRANWIN2 69140 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
  2025-12-22 08:25:39.421272 CRANWIN2 69140 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-22 08:25:39.437877 CRANWIN2 69140 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
  2025-12-22 08:25:39.441279 CRANWIN2 69140 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-22 08:25:39.490986 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-22 08:25:47.649425 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:25:56.010984 CRANWIN2 69140 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=26248 on localhost:11192 at 08:25:56.372
  2025-12-22 08:26:00.408037 CRANWIN2 69140 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.40000000000001 s.
  2025-12-22 08:26:00.411704 CRANWIN2 69140 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=45600 on localhost:11192 at 08:26:00.795
  2025-12-22 08:26:04.888087 CRANWIN2 69140 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.47999999999999 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-22 08:26:04.991636 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:26:11.890476 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:26:19.529144 CRANWIN2 69140 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=106376 on localhost:11192 at 08:26:19.857
  2025-12-22 08:26:23.395842 CRANWIN2 69140 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.86000000000001 s.
  2025-12-22 08:26:23.436473 CRANWIN2 69140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 08:26:31.387043 CRANWIN2 69140 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=18964 on localhost:11192 at 08:26:31.748
  2025-12-22 08:26:36.331655 CRANWIN2 69140 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.94 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