Running ‘testthat.R’ [72s/102s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-28 13:23:32.486612 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-28 13:23:36.297764 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-28 13:23:39.92886 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-28 13:23:46.537502 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:23:50.463018 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:23:54.443539 gimli1 1515109 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1529720 on localhost:11192 at 13:23:54.930
  2025-12-28 13:23:57.384141 gimli1 1515109 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.94 s.
  2025-12-28 13:23:57.430232 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:24:01.476182 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:24:04.890733 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-28 13:24:08.155911 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:24:11.12144 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:13.365473 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:24:15.656581 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:15.690935 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:24:19.001288 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:19.020483 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:19.055602 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:19.083522 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:19.116062 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:19.144483 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:19.176828 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:19.214698 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:24:22.392116 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  starting worker pid=1559058 on localhost:11192 at 13:24:22.722
  starting worker pid=1559059 on localhost:11192 at 13:24:22.803
  2025-12-28 13:24:28.330384 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:24:31.872898 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:31.893705 gimli1 1515109 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-28 13:24:31.896645 gimli1 1515109 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1570803 on localhost:11192 at 13:24:32.232
  2025-12-28 13:24:35.008096 gimli1 1515109 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.10700000000001 s.} ... 
  2025-12-28 13:24:35.010056 gimli1 1515109 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1575496 on localhost:11192 at 13:24:35.263
  2025-12-28 13:24:37.388118 gimli1 1515109 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.378 s.
  2025-12-28 13:24:37.389875 gimli1 1515109 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1578359 on localhost:11192 at 13:24:37.662
  2025-12-28 13:24:40.618744 gimli1 1515109 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.229 s.
  2025-12-28 13:24:40.620486 gimli1 1515109 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 8.727 s.
  2025-12-28 13:24:40.623256 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:40.645244 gimli1 1515109 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-28 13:24:40.662605 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:40.677685 gimli1 1515109 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-28 13:24:40.744105 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:40.757264 gimli1 1515109 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-28 13:24:40.770119 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:24:43.352114 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:43.377537 gimli1 1515109 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-28 13:24:43.394291 gimli1 1515109 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-27 r89247), detected cores: 64
  2025-12-28 13:24:43.41746 gimli1 1515109 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-28 13:24:43.434433 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-28 13:24:46.325411 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:24:49.690002 gimli1 1515109 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1596942 on localhost:11192 at 13:24:50.028
  2025-12-28 13:24:52.338019 gimli1 1515109 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.64800000000001 s.
  2025-12-28 13:24:52.339843 gimli1 1515109 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1600436 on localhost:11192 at 13:24:52.625
  2025-12-28 13:24:55.650138 gimli1 1515109 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.31 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-28 13:24:55.683647 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:24:58.14079 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:25:01.631716 gimli1 1515109 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1610440 on localhost:11192 at 13:25:01.883
  2025-12-28 13:25:04.102897 gimli1 1515109 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.471 s.
  2025-12-28 13:25:04.118759 gimli1 1515109 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-28 13:25:07.010497 gimli1 1515109 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1614920 on localhost:11192 at 13:25:07.294
  2025-12-28 13:25:11.186183 gimli1 1515109 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.17400000000001 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