Running ‘testthat.R’ [127s/137s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-08 17:36:11.455299 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-08 17:36:16.060026 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-08 17:36:19.990953 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-08 17:36:26.559479 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:36:30.179168 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:36:34.024584 gimli2 3006428 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3014181 on localhost:11724 at 17:36:34.384
  2026-01-08 17:36:38.540044 gimli2 3006428 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.512 s.
  2026-01-08 17:36:38.629733 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:36:42.840437 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:36:46.720286 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-08 17:36:50.986718 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:36:55.203839 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:36:57.932947 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:37:01.071653 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:01.118224 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:37:04.914877 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:04.940563 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:04.980406 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:05.003932 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:05.029508 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:05.072436 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:05.111339 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:05.148572 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:37:08.635914 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  starting worker pid=3022800 on localhost:11724 at 17:37:09.014
  starting worker pid=3022801 on localhost:11724 at 17:37:09.049
  2026-01-08 17:37:18.597531 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:37:22.127061 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:22.143027 gimli2 3006428 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-08 17:37:22.151588 gimli2 3006428 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3025943 on localhost:11724 at 17:37:22.546
  2026-01-08 17:37:27.813991 gimli2 3006428 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 5.65700000000001 s.} ... 
  2026-01-08 17:37:27.816913 gimli2 3006428 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3026783 on localhost:11724 at 17:37:28.197
  2026-01-08 17:37:32.716487 gimli2 3006428 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.90000000000001 s.
  2026-01-08 17:37:32.738425 gimli2 3006428 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3027750 on localhost:11724 at 17:37:33.301
  2026-01-08 17:37:38.701316 gimli2 3006428 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.96300000000001 s.
  2026-01-08 17:37:38.703661 gimli2 3006428 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 16.56 s.
  2026-01-08 17:37:38.717378 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:38.729319 gimli2 3006428 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-08 17:37:38.767579 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:38.779333 gimli2 3006428 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-08 17:37:38.934711 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:38.945199 gimli2 3006428 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-08 17:37:38.981419 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:37:41.546864 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:41.559959 gimli2 3006428 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-08 17:37:41.597939 gimli2 3006428 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 32
  2026-01-08 17:37:41.615811 gimli2 3006428 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-08 17:37:41.695397 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-08 17:37:45.531497 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:37:49.504146 gimli2 3006428 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3033032 on localhost:11724 at 17:37:49.910
  2026-01-08 17:37:54.239774 gimli2 3006428 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.735 s.
  2026-01-08 17:37:54.248972 gimli2 3006428 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3034051 on localhost:11724 at 17:37:54.717
  2026-01-08 17:38:00.281312 gimli2 3006428 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 6.039 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-08 17:38:00.424048 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:38:03.100469 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:38:06.898516 gimli2 3006428 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3038195 on localhost:11724 at 17:38:07.226
  2026-01-08 17:38:11.854297 gimli2 3006428 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.95599999999999 s.
  2026-01-08 17:38:11.916521 gimli2 3006428 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 17:38:15.809913 gimli2 3006428 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3040419 on localhost:11724 at 17:38:16.159
  2026-01-08 17:38:22.537616 gimli2 3006428 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 6.72499999999999 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