Running 'testthat.R' [206s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-09 10:33:06.478834 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-09 10:33:14.744065 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-09 10:33:22.865333 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-09 10:33:35.073131 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:33:43.423421 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:33:51.835868 CRANWIN2 30996 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=42936 on localhost:11183 at 10:33:52.160
  2026-01-09 10:33:55.550407 CRANWIN2 30996 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.72 s.
  2026-01-09 10:33:55.616846 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:34:03.720979 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:34:12.061289 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-09 10:34:20.173761 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:34:27.776617 CRANWIN2 30996 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-09 10:34:32.39206 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:34:39.265904 CRANWIN2 30996 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-09 10:34:39.286674 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:34:47.256581 CRANWIN2 30996 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-09 10:34:47.266694 CRANWIN2 30996 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-09 10:34:47.27726 CRANWIN2 30996 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-09 10:34:47.288082 CRANWIN2 30996 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-09 10:34:47.299382 CRANWIN2 30996 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-09 10:34:47.310172 CRANWIN2 30996 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-09 10:34:47.325159 CRANWIN2 30996 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-09 10:34:47.34312 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:34:55.51912 CRANWIN2 30996 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=21528 on localhost:11183 at 10:34:55.832
  starting worker pid=47492 on localhost:11183 at 10:34:55.858
  2026-01-09 10:35:04.862955 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:35:13.286863 CRANWIN2 30996 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-09 10:35:13.28911 CRANWIN2 30996 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-09 10:35:13.292604 CRANWIN2 30996 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=72980 on localhost:11183 at 10:35:13.658
  2026-01-09 10:35:17.449907 CRANWIN2 30996 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.16 s.} ... 
  2026-01-09 10:35:17.453381 CRANWIN2 30996 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=50080 on localhost:11183 at 10:35:17.793
  2026-01-09 10:35:21.248283 CRANWIN2 30996 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.78999999999999 s.
  2026-01-09 10:35:21.251949 CRANWIN2 30996 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=33184 on localhost:11183 at 10:35:21.575
  2026-01-09 10:35:25.927764 CRANWIN2 30996 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.66999999999999 s.
  2026-01-09 10:35:25.931689 CRANWIN2 30996 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 12.64 s.
  2026-01-09 10:35:25.939405 CRANWIN2 30996 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-09 10:35:25.944181 CRANWIN2 30996 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-09 10:35:25.967244 CRANWIN2 30996 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-09 10:35:25.971642 CRANWIN2 30996 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-09 10:35:26.019282 CRANWIN2 30996 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-09 10:35:26.023464 CRANWIN2 30996 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-09 10:35:26.045738 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:35:33.032444 CRANWIN2 30996 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-09 10:35:33.035853 CRANWIN2 30996 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-09 10:35:33.052707 CRANWIN2 30996 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-09 10:35:33.056044 CRANWIN2 30996 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-09 10:35:33.101894 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-09 10:35:40.823998 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:35:48.303546 CRANWIN2 30996 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=23564 on localhost:11183 at 10:35:48.566
  2026-01-09 10:35:51.623005 CRANWIN2 30996 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.31 s.
  2026-01-09 10:35:51.625712 CRANWIN2 30996 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=110680 on localhost:11183 at 10:35:51.937
  2026-01-09 10:35:55.263987 CRANWIN2 30996 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.64000000000001 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-09 10:35:55.334738 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:36:01.77338 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:36:09.921935 CRANWIN2 30996 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=92976 on localhost:11183 at 10:36:10.179
  2026-01-09 10:36:13.672318 CRANWIN2 30996 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.75 s.
  2026-01-09 10:36:13.71422 CRANWIN2 30996 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-09 10:36:22.172253 CRANWIN2 30996 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=76268 on localhost:11183 at 10:36:22.457
  2026-01-09 10:36:26.996252 CRANWIN2 30996 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.81 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