Running ‘testthat.R’ [77s/123s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-02 13:23:44.301661 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-02 13:23:48.993831 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-02 13:23:52.991492 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-02 13:23:59.736368 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:24:03.290542 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:24:07.041646 gimli1 2929476 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=2950940 on localhost:11234 at 13:24:07.381
  2026-01-02 13:24:10.293738 gimli1 2929476 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.252 s.
  2026-01-02 13:24:10.342413 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:24:14.766499 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:24:18.999791 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-02 13:24:24.447755 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:24:29.215021 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:24:32.149332 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:24:34.556832 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:24:34.586181 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:24:38.696095 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:24:38.724928 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:24:38.756737 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:24:38.783814 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:24:38.812382 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:24:38.845365 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:24:38.877819 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:24:38.915273 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:24:42.50514 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  starting worker pid=3002679 on localhost:11234 at 13:24:42.949
  starting worker pid=3002678 on localhost:11234 at 13:24:42.974
  2026-01-02 13:24:50.544115 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:24:54.314303 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:24:54.32973 gimli1 2929476 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-02 13:24:54.337487 gimli1 2929476 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3014552 on localhost:11234 at 13:24:54.652
  2026-01-02 13:24:58.324366 gimli1 2929476 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.986 s.} ... 
  2026-01-02 13:24:58.326688 gimli1 2929476 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3017149 on localhost:11234 at 13:24:58.630
  2026-01-02 13:25:01.554305 gimli1 2929476 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.22800000000001 s.
  2026-01-02 13:25:01.556506 gimli1 2929476 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3020110 on localhost:11234 at 13:25:01.926
  2026-01-02 13:25:06.272328 gimli1 2929476 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.71600000000001 s.
  2026-01-02 13:25:06.274415 gimli1 2929476 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 11.945 s.
  2026-01-02 13:25:06.282996 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:25:06.302038 gimli1 2929476 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-02 13:25:06.331893 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:25:06.354089 gimli1 2929476 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-02 13:25:06.475627 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:25:06.497784 gimli1 2929476 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-02 13:25:06.51517 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:25:10.336246 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:25:10.350083 gimli1 2929476 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-02 13:25:10.366101 gimli1 2929476 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-31 r89265), detected cores: 64
  2026-01-02 13:25:10.385271 gimli1 2929476 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-02 13:25:10.431703 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-02 13:25:14.126878 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:25:18.221625 gimli1 2929476 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3034570 on localhost:11234 at 13:25:18.677
  2026-01-02 13:25:21.348202 gimli1 2929476 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.127 s.
  2026-01-02 13:25:21.350481 gimli1 2929476 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3037885 on localhost:11234 at 13:25:21.683
  2026-01-02 13:25:24.934385 gimli1 2929476 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.584 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-02 13:25:24.983488 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:25:27.700607 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:25:31.617751 gimli1 2929476 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3046891 on localhost:11234 at 13:25:32.002
  2026-01-02 13:25:34.521175 gimli1 2929476 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.904 s.
  2026-01-02 13:25:34.547262 gimli1 2929476 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-02 13:25:38.360101 gimli1 2929476 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3053914 on localhost:11234 at 13:25:38.687
  2026-01-02 13:25:42.600014 gimli1 2929476 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.238 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