Running ‘testthat.R’ [74s/120s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-25 13:23:53.608705 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-25 13:23:59.011287 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-25 13:24:03.059644 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-25 13:24:09.84639 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:24:14.042688 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:24:18.224156 gimli1 904513 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=923332 on localhost:11271 at 13:24:18.610
  2025-12-25 13:24:21.316749 gimli1 904513 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.093 s.
  2025-12-25 13:24:21.34715 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:24:25.262491 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:24:29.206126 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-25 13:24:33.580188 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:24:37.607455 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:24:40.778116 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:24:44.246537 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:24:44.282857 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:24:48.201128 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:24:48.230687 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:24:48.265723 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:24:48.293124 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:24:48.32478 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:24:48.356666 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:24:48.389708 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:24:48.431803 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:24:52.452386 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  starting worker pid=955646 on localhost:11271 at 13:24:52.896
  starting worker pid=955638 on localhost:11271 at 13:24:52.932
  2025-12-25 13:24:59.396076 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:25:02.855176 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:25:02.869335 gimli1 904513 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-25 13:25:02.876803 gimli1 904513 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=964312 on localhost:11271 at 13:25:03.197
  2025-12-25 13:25:06.405987 gimli1 904513 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.52800000000001 s.} ... 
  2025-12-25 13:25:06.408081 gimli1 904513 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=966637 on localhost:11271 at 13:25:06.758
  2025-12-25 13:25:09.380178 gimli1 904513 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.97200000000001 s.
  2025-12-25 13:25:09.382023 gimli1 904513 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=968355 on localhost:11271 at 13:25:09.711
  2025-12-25 13:25:14.428795 gimli1 904513 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.047 s.
  2025-12-25 13:25:14.430549 gimli1 904513 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 11.562 s.
  2025-12-25 13:25:14.433692 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:25:14.453457 gimli1 904513 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-25 13:25:14.465316 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:25:14.485186 gimli1 904513 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-25 13:25:14.52648 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:25:14.560227 gimli1 904513 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-25 13:25:14.601213 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:25:17.570224 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:25:17.585616 gimli1 904513 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-25 13:25:17.601413 gimli1 904513 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-25 13:25:17.617861 gimli1 904513 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-25 13:25:17.658512 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-25 13:25:21.620566 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:25:24.757707 gimli1 904513 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=983619 on localhost:11271 at 13:25:25.171
  2025-12-25 13:25:27.496161 gimli1 904513 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.738 s.
  2025-12-25 13:25:27.498358 gimli1 904513 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=987618 on localhost:11271 at 13:25:27.829
  2025-12-25 13:25:31.050453 gimli1 904513 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.55199999999999 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-25 13:25:31.105474 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:25:33.92004 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:25:37.47591 gimli1 904513 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1001654 on localhost:11271 at 13:25:37.841
  2025-12-25 13:25:40.689112 gimli1 904513 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.21300000000001 s.
  2025-12-25 13:25:40.73646 gimli1 904513 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-25 13:25:44.48526 gimli1 904513 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1010213 on localhost:11271 at 13:25:44.870
  2025-12-25 13:25:49.288451 gimli1 904513 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.801 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