Running 'testthat.R' [209s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-24 12:06:17.070682 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-24 12:06:25.362538 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-24 12:06:34.214186 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-24 12:06:46.55157 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:06:54.717796 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:07:03.106524 CRANWIN2 18568 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=77584 on localhost:11821 at 12:07:03.429
  2025-12-24 12:07:06.868679 CRANWIN2 18568 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.76 s.
  2025-12-24 12:07:06.923477 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:07:14.941586 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:07:23.619206 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-24 12:07:31.908482 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:07:39.457051 CRANWIN2 18568 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-24 12:07:44.745028 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:07:51.583295 CRANWIN2 18568 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-24 12:07:51.607923 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:07:59.630206 CRANWIN2 18568 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-24 12:07:59.647258 CRANWIN2 18568 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-24 12:07:59.665016 CRANWIN2 18568 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-24 12:07:59.682822 CRANWIN2 18568 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-24 12:07:59.700961 CRANWIN2 18568 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-24 12:07:59.719322 CRANWIN2 18568 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-24 12:07:59.737843 CRANWIN2 18568 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-24 12:07:59.759488 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:08:07.845885 CRANWIN2 18568 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=74904 on localhost:11821 at 12:08:08.184
  starting worker pid=37976 on localhost:11821 at 12:08:08.205
  2025-12-24 12:08:17.116369 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:08:25.390601 CRANWIN2 18568 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-24 12:08:25.39417 CRANWIN2 18568 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 12:08:25.471506 CRANWIN2 18568 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=94484 on localhost:11821 at 12:08:25.852
  2025-12-24 12:08:29.743076 CRANWIN2 18568 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.27000000000001 s.} ... 
  2025-12-24 12:08:29.746608 CRANWIN2 18568 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=46964 on localhost:11821 at 12:08:30.019
  2025-12-24 12:08:33.247613 CRANWIN2 18568 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.5 s.
  2025-12-24 12:08:33.251011 CRANWIN2 18568 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=29156 on localhost:11821 at 12:08:33.609
  2025-12-24 12:08:38.290541 CRANWIN2 18568 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.05000000000001 s.
  2025-12-24 12:08:38.292491 CRANWIN2 18568 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 12.91 s.
  2025-12-24 12:08:38.295923 CRANWIN2 18568 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-24 12:08:38.298036 CRANWIN2 18568 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 12:08:38.308549 CRANWIN2 18568 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-24 12:08:38.310745 CRANWIN2 18568 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 12:08:38.352045 CRANWIN2 18568 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-24 12:08:38.355327 CRANWIN2 18568 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 12:08:38.372038 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:08:45.158441 CRANWIN2 18568 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-24 12:08:45.16208 CRANWIN2 18568 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 12:08:45.180947 CRANWIN2 18568 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-24 12:08:45.184941 CRANWIN2 18568 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 12:08:45.226221 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-24 12:08:53.359796 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:09:01.497112 CRANWIN2 18568 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=41520 on localhost:11821 at 12:09:01.784
  2025-12-24 12:09:05.249726 CRANWIN2 18568 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.75 s.
  2025-12-24 12:09:05.253028 CRANWIN2 18568 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=96540 on localhost:11821 at 12:09:05.529
  2025-12-24 12:09:09.192135 CRANWIN2 18568 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.94999999999999 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-24 12:09:09.260614 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:09:16.007441 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:09:24.201847 CRANWIN2 18568 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=95384 on localhost:11821 at 12:09:24.524
  2025-12-24 12:09:28.180538 CRANWIN2 18568 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.99000000000001 s.
  2025-12-24 12:09:28.211805 CRANWIN2 18568 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 12:09:36.632002 CRANWIN2 18568 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=60404 on localhost:11821 at 12:09:36.915
  2025-12-24 12:09:41.357486 CRANWIN2 18568 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.72 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