Running 'testthat.R' [139s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-30 08:08:14.182268 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-30 08:08:20.325994 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-30 08:08:25.799113 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-30 08:08:34.108032 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:08:39.390525 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:08:44.768944 CRANWIN3 30768 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=94644 on localhost:11160 at 08:08:45.034
  2025-12-30 08:08:47.553555 CRANWIN3 30768 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.77999999999999 s.
  2025-12-30 08:08:47.593273 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:08:52.351681 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:08:57.394154 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-30 08:09:02.658722 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:09:07.402854 CRANWIN3 30768 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
  2025-12-30 08:09:11.123077 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:09:15.259742 CRANWIN3 30768 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
  2025-12-30 08:09:15.274969 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:09:20.558825 CRANWIN3 30768 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
  2025-12-30 08:09:20.571301 CRANWIN3 30768 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
  2025-12-30 08:09:20.583354 CRANWIN3 30768 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
  2025-12-30 08:09:20.595873 CRANWIN3 30768 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
  2025-12-30 08:09:20.608872 CRANWIN3 30768 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
  2025-12-30 08:09:20.622789 CRANWIN3 30768 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
  2025-12-30 08:09:20.636492 CRANWIN3 30768 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
  2025-12-30 08:09:20.65132 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:09:25.862618 CRANWIN3 30768 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=83740 on localhost:11160 at 08:09:26.080
  starting worker pid=45912 on localhost:11160 at 08:09:26.114
  2025-12-30 08:09:32.449658 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:09:37.663107 CRANWIN3 30768 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
  2025-12-30 08:09:37.666264 CRANWIN3 30768 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 08:09:37.67101 CRANWIN3 30768 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=68052 on localhost:11160 at 08:09:37.945
  2025-12-30 08:09:40.705235 CRANWIN3 30768 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.04000000000001 s.} ... 
  2025-12-30 08:09:40.708325 CRANWIN3 30768 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=20832 on localhost:11160 at 08:09:40.979
  2025-12-30 08:09:43.382665 CRANWIN3 30768 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.66999999999999 s.
  2025-12-30 08:09:43.38544 CRANWIN3 30768 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=41104 on localhost:11160 at 08:09:43.643
  2025-12-30 08:09:46.776338 CRANWIN3 30768 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.39 s.
  2025-12-30 08:09:46.779217 CRANWIN3 30768 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.11 s.
  2025-12-30 08:09:46.784163 CRANWIN3 30768 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
  2025-12-30 08:09:46.786905 CRANWIN3 30768 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 08:09:46.8003 CRANWIN3 30768 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
  2025-12-30 08:09:46.802989 CRANWIN3 30768 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 08:09:46.833863 CRANWIN3 30768 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
  2025-12-30 08:09:46.835928 CRANWIN3 30768 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 08:09:46.845323 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:09:50.895351 CRANWIN3 30768 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
  2025-12-30 08:09:50.898243 CRANWIN3 30768 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 08:09:50.908879 CRANWIN3 30768 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
  2025-12-30 08:09:50.910907 CRANWIN3 30768 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 08:09:50.946792 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-30 08:09:56.11001 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:10:01.382585 CRANWIN3 30768 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=72996 on localhost:11160 at 08:10:01.642
  2025-12-30 08:10:04.190579 CRANWIN3 30768 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.80000000000001 s.
  2025-12-30 08:10:04.193182 CRANWIN3 30768 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=41724 on localhost:11160 at 08:10:04.416
  2025-12-30 08:10:07.333802 CRANWIN3 30768 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.14 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-30 08:10:07.408224 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:10:11.800842 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:10:17.375875 CRANWIN3 30768 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=44860 on localhost:11160 at 08:10:17.623
  2025-12-30 08:10:20.299313 CRANWIN3 30768 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.91999999999999 s.
  2025-12-30 08:10:20.332435 CRANWIN3 30768 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 08:10:25.736205 CRANWIN3 30768 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=55612 on localhost:11160 at 08:10:25.992
  2025-12-30 08:10:29.293153 CRANWIN3 30768 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.56 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