Running 'testthat.R' [142s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-09 08:51:11.554661 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-09 08:51:17.595399 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-09 08:51:22.974199 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-09 08:51:31.719767 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:51:36.973441 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:51:42.308105 CRANWIN3 18420 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=59688 on localhost:11752 at 08:51:42.602
  2026-01-09 08:51:45.312082 CRANWIN3 18420 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.02 s.
  2026-01-09 08:51:45.361319 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:51:50.682248 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:51:56.31883 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-09 08:52:01.952698 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:52:06.974693 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:10.320436 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:52:14.849502 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:14.864144 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:52:19.934876 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:19.950705 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:19.965118 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:19.980581 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:19.992545 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:20.003711 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:20.011906 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:20.020799 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:52:25.251003 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  starting worker pid=79568 on localhost:11752 at 08:52:25.467
  starting worker pid=42964 on localhost:11752 at 08:52:25.482
  2026-01-09 08:52:32.333428 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:52:37.654008 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:37.657777 CRANWIN3 18420 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-09 08:52:37.662639 CRANWIN3 18420 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=57400 on localhost:11752 at 08:52:37.917
  2026-01-09 08:52:40.769007 CRANWIN3 18420 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.11 s.} ... 
  2026-01-09 08:52:40.772817 CRANWIN3 18420 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=60060 on localhost:11752 at 08:52:41.041
  2026-01-09 08:52:43.794058 CRANWIN3 18420 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.02 s.
  2026-01-09 08:52:43.79696 CRANWIN3 18420 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=56956 on localhost:11752 at 08:52:44.048
  2026-01-09 08:52:47.27052 CRANWIN3 18420 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.48 s.
  2026-01-09 08:52:47.273052 CRANWIN3 18420 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.62 s.
  2026-01-09 08:52:47.277307 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:47.279618 CRANWIN3 18420 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-09 08:52:47.291471 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:47.293798 CRANWIN3 18420 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-09 08:52:47.321608 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:47.324219 CRANWIN3 18420 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-09 08:52:47.333009 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:52:51.178586 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:51.181236 CRANWIN3 18420 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-09 08:52:51.192893 CRANWIN3 18420 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-08 r89292 ucrt), detected cores: 96
  2026-01-09 08:52:51.195469 CRANWIN3 18420 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-09 08:52:51.229757 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-09 08:52:56.43459 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:53:01.79937 CRANWIN3 18420 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=48500 on localhost:11752 at 08:53:02.067
  2026-01-09 08:53:04.83781 CRANWIN3 18420 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.03999999999999 s.
  2026-01-09 08:53:04.840579 CRANWIN3 18420 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=93564 on localhost:11752 at 08:53:05.087
  2026-01-09 08:53:08.053484 CRANWIN3 18420 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.22000000000001 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-09 08:53:08.110764 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:53:12.336393 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:53:17.410361 CRANWIN3 18420 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=94504 on localhost:11752 at 08:53:17.669
  2026-01-09 08:53:20.359053 CRANWIN3 18420 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.95000000000002 s.
  2026-01-09 08:53:20.388875 CRANWIN3 18420 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 08:53:25.848187 CRANWIN3 18420 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=53196 on localhost:11752 at 08:53:26.090
  2026-01-09 08:53:29.62167 CRANWIN3 18420 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.78 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