Running ‘testthat.R’ [85s/154s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-24 05:56:02.233677 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-24 05:56:09.007578 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-24 05:56:14.153259 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-24 05:56:22.844967 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:56:27.920341 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:56:32.622691 gimli2 1420650 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1431728 on localhost:11719 at 05:56:32.991
  2025-12-24 05:56:36.649458 gimli2 1420650 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.027 s.
  2025-12-24 05:56:36.737625 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:56:41.547067 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:56:46.629246 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-24 05:56:51.321513 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:56:56.117462 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:56:59.477813 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:57:02.702593 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:02.738006 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:57:07.60434 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:07.632369 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:07.668262 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:07.710548 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:07.746562 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:07.768637 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:07.805045 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:07.833274 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:57:12.652657 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  starting worker pid=1442145 on localhost:11719 at 05:57:13.073
  starting worker pid=1442146 on localhost:11719 at 05:57:13.094
  2025-12-24 05:57:20.96564 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:57:26.27615 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:26.283433 gimli2 1420650 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 05:57:26.287799 gimli2 1420650 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1445237 on localhost:11719 at 05:57:26.636
  2025-12-24 05:57:31.265884 gimli2 1420650 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.976 s.} ... 
  2025-12-24 05:57:31.268247 gimli2 1420650 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1447064 on localhost:11719 at 05:57:31.653
  2025-12-24 05:57:35.08694 gimli2 1420650 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.818 s.
  2025-12-24 05:57:35.089378 gimli2 1420650 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1448188 on localhost:11719 at 05:57:35.553
  2025-12-24 05:57:40.709281 gimli2 1420650 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.61999999999999 s.
  2025-12-24 05:57:40.717003 gimli2 1420650 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 14.428 s.
  2025-12-24 05:57:40.726354 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:40.737785 gimli2 1420650 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 05:57:40.777482 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:40.791359 gimli2 1420650 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 05:57:40.862303 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:40.873276 gimli2 1420650 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 05:57:40.902886 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:57:44.789201 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:44.801359 gimli2 1420650 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 05:57:44.827223 gimli2 1420650 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2025-12-21 r89220), detected cores: 32
  2025-12-24 05:57:44.839198 gimli2 1420650 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 05:57:44.902013 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-24 05:57:50.86983 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:57:55.766333 gimli2 1420650 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1452950 on localhost:11719 at 05:57:56.305
  2025-12-24 05:58:00.225276 gimli2 1420650 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.459 s.
  2025-12-24 05:58:00.227682 gimli2 1420650 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1454140 on localhost:11719 at 05:58:00.569
  2025-12-24 05:58:05.400198 gimli2 1420650 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.173 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-24 05:58:05.539531 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:58:09.266581 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:58:13.639235 gimli2 1420650 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1457585 on localhost:11719 at 05:58:14.165
  2025-12-24 05:58:17.747804 gimli2 1420650 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.108 s.
  2025-12-24 05:58:17.796478 gimli2 1420650 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 05:58:23.435733 gimli2 1420650 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1461182 on localhost:11719 at 05:58:23.837
  2025-12-24 05:58:29.551028 gimli2 1420650 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 6.11199999999999 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