Running ‘testthat.R’ [125s/128s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-05 17:37:10.839166 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-05 17:37:14.885158 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-05 17:37:18.796092 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-05 17:37:25.540976 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:37:29.059122 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:37:32.423425 gimli2 3474853 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3482049 on localhost:11919 at 17:37:32.833
  2026-01-05 17:37:37.216291 gimli2 3474853 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.793 s.
  2026-01-05 17:37:37.313059 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:37:41.187397 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:37:44.882318 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-05 17:37:49.131737 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:37:52.751737 gimli2 3474853 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: 32
  2026-01-05 17:37:56.360445 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:37:58.510903 gimli2 3474853 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: 32
  2026-01-05 17:37:58.554003 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:38:02.359997 gimli2 3474853 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: 32
  2026-01-05 17:38:02.391895 gimli2 3474853 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: 32
  2026-01-05 17:38:02.428478 gimli2 3474853 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: 32
  2026-01-05 17:38:02.466357 gimli2 3474853 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: 32
  2026-01-05 17:38:02.49845 gimli2 3474853 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: 32
  2026-01-05 17:38:02.5353 gimli2 3474853 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: 32
  2026-01-05 17:38:02.571473 gimli2 3474853 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: 32
  2026-01-05 17:38:02.59814 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:38:06.145725 gimli2 3474853 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: 32
  starting worker pid=3489564 on localhost:11919 at 17:38:06.514
  starting worker pid=3489563 on localhost:11919 at 17:38:06.620
  2026-01-05 17:38:15.60015 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:38:19.20504 gimli2 3474853 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: 32
  2026-01-05 17:38:19.230483 gimli2 3474853 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 17:38:19.234597 gimli2 3474853 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3493171 on localhost:11919 at 17:38:19.633
  2026-01-05 17:38:23.922529 gimli2 3474853 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.68599999999999 s.} ... 
  2026-01-05 17:38:23.924874 gimli2 3474853 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3494076 on localhost:11919 at 17:38:24.324
  2026-01-05 17:38:28.025831 gimli2 3474853 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.10100000000001 s.
  2026-01-05 17:38:28.028085 gimli2 3474853 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3494986 on localhost:11919 at 17:38:28.522
  2026-01-05 17:38:34.080614 gimli2 3474853 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 6.053 s.
  2026-01-05 17:38:34.083931 gimli2 3474853 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 14.853 s.
  2026-01-05 17:38:34.089564 gimli2 3474853 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: 32
  2026-01-05 17:38:34.099823 gimli2 3474853 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 17:38:34.13809 gimli2 3474853 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: 32
  2026-01-05 17:38:34.151738 gimli2 3474853 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 17:38:34.257429 gimli2 3474853 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: 32
  2026-01-05 17:38:34.268487 gimli2 3474853 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 17:38:34.305341 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:38:37.192025 gimli2 3474853 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: 32
  2026-01-05 17:38:37.203069 gimli2 3474853 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 17:38:37.233983 gimli2 3474853 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: 32
  2026-01-05 17:38:37.242653 gimli2 3474853 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-05 17:38:37.30741 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-05 17:38:40.762481 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:38:44.202179 gimli2 3474853 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3499313 on localhost:11919 at 17:38:44.580
  2026-01-05 17:38:48.552042 gimli2 3474853 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.349 s.
  2026-01-05 17:38:48.554399 gimli2 3474853 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3500510 on localhost:11919 at 17:38:48.930
  2026-01-05 17:38:53.698344 gimli2 3474853 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.14399999999999 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-05 17:38:53.802786 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:38:56.067628 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:38:59.610573 gimli2 3474853 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3503730 on localhost:11919 at 17:39:00.059
  2026-01-05 17:39:04.054821 gimli2 3474853 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.444 s.
  2026-01-05 17:39:04.109214 gimli2 3474853 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-05 17:39:07.786808 gimli2 3474853 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3506699 on localhost:11919 at 17:39:08.109
  2026-01-05 17:39:13.846909 gimli2 3474853 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 6.05800000000001 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