Running ‘testthat.R’ [86s/160s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-03 05:44:29.082076 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-03 05:44:34.806196 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-03 05:44:39.875712 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-03 05:44:49.355435 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:44:54.18401 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:44:59.041965 gimli2 3965710 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3976251 on localhost:11408 at 05:44:59.513
  2026-01-03 05:45:03.667814 gimli2 3965710 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.626 s.
  2026-01-03 05:45:03.762693 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:45:08.497214 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:45:14.152887 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-03 05:45:20.237874 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:45:25.662703 gimli2 3965710 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-03 05:45:29.65236 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:45:33.023897 gimli2 3965710 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-03 05:45:33.060222 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:45:38.085997 gimli2 3965710 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-03 05:45:38.105462 gimli2 3965710 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-03 05:45:38.138207 gimli2 3965710 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-03 05:45:38.173842 gimli2 3965710 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-03 05:45:38.21122 gimli2 3965710 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-03 05:45:38.246883 gimli2 3965710 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-03 05:45:38.276348 gimli2 3965710 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-03 05:45:38.300142 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:45:43.258345 gimli2 3965710 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=3987415 on localhost:11408 at 05:45:43.802
  starting worker pid=3987414 on localhost:11408 at 05:45:43.816
  2026-01-03 05:45:52.363297 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:45:57.541566 gimli2 3965710 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-03 05:45:57.555188 gimli2 3965710 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-03 05:45:57.559301 gimli2 3965710 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3990961 on localhost:11408 at 05:45:57.976
  2026-01-03 05:46:02.385395 gimli2 3965710 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.81999999999999 s.} ... 
  2026-01-03 05:46:02.387968 gimli2 3965710 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3992179 on localhost:11408 at 05:46:02.793
  2026-01-03 05:46:07.312619 gimli2 3965710 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.925 s.
  2026-01-03 05:46:07.315118 gimli2 3965710 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3993786 on localhost:11408 at 05:46:07.697
  2026-01-03 05:46:12.376384 gimli2 3965710 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.06099999999999 s.
  2026-01-03 05:46:12.378369 gimli2 3965710 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 14.823 s.
  2026-01-03 05:46:12.38217 gimli2 3965710 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-03 05:46:12.394746 gimli2 3965710 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-03 05:46:12.416452 gimli2 3965710 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-03 05:46:12.430821 gimli2 3965710 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-03 05:46:12.501802 gimli2 3965710 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-03 05:46:12.51537 gimli2 3965710 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-03 05:46:12.546135 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:46:16.437677 gimli2 3965710 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-03 05:46:16.448217 gimli2 3965710 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-03 05:46:16.478409 gimli2 3965710 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-03 05:46:16.491296 gimli2 3965710 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-03 05:46:16.520907 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-03 05:46:22.84798 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:46:28.499179 gimli2 3965710 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3999710 on localhost:11408 at 05:46:28.961
  2026-01-03 05:46:34.219338 gimli2 3965710 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 5.72 s.
  2026-01-03 05:46:34.229123 gimli2 3965710 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=4000963 on localhost:11408 at 05:46:34.610
  2026-01-03 05:46:39.4661 gimli2 3965710 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.245 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-03 05:46:39.53447 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:46:43.184434 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:46:48.122644 gimli2 3965710 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=4003547 on localhost:11408 at 05:46:48.533
  2026-01-03 05:46:52.617395 gimli2 3965710 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.495 s.
  2026-01-03 05:46:52.67356 gimli2 3965710 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 05:46:57.375579 gimli2 3965710 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=4007188 on localhost:11408 at 05:46:57.864
  2026-01-03 05:47:03.341136 gimli2 3965710 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 5.96000000000001 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