Running 'testthat.R' [209s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-30 01:53:33.973196 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-30 01:53:42.98931 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-30 01:53:51.938861 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-30 01:54:04.341498 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:54:12.819981 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:54:20.864573 CRANWIN2 18412 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=18676 on localhost:11280 at 01:54:21.210
  2025-12-30 01:54:24.633356 CRANWIN2 18412 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.77 s.
  2025-12-30 01:54:24.693218 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:54:32.759968 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:54:41.059239 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-30 01:54:49.728521 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:54:57.545538 CRANWIN2 18412 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-30 01:55:02.506011 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:55:09.442406 CRANWIN2 18412 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-30 01:55:09.462283 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:55:17.780546 CRANWIN2 18412 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-30 01:55:17.797957 CRANWIN2 18412 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-30 01:55:17.815313 CRANWIN2 18412 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-30 01:55:17.832369 CRANWIN2 18412 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-30 01:55:17.849975 CRANWIN2 18412 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-30 01:55:17.862806 CRANWIN2 18412 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-30 01:55:17.87555 CRANWIN2 18412 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-30 01:55:17.896538 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:55:26.208307 CRANWIN2 18412 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=8368 on localhost:11280 at 01:55:26.529
  starting worker pid=57616 on localhost:11280 at 01:55:26.537
  2025-12-30 01:55:35.496499 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:55:43.672709 CRANWIN2 18412 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-30 01:55:43.675137 CRANWIN2 18412 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 01:55:43.678815 CRANWIN2 18412 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=113388 on localhost:11280 at 01:55:43.976
  2025-12-30 01:55:47.876997 CRANWIN2 18412 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.21000000000001 s.} ... 
  2025-12-30 01:55:47.879228 CRANWIN2 18412 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=50964 on localhost:11280 at 01:55:48.196
  2025-12-30 01:55:51.528223 CRANWIN2 18412 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.64999999999998 s.
  2025-12-30 01:55:51.531865 CRANWIN2 18412 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=48388 on localhost:11280 at 01:55:51.899
  2025-12-30 01:55:56.574569 CRANWIN2 18412 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.05000000000001 s.
  2025-12-30 01:55:56.5779 CRANWIN2 18412 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 12.91 s.
  2025-12-30 01:55:56.584311 CRANWIN2 18412 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-30 01:55:56.587993 CRANWIN2 18412 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 01:55:56.603023 CRANWIN2 18412 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-30 01:55:56.605882 CRANWIN2 18412 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 01:55:56.652598 CRANWIN2 18412 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-30 01:55:56.656898 CRANWIN2 18412 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 01:55:56.678825 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:56:03.225262 CRANWIN2 18412 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-30 01:56:03.228689 CRANWIN2 18412 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 01:56:03.243706 CRANWIN2 18412 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-30 01:56:03.246219 CRANWIN2 18412 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 01:56:03.286477 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-30 01:56:11.131383 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:56:19.083846 CRANWIN2 18412 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=39556 on localhost:11280 at 01:56:19.435
  2025-12-30 01:56:22.488947 CRANWIN2 18412 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.40000000000001 s.
  2025-12-30 01:56:22.491216 CRANWIN2 18412 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=11508 on localhost:11280 at 01:56:22.846
  2025-12-30 01:56:26.574324 CRANWIN2 18412 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.09999999999999 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-30 01:56:26.655466 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:56:33.395537 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:56:41.246985 CRANWIN2 18412 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=67920 on localhost:11280 at 01:56:41.603
  2025-12-30 01:56:45.095801 CRANWIN2 18412 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.84 s.
  2025-12-30 01:56:45.143019 CRANWIN2 18412 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 01:56:53.259596 CRANWIN2 18412 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=98232 on localhost:11280 at 01:56:53.605
  2025-12-30 01:56:58.425995 CRANWIN2 18412 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 5.15000000000001 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