Running ‘testthat.R’ [72s/101s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-27 13:24:03.993717 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-27 13:24:08.485692 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-27 13:24:12.106765 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-27 13:24:17.781682 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:24:20.883537 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:24:24.380453 gimli1 1282529 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1300154 on localhost:11292 at 13:24:24.704
  2025-12-27 13:24:26.977822 gimli1 1282529 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.598 s.
  2025-12-27 13:24:27.031385 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:24:30.231757 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:24:33.258945 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-27 13:24:37.555163 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:24:40.476579 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:24:42.532582 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:24:44.888242 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:24:44.923049 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:24:48.366812 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:24:48.395428 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:24:48.424807 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:24:48.45689 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:24:48.483408 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:24:48.515891 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:24:48.549745 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:24:48.584151 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:24:51.893603 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  starting worker pid=1323095 on localhost:11292 at 13:24:52.250
  starting worker pid=1323096 on localhost:11292 at 13:24:52.308
  2025-12-27 13:24:57.388757 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:25:00.583851 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:25:00.597869 gimli1 1282529 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 13:25:00.605049 gimli1 1282529 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1331523 on localhost:11292 at 13:25:01.037
  2025-12-27 13:25:04.009169 gimli1 1282529 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.403 s.} ... 
  2025-12-27 13:25:04.011205 gimli1 1282529 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1334825 on localhost:11292 at 13:25:04.297
  2025-12-27 13:25:06.652157 gimli1 1282529 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.64099999999999 s.
  2025-12-27 13:25:06.654252 gimli1 1282529 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1337676 on localhost:11292 at 13:25:06.966
  2025-12-27 13:25:09.894333 gimli1 1282529 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.23999999999999 s.
  2025-12-27 13:25:09.896288 gimli1 1282529 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.29799999999999 s.
  2025-12-27 13:25:09.901411 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:25:09.917627 gimli1 1282529 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 13:25:09.935841 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:25:09.953684 gimli1 1282529 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 13:25:10.008918 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:25:10.057178 gimli1 1282529 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 13:25:10.08526 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:25:12.429801 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:25:12.444536 gimli1 1282529 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 13:25:12.461338 gimli1 1282529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-26 r89238), detected cores: 64
  2025-12-27 13:25:12.476707 gimli1 1282529 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-27 13:25:12.50549 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-27 13:25:15.620113 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:25:19.621243 gimli1 1282529 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1347080 on localhost:11292 at 13:25:19.896
  2025-12-27 13:25:22.38005 gimli1 1282529 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.759 s.
  2025-12-27 13:25:22.381865 gimli1 1282529 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1348816 on localhost:11292 at 13:25:22.775
  2025-12-27 13:25:25.888666 gimli1 1282529 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.50700000000001 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-27 13:25:25.930932 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:25:28.297944 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:25:31.21196 gimli1 1282529 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1356259 on localhost:11292 at 13:25:31.509
  2025-12-27 13:25:33.975901 gimli1 1282529 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.76400000000001 s.
  2025-12-27 13:25:33.995134 gimli1 1282529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-27 13:25:37.297732 gimli1 1282529 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1362346 on localhost:11292 at 13:25:37.499
  2025-12-27 13:25:41.187675 gimli1 1282529 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.889 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