Running ‘testthat.R’ [127s/132s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-29 17:39:13.613087 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-29 17:39:18.552998 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-29 17:39:22.285525 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-29 17:39:29.301419 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:39:32.801715 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:39:36.623338 gimli2 338813 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=345652 on localhost:11333 at 17:39:36.982
  2025-12-29 17:39:41.027718 gimli2 338813 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.404 s.
  2025-12-29 17:39:41.097658 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:39:44.907178 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:39:48.578456 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-29 17:39:52.563564 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:39:56.068083 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:39:59.824466 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:40:02.318351 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:02.362739 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:40:06.256512 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:06.276092 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:06.295797 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:06.337323 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:06.375356 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:06.41238 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:06.446122 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:06.486809 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:40:10.372435 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  starting worker pid=353325 on localhost:11333 at 17:40:10.857
  starting worker pid=353324 on localhost:11333 at 17:40:10.857
  2025-12-29 17:40:19.511773 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:40:22.975496 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:22.983312 gimli2 338813 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 17:40:22.988071 gimli2 338813 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=357744 on localhost:11333 at 17:40:23.373
  2025-12-29 17:40:27.990272 gimli2 338813 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 5 s.} ... 
  2025-12-29 17:40:27.997972 gimli2 338813 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=358548 on localhost:11333 at 17:40:28.520
  2025-12-29 17:40:32.909247 gimli2 338813 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.911 s.
  2025-12-29 17:40:32.911881 gimli2 338813 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=359636 on localhost:11333 at 17:40:33.444
  2025-12-29 17:40:38.372958 gimli2 338813 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.46100000000001 s.
  2025-12-29 17:40:38.375262 gimli2 338813 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 15.392 s.
  2025-12-29 17:40:38.385222 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:38.393312 gimli2 338813 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 17:40:38.429515 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:38.443018 gimli2 338813 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 17:40:38.602535 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:38.614917 gimli2 338813 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 17:40:38.634073 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:40:41.060341 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:41.075566 gimli2 338813 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 17:40:41.113685 gimli2 338813 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 32
  2025-12-29 17:40:41.128603 gimli2 338813 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 17:40:41.20668 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-29 17:40:44.901759 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:40:48.441646 gimli2 338813 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=364161 on localhost:11333 at 17:40:48.839
  2025-12-29 17:40:52.889262 gimli2 338813 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.44800000000001 s.
  2025-12-29 17:40:52.891652 gimli2 338813 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=364964 on localhost:11333 at 17:40:53.280
  2025-12-29 17:40:58.173276 gimli2 338813 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.282 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-29 17:40:58.289969 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:41:00.773738 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:41:04.557523 gimli2 338813 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=368269 on localhost:11333 at 17:41:05.148
  2025-12-29 17:41:09.428642 gimli2 338813 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.87100000000001 s.
  2025-12-29 17:41:09.487396 gimli2 338813 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 17:41:13.29896 gimli2 338813 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=371103 on localhost:11333 at 17:41:13.839
  2025-12-29 17:41:20.225284 gimli2 338813 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 6.92400000000001 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