Running ‘testthat.R’ [75s/116s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-05 13:24:19.59475 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-05 13:24:24.747846 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-05 13:24:29.282769 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-05 13:24:37.191965 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:24:40.623192 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:24:44.565866 gimli1 4109263 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=4130244 on localhost:11359 at 13:24:44.948
  2026-01-05 13:24:47.752176 gimli1 4109263 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.186 s.
  2026-01-05 13:24:47.787601 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:24:51.043799 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:24:54.760922 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-05 13:24:58.887911 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:25:02.796906 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:05.157824 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:25:07.573126 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:07.608254 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:25:11.102437 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:11.140465 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:11.165425 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:11.19619 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:11.233129 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:11.266791 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:11.300049 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:11.329911 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:25:15.932798 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  starting worker pid=4158522 on localhost:11359 at 13:25:16.360
  starting worker pid=4158521 on localhost:11359 at 13:25:16.383
  2026-01-05 13:25:22.998717 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:25:27.459835 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:27.474173 gimli1 4109263 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 13:25:27.477715 gimli1 4109263 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=4169791 on localhost:11359 at 13:25:27.876
  2026-01-05 13:25:31.155234 gimli1 4109263 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.676 s.} ... 
  2026-01-05 13:25:31.157409 gimli1 4109263 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=4174270 on localhost:11359 at 13:25:31.465
  2026-01-05 13:25:33.940067 gimli1 4109263 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.783 s.
  2026-01-05 13:25:33.941895 gimli1 4109263 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=4177474 on localhost:11359 at 13:25:34.301
  2026-01-05 13:25:37.932078 gimli1 4109263 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.99000000000001 s.
  2026-01-05 13:25:37.939748 gimli1 4109263 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 10.461 s.
  2026-01-05 13:25:37.943187 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:37.958645 gimli1 4109263 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 13:25:37.981107 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:38.002251 gimli1 4109263 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 13:25:38.067696 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:38.085776 gimli1 4109263 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 13:25:38.108415 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:25:41.356071 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:41.369906 gimli1 4109263 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 13:25:41.378239 gimli1 4109263 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-05 13:25:41.395822 gimli1 4109263 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 13:25:41.412623 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-05 13:25:45.106117 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:25:48.513579 gimli1 4109263 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=4193756 on localhost:11359 at 13:25:48.860
  2026-01-05 13:25:51.424223 gimli1 4109263 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.91000000000001 s.
  2026-01-05 13:25:51.426121 gimli1 4109263 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3706 on localhost:11359 at 13:25:51.883
  2026-01-05 13:25:54.734565 gimli1 4109263 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.309 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-05 13:25:54.789021 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:25:57.349634 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:26:00.91642 gimli1 4109263 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=16984 on localhost:11359 at 13:26:01.260
  2026-01-05 13:26:03.963053 gimli1 4109263 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.047 s.
  2026-01-05 13:26:03.984133 gimli1 4109263 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 13:26:07.940326 gimli1 4109263 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=27087 on localhost:11359 at 13:26:08.275
  2026-01-05 13:26:12.022928 gimli1 4109263 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.081 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