Running ‘testthat.R’ [86s/159s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-31 05:51:37.065154 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-31 05:51:42.478396 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-31 05:51:48.09118 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-31 05:51:56.987226 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:52:01.769045 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:52:07.119879 gimli2 272625 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=282814 on localhost:11834 at 05:52:07.538
  2025-12-31 05:52:11.707957 gimli2 272625 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.588 s.
  2025-12-31 05:52:11.803711 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:52:16.506167 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:52:22.068821 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-31 05:52:29.106988 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:52:34.541048 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:52:38.569597 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:52:41.964602 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:52:41.984196 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:52:46.895425 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:52:46.927531 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:52:46.9538 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:52:46.987125 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:52:47.019147 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:52:47.055639 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:52:47.087324 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:52:47.121603 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:52:51.812376 gimli2 272625 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-28 r89259), detected cores: 32
  starting worker pid=293951 on localhost:11834 at 05:52:52.211
  starting worker pid=293950 on localhost:11834 at 05:52:52.239
  2025-12-31 05:53:01.383796 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:53:06.536372 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:53:06.548104 gimli2 272625 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-31 05:53:06.552353 gimli2 272625 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=298127 on localhost:11834 at 05:53:06.995
  2025-12-31 05:53:11.609254 gimli2 272625 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 5.05099999999999 s.} ... 
  2025-12-31 05:53:11.611636 gimli2 272625 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=299590 on localhost:11834 at 05:53:12.039
  2025-12-31 05:53:15.95726 gimli2 272625 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.346 s.
  2025-12-31 05:53:15.959813 gimli2 272625 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=300761 on localhost:11834 at 05:53:16.418
  2025-12-31 05:53:21.684875 gimli2 272625 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.72499999999999 s.
  2025-12-31 05:53:21.687026 gimli2 272625 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 15.139 s.
  2025-12-31 05:53:21.695373 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:53:21.707232 gimli2 272625 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-31 05:53:21.738234 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:53:21.749171 gimli2 272625 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-31 05:53:21.818922 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:53:21.831198 gimli2 272625 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-31 05:53:21.84898 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:53:26.128451 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:53:26.138744 gimli2 272625 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-31 05:53:26.170421 gimli2 272625 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-28 r89259), detected cores: 32
  2025-12-31 05:53:26.183431 gimli2 272625 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-31 05:53:26.253613 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-31 05:53:32.030399 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:53:37.859029 gimli2 272625 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=306572 on localhost:11834 at 05:53:38.182
  2025-12-31 05:53:41.779016 gimli2 272625 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.91999999999999 s.
  2025-12-31 05:53:41.781405 gimli2 272625 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=307217 on localhost:11834 at 05:53:42.267
  2025-12-31 05:53:46.955048 gimli2 272625 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-31 05:53:47.064667 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:53:51.230833 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:53:56.652967 gimli2 272625 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=310940 on localhost:11834 at 05:53:57.041
  2025-12-31 05:54:00.706646 gimli2 272625 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.05799999999999 s.
  2025-12-31 05:54:00.771285 gimli2 272625 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 05:54:05.411923 gimli2 272625 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=314006 on localhost:11834 at 05:54:05.730
  2025-12-31 05:54:11.027203 gimli2 272625 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 5.613 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