Running ‘testthat.R’ [75s/118s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-01 13:24:50.14624 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-01 13:24:54.878902 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-01 13:24:59.07335 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-01 13:25:06.34837 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:25:10.512071 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:25:15.143019 gimli1 2530452 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=2551879 on localhost:11461 at 13:25:15.507
  2026-01-01 13:25:18.612159 gimli1 2530452 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.469 s.
  2026-01-01 13:25:18.67049 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:25:22.694604 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:25:26.82302 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-01 13:25:31.599454 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:25:35.448593 gimli1 2530452 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-01 13:25:37.95031 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:25:40.251519 gimli1 2530452 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-01 13:25:40.295149 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:25:44.765954 gimli1 2530452 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-01 13:25:44.797771 gimli1 2530452 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-01 13:25:44.823881 gimli1 2530452 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-01 13:25:44.861748 gimli1 2530452 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-01 13:25:44.897393 gimli1 2530452 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-01 13:25:44.933539 gimli1 2530452 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-01 13:25:44.9701 gimli1 2530452 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-01 13:25:45.002874 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:25:48.641086 gimli1 2530452 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=2582484 on localhost:11461 at 13:25:48.977
  starting worker pid=2582485 on localhost:11461 at 13:25:49.032
  2026-01-01 13:25:56.103049 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:26:00.485298 gimli1 2530452 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-01 13:26:00.509542 gimli1 2530452 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-01 13:26:00.516737 gimli1 2530452 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=2591150 on localhost:11461 at 13:26:00.842
  2026-01-01 13:26:04.019167 gimli1 2530452 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.50099999999999 s.} ... 
  2026-01-01 13:26:04.021142 gimli1 2530452 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=2594152 on localhost:11461 at 13:26:04.366
  2026-01-01 13:26:06.888097 gimli1 2530452 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.86699999999999 s.
  2026-01-01 13:26:06.896068 gimli1 2530452 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=2597766 on localhost:11461 at 13:26:07.216
  2026-01-01 13:26:10.813878 gimli1 2530452 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.917 s.
  2026-01-01 13:26:10.815614 gimli1 2530452 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 10.306 s.
  2026-01-01 13:26:10.824594 gimli1 2530452 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-01 13:26:10.843691 gimli1 2530452 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-01 13:26:10.854856 gimli1 2530452 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-01 13:26:10.86963 gimli1 2530452 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-01 13:26:10.944817 gimli1 2530452 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-01 13:26:10.965473 gimli1 2530452 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-01 13:26:10.978683 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:26:13.363173 gimli1 2530452 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-01 13:26:13.385469 gimli1 2530452 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-01 13:26:13.400023 gimli1 2530452 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-01 13:26:13.42134 gimli1 2530452 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-01 13:26:13.455305 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-01 13:26:16.789455 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:26:20.115645 gimli1 2530452 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=2615151 on localhost:11461 at 13:26:20.469
  2026-01-01 13:26:23.001466 gimli1 2530452 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.886 s.
  2026-01-01 13:26:23.003435 gimli1 2530452 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=2619956 on localhost:11461 at 13:26:23.347
  2026-01-01 13:26:26.576061 gimli1 2530452 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.572 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-01 13:26:26.670479 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:26:29.308984 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:26:32.944578 gimli1 2530452 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=2633131 on localhost:11461 at 13:26:33.252
  2026-01-01 13:26:35.454763 gimli1 2530452 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.50999999999999 s.
  2026-01-01 13:26:35.479878 gimli1 2530452 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-01 13:26:39.274253 gimli1 2530452 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=2641311 on localhost:11461 at 13:26:39.577
  2026-01-01 13:26:43.676115 gimli1 2530452 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.40000000000001 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