Running ‘testthat.R’ [75s/121s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-24 13:24:14.82521 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-24 13:24:18.765356 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-24 13:24:22.787526 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-24 13:24:30.010002 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:24:33.442814 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:24:37.588448 gimli1 1002188 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1021520 on localhost:11336 at 13:24:38.085
  2025-12-24 13:24:41.232173 gimli1 1002188 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.644 s.
  2025-12-24 13:24:41.282435 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:24:45.268605 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:24:49.746952 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-24 13:24:54.154031 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:24:58.094512 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:00.520662 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:25:03.312725 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:03.34093 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:25:07.033573 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:07.065278 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:07.101291 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:07.133329 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:07.16809 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:07.201195 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:07.23877 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:07.273651 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:25:11.551703 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  starting worker pid=1052692 on localhost:11336 at 13:25:11.837
  starting worker pid=1052693 on localhost:11336 at 13:25:11.963
  2025-12-24 13:25:18.547432 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:25:22.248927 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:22.261548 gimli1 1002188 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 13:25:22.264426 gimli1 1002188 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1063492 on localhost:11336 at 13:25:22.686
  2025-12-24 13:25:25.903927 gimli1 1002188 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.63799999999999 s.} ... 
  2025-12-24 13:25:25.905946 gimli1 1002188 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1066472 on localhost:11336 at 13:25:26.280
  2025-12-24 13:25:29.66792 gimli1 1002188 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.761 s.
  2025-12-24 13:25:29.669896 gimli1 1002188 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1068655 on localhost:11336 at 13:25:30.017
  2025-12-24 13:25:34.172103 gimli1 1002188 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.50200000000001 s.
  2025-12-24 13:25:34.173824 gimli1 1002188 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 11.912 s.
  2025-12-24 13:25:34.181077 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:34.197576 gimli1 1002188 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 13:25:34.215443 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:34.237728 gimli1 1002188 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 13:25:34.265872 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:34.30668 gimli1 1002188 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 13:25:34.326458 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:25:36.884197 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:36.901524 gimli1 1002188 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 13:25:36.917577 gimli1 1002188 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-23 r89222), detected cores: 64
  2025-12-24 13:25:36.937488 gimli1 1002188 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-24 13:25:36.976451 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-24 13:25:40.680453 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:25:44.785405 gimli1 1002188 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1079498 on localhost:11336 at 13:25:45.101
  2025-12-24 13:25:47.984449 gimli1 1002188 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.199 s.
  2025-12-24 13:25:47.986395 gimli1 1002188 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1083233 on localhost:11336 at 13:25:48.396
  2025-12-24 13:25:51.828115 gimli1 1002188 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.842 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-24 13:25:51.902755 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:25:55.472686 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:25:58.976146 gimli1 1002188 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1095926 on localhost:11336 at 13:25:59.341
  2025-12-24 13:26:02.284359 gimli1 1002188 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.30799999999999 s.
  2025-12-24 13:26:02.319506 gimli1 1002188 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-24 13:26:06.675208 gimli1 1002188 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1104721 on localhost:11336 at 13:26:07.032
  2025-12-24 13:26:11.344097 gimli1 1002188 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.65900000000001 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