Running 'testthat.R' [211s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-29 16:29:48.150526 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-29 16:29:57.622229 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-29 16:30:07.740086 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-29 16:30:20.303512 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:30:28.807852 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:30:37.175686 CRANWIN2 72876 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=38540 on localhost:11535 at 16:30:37.547
  2025-12-29 16:30:40.793441 CRANWIN2 72876 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.63 s.
  2025-12-29 16:30:40.853681 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:30:48.68824 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:30:56.867003 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-29 16:31:04.970198 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:31:12.892221 CRANWIN2 72876 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-29 16:31:17.865994 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:31:24.662279 CRANWIN2 72876 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-29 16:31:24.676495 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:31:32.941975 CRANWIN2 72876 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-29 16:31:32.960986 CRANWIN2 72876 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-29 16:31:32.980706 CRANWIN2 72876 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-29 16:31:33.000496 CRANWIN2 72876 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-29 16:31:33.020008 CRANWIN2 72876 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-29 16:31:33.039837 CRANWIN2 72876 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-29 16:31:33.059552 CRANWIN2 72876 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-29 16:31:33.082152 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:31:41.157005 CRANWIN2 72876 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=63812 on localhost:11535 at 16:31:41.491
  starting worker pid=63680 on localhost:11535 at 16:31:41.516
  2025-12-29 16:31:50.937762 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:31:59.067074 CRANWIN2 72876 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-29 16:31:59.07144 CRANWIN2 72876 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 16:31:59.078138 CRANWIN2 72876 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=103568 on localhost:11535 at 16:31:59.449
  2025-12-29 16:32:03.482282 CRANWIN2 72876 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.41 s.} ... 
  2025-12-29 16:32:03.485875 CRANWIN2 72876 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=57480 on localhost:11535 at 16:32:03.869
  2025-12-29 16:32:07.291046 CRANWIN2 72876 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.81 s.
  2025-12-29 16:32:07.294994 CRANWIN2 72876 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=99640 on localhost:11535 at 16:32:07.630
  2025-12-29 16:32:11.932067 CRANWIN2 72876 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.63999999999999 s.
  2025-12-29 16:32:11.93516 CRANWIN2 72876 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 12.86 s.
  2025-12-29 16:32:11.942117 CRANWIN2 72876 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-29 16:32:11.946683 CRANWIN2 72876 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 16:32:11.966406 CRANWIN2 72876 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-29 16:32:11.970216 CRANWIN2 72876 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 16:32:12.025266 CRANWIN2 72876 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-29 16:32:12.028857 CRANWIN2 72876 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 16:32:12.048668 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:32:18.947648 CRANWIN2 72876 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-29 16:32:18.95168 CRANWIN2 72876 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 16:32:18.97015 CRANWIN2 72876 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-29 16:32:18.974107 CRANWIN2 72876 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 16:32:19.022967 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-29 16:32:26.736039 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:32:34.673074 CRANWIN2 72876 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=9764 on localhost:11535 at 16:32:35.004
  2025-12-29 16:32:38.414411 CRANWIN2 72876 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.75 s.
  2025-12-29 16:32:38.417508 CRANWIN2 72876 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=66012 on localhost:11535 at 16:32:38.704
  2025-12-29 16:32:42.565693 CRANWIN2 72876 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.13999999999999 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-29 16:32:42.622335 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:32:49.451958 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:32:57.658826 CRANWIN2 72876 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=112840 on localhost:11535 at 16:32:57.958
  2025-12-29 16:33:01.830777 CRANWIN2 72876 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.17000000000002 s.
  2025-12-29 16:33:01.867427 CRANWIN2 72876 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 16:33:09.878474 CRANWIN2 72876 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=111764 on localhost:11535 at 16:33:10.237
  2025-12-29 16:33:14.28971 CRANWIN2 72876 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.41 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