Running ‘testthat.R’ [85s/165s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-27 05:42:19.104377 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-27 05:42:25.979498 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-27 05:42:31.96309 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-27 05:42:40.992554 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:42:46.24367 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:42:52.037609 gimli2 832655 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=844849 on localhost:11984 at 05:42:52.401
  2025-12-27 05:42:57.404636 gimli2 832655 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 5.367 s.
  2025-12-27 05:42:57.478066 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:43:03.019006 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:43:09.436839 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-27 05:43:15.234072 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:43:19.998547 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:43:24.004356 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:43:27.770642 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:43:27.803351 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:43:32.782964 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:43:32.822962 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:43:32.858173 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:43:32.894551 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:43:32.926379 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:43:32.956248 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:43:32.997803 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:43:33.035219 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:43:38.537569 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  starting worker pid=857200 on localhost:11984 at 05:43:38.888
  starting worker pid=857201 on localhost:11984 at 05:43:38.983
  2025-12-27 05:43:47.262992 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:43:52.127838 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:43:52.143196 gimli2 832655 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 05:43:52.152311 gimli2 832655 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=861193 on localhost:11984 at 05:43:52.544
  2025-12-27 05:43:57.366121 gimli2 832655 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 5.208 s.} ... 
  2025-12-27 05:43:57.368708 gimli2 832655 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=862605 on localhost:11984 at 05:43:57.766
  2025-12-27 05:44:02.452229 gimli2 832655 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 5.083 s.
  2025-12-27 05:44:02.460178 gimli2 832655 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=863635 on localhost:11984 at 05:44:02.818
  2025-12-27 05:44:08.661345 gimli2 832655 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 6.20100000000001 s.
  2025-12-27 05:44:08.663622 gimli2 832655 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 16.52 s.
  2025-12-27 05:44:08.672938 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:44:08.681226 gimli2 832655 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 05:44:08.705635 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:44:08.719112 gimli2 832655 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 05:44:08.797773 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:44:08.811455 gimli2 832655 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 05:44:08.849041 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:44:12.414136 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:44:12.427572 gimli2 832655 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 05:44:12.460131 gimli2 832655 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 (2025-10-31), detected cores: 32
  2025-12-27 05:44:12.473627 gimli2 832655 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 05:44:12.545711 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-27 05:44:17.674585 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:44:22.394511 gimli2 832655 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=868365 on localhost:11984 at 05:44:22.770
  2025-12-27 05:44:26.95224 gimli2 832655 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.55800000000002 s.
  2025-12-27 05:44:26.954828 gimli2 832655 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=869330 on localhost:11984 at 05:44:27.490
  2025-12-27 05:44:31.782852 gimli2 832655 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.828 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-27 05:44:31.846953 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:44:36.530302 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:44:42.545933 gimli2 832655 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=873507 on localhost:11984 at 05:44:42.939
  2025-12-27 05:44:46.553329 gimli2 832655 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.00700000000001 s.
  2025-12-27 05:44:46.583067 gimli2 832655 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 05:44:52.246751 gimli2 832655 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=876621 on localhost:11984 at 05:44:52.683
  2025-12-27 05:44:58.126549 gimli2 832655 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 5.87699999999998 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