Running ‘testthat.R’ [84s/155s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-10 05:44:23.708058 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-10 05:44:29.631677 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-10 05:44:34.675044 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-10 05:44:43.048047 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:44:48.008036 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:44:53.087554 gimli2 3011003 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3021815 on localhost:11388 at 05:44:53.536
  2026-01-10 05:44:57.85586 gimli2 3011003 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.768 s.
  2026-01-10 05:44:57.949511 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:45:02.903948 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:45:08.381092 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-10 05:45:15.407789 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:45:20.544796 gimli2 3011003 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
  2026-01-10 05:45:24.405085 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:45:27.475589 gimli2 3011003 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
  2026-01-10 05:45:27.517959 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:45:33.026586 gimli2 3011003 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
  2026-01-10 05:45:33.054556 gimli2 3011003 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
  2026-01-10 05:45:33.088362 gimli2 3011003 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
  2026-01-10 05:45:33.120388 gimli2 3011003 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
  2026-01-10 05:45:33.15884 gimli2 3011003 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
  2026-01-10 05:45:33.190977 gimli2 3011003 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
  2026-01-10 05:45:33.231292 gimli2 3011003 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
  2026-01-10 05:45:33.272983 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:45:38.454225 gimli2 3011003 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=3033020 on localhost:11388 at 05:45:38.898
  starting worker pid=3033021 on localhost:11388 at 05:45:38.963
  2026-01-10 05:45:47.950924 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:45:53.073812 gimli2 3011003 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
  2026-01-10 05:45:53.084273 gimli2 3011003 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-10 05:45:53.092759 gimli2 3011003 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3036523 on localhost:11388 at 05:45:53.549
  2026-01-10 05:45:57.833293 gimli2 3011003 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.738 s.} ... 
  2026-01-10 05:45:57.83587 gimli2 3011003 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3038237 on localhost:11388 at 05:45:58.230
  2026-01-10 05:46:02.001351 gimli2 3011003 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.16600000000001 s.
  2026-01-10 05:46:02.003806 gimli2 3011003 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3039469 on localhost:11388 at 05:46:02.346
  2026-01-10 05:46:06.82712 gimli2 3011003 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.82299999999999 s.
  2026-01-10 05:46:06.829326 gimli2 3011003 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 13.746 s.
  2026-01-10 05:46:06.842441 gimli2 3011003 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
  2026-01-10 05:46:06.851893 gimli2 3011003 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-10 05:46:06.875941 gimli2 3011003 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
  2026-01-10 05:46:06.88729 gimli2 3011003 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-10 05:46:06.959885 gimli2 3011003 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
  2026-01-10 05:46:06.971212 gimli2 3011003 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-10 05:46:07.003303 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:46:10.617239 gimli2 3011003 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
  2026-01-10 05:46:10.62714 gimli2 3011003 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-10 05:46:10.653222 gimli2 3011003 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
  2026-01-10 05:46:10.662468 gimli2 3011003 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-10 05:46:10.725307 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-10 05:46:15.372012 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:46:20.149204 gimli2 3011003 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3044382 on localhost:11388 at 05:46:20.470
  2026-01-10 05:46:23.818765 gimli2 3011003 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.67 s.
  2026-01-10 05:46:23.821162 gimli2 3011003 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3045024 on localhost:11388 at 05:46:24.144
  2026-01-10 05:46:29.278239 gimli2 3011003 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.45699999999999 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-10 05:46:29.346493 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:46:32.92434 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:46:37.524607 gimli2 3011003 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3048654 on localhost:11388 at 05:46:37.861
  2026-01-10 05:46:42.072946 gimli2 3011003 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.548 s.
  2026-01-10 05:46:42.100316 gimli2 3011003 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-10 05:46:47.071975 gimli2 3011003 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3051876 on localhost:11388 at 05:46:47.489
  2026-01-10 05:46:52.515042 gimli2 3011003 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 5.441 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