Running ‘testthat.R’ [70s/99s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-11 13:23:54.719216 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-11 13:23:58.092369 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-11 13:24:01.796921 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-11 13:24:07.594402 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:24:10.810829 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:24:14.294202 gimli1 3181068 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3195317 on localhost:11258 at 13:24:14.622
  2026-01-11 13:24:16.880079 gimli1 3181068 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.586 s.
  2026-01-11 13:24:16.907819 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:24:19.88448 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:24:23.569129 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-11 13:24:27.07703 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:24:30.191596 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:24:32.382421 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:24:34.899933 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:24:34.939927 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:24:38.094106 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:24:38.131172 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:24:38.158776 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:24:38.189667 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:24:38.216478 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:24:38.240955 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:24:38.269964 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:24:38.301205 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:24:41.327774 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  starting worker pid=3216499 on localhost:11258 at 13:24:41.679
  starting worker pid=3216501 on localhost:11258 at 13:24:41.715
  2026-01-11 13:24:47.408525 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:24:50.748382 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:24:50.766242 gimli1 3181068 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-11 13:24:50.772877 gimli1 3181068 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3225309 on localhost:11258 at 13:24:51.117
  2026-01-11 13:24:54.217204 gimli1 3181068 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.443 s.} ... 
  2026-01-11 13:24:54.219234 gimli1 3181068 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3228753 on localhost:11258 at 13:24:54.525
  2026-01-11 13:24:57.304408 gimli1 3181068 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.08499999999999 s.
  2026-01-11 13:24:57.308022 gimli1 3181068 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3231350 on localhost:11258 at 13:24:57.565
  2026-01-11 13:25:00.621734 gimli1 3181068 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.31399999999999 s.
  2026-01-11 13:25:00.623459 gimli1 3181068 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.857 s.
  2026-01-11 13:25:00.626593 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:25:00.642406 gimli1 3181068 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-11 13:25:00.655929 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:25:00.674866 gimli1 3181068 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-11 13:25:00.757696 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:25:00.777152 gimli1 3181068 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-11 13:25:00.790485 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:25:03.164173 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:25:03.182313 gimli1 3181068 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-11 13:25:03.19954 gimli1 3181068 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-10 r89298), detected cores: 64
  2026-01-11 13:25:03.212884 gimli1 3181068 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-11 13:25:03.231138 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-11 13:25:06.475257 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:25:09.642612 gimli1 3181068 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3243037 on localhost:11258 at 13:25:09.895
  2026-01-11 13:25:12.137145 gimli1 3181068 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.494 s.
  2026-01-11 13:25:12.139302 gimli1 3181068 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3244913 on localhost:11258 at 13:25:12.535
  2026-01-11 13:25:15.291545 gimli1 3181068 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.152 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-11 13:25:15.335648 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:25:17.45114 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:25:20.497377 gimli1 3181068 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3251213 on localhost:11258 at 13:25:20.779
  2026-01-11 13:25:23.243449 gimli1 3181068 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.74600000000001 s.
  2026-01-11 13:25:23.281597 gimli1 3181068 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-11 13:25:26.150746 gimli1 3181068 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3254565 on localhost:11258 at 13:25:26.493
  2026-01-11 13:25:30.013587 gimli1 3181068 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.861 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