Running 'testthat.R' [146s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-07 09:21:17.114046 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-07 09:21:22.963045 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-07 09:21:28.917937 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-07 09:21:37.906501 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:21:43.295393 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:21:48.5217 CRANWIN3 31972 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=27524 on localhost:11772 at 09:21:48.807
  2026-01-07 09:21:51.492925 CRANWIN3 31972 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.97000000000001 s.
  2026-01-07 09:21:51.572678 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:21:57.483563 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:22:03.252271 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-07 09:22:09.361009 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:22:14.96016 CRANWIN3 31972 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
  2026-01-07 09:22:18.549809 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:22:23.108796 CRANWIN3 31972 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
  2026-01-07 09:22:23.122847 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:22:28.440489 CRANWIN3 31972 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
  2026-01-07 09:22:28.452898 CRANWIN3 31972 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
  2026-01-07 09:22:28.461225 CRANWIN3 31972 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
  2026-01-07 09:22:28.471676 CRANWIN3 31972 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
  2026-01-07 09:22:28.480077 CRANWIN3 31972 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
  2026-01-07 09:22:28.489696 CRANWIN3 31972 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
  2026-01-07 09:22:28.500732 CRANWIN3 31972 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
  2026-01-07 09:22:28.516936 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:22:33.534709 CRANWIN3 31972 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=82400 on localhost:11772 at 09:22:33.801
  starting worker pid=33968 on localhost:11772 at 09:22:33.852
  2026-01-07 09:22:40.92937 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:22:46.552524 CRANWIN3 31972 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
  2026-01-07 09:22:46.555454 CRANWIN3 31972 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 09:22:46.559623 CRANWIN3 31972 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=99404 on localhost:11772 at 09:22:46.820
  2026-01-07 09:22:49.623891 CRANWIN3 31972 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.05999999999999 s.} ... 
  2026-01-07 09:22:49.626153 CRANWIN3 31972 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=105556 on localhost:11772 at 09:22:49.878
  2026-01-07 09:22:52.388816 CRANWIN3 31972 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.75 s.
  2026-01-07 09:22:52.391919 CRANWIN3 31972 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=76496 on localhost:11772 at 09:22:52.702
  2026-01-07 09:22:56.076346 CRANWIN3 31972 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.68000000000001 s.
  2026-01-07 09:22:56.079143 CRANWIN3 31972 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.53 s.
  2026-01-07 09:22:56.083799 CRANWIN3 31972 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
  2026-01-07 09:22:56.086699 CRANWIN3 31972 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 09:22:56.099104 CRANWIN3 31972 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
  2026-01-07 09:22:56.101404 CRANWIN3 31972 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 09:22:56.143046 CRANWIN3 31972 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
  2026-01-07 09:22:56.145554 CRANWIN3 31972 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 09:22:56.157861 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:23:00.46251 CRANWIN3 31972 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
  2026-01-07 09:23:00.465065 CRANWIN3 31972 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 09:23:00.476378 CRANWIN3 31972 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
  2026-01-07 09:23:00.479095 CRANWIN3 31972 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 09:23:00.517118 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-07 09:23:05.955452 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:23:11.266958 CRANWIN3 31972 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=107288 on localhost:11772 at 09:23:11.526
  2026-01-07 09:23:14.0467 CRANWIN3 31972 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.78 s.
  2026-01-07 09:23:14.049096 CRANWIN3 31972 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=27816 on localhost:11772 at 09:23:14.321
  2026-01-07 09:23:17.215913 CRANWIN3 31972 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.16 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-07 09:23:17.269341 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:23:21.954476 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:23:27.52312 CRANWIN3 31972 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=57564 on localhost:11772 at 09:23:27.794
  2026-01-07 09:23:30.289776 CRANWIN3 31972 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.77000000000001 s.
  2026-01-07 09:23:30.317935 CRANWIN3 31972 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:23:35.670567 CRANWIN3 31972 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=87672 on localhost:11772 at 09:23:35.908
  2026-01-07 09:23:39.186142 CRANWIN3 31972 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