Running ‘testthat.R’ [75s/110s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-23 13:24:26.048886 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-23 13:24:31.25709 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-23 13:24:35.139713 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-23 13:24:41.325145 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:24:44.721633 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:24:48.517274 gimli1 1117501 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1135548 on localhost:11372 at 13:24:48.847
  2025-12-23 13:24:51.336248 gimli1 1117501 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.819 s.
  2025-12-23 13:24:51.389535 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:24:54.627087 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:24:58.242441 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-23 13:25:02.333009 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:25:06.228481 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:08.717873 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:25:11.416336 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:11.456015 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:25:14.837698 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:14.869707 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:14.893254 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:14.924941 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:14.952531 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:14.981845 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:15.017291 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:15.054103 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:25:18.866117 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  starting worker pid=1162231 on localhost:11372 at 13:25:19.219
  starting worker pid=1162232 on localhost:11372 at 13:25:19.276
  2025-12-23 13:25:25.730268 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:25:29.817482 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:29.841824 gimli1 1117501 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-23 13:25:29.849246 gimli1 1117501 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1174520 on localhost:11372 at 13:25:30.294
  2025-12-23 13:25:33.318832 gimli1 1117501 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.468 s.} ... 
  2025-12-23 13:25:33.321603 gimli1 1117501 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1177945 on localhost:11372 at 13:25:33.708
  2025-12-23 13:25:36.338597 gimli1 1117501 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.017 s.
  2025-12-23 13:25:36.342312 gimli1 1117501 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1181429 on localhost:11372 at 13:25:36.614
  2025-12-23 13:25:39.800662 gimli1 1117501 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.459 s.
  2025-12-23 13:25:39.802395 gimli1 1117501 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.95999999999999 s.
  2025-12-23 13:25:39.8096 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:39.825687 gimli1 1117501 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-23 13:25:39.83814 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:39.857236 gimli1 1117501 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-23 13:25:39.900395 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:39.921381 gimli1 1117501 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-23 13:25:39.938646 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:25:42.875596 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:42.897599 gimli1 1117501 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-23 13:25:42.916953 gimli1 1117501 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-22 r89219), detected cores: 64
  2025-12-23 13:25:42.933424 gimli1 1117501 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-23 13:25:43.012627 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-23 13:25:46.767437 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:25:50.154705 gimli1 1117501 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1195280 on localhost:11372 at 13:25:50.453
  2025-12-23 13:25:52.998559 gimli1 1117501 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.84399999999999 s.
  2025-12-23 13:25:53.000663 gimli1 1117501 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1199145 on localhost:11372 at 13:25:53.332
  2025-12-23 13:25:56.015902 gimli1 1117501 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.015 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-23 13:25:56.08518 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:25:58.636739 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:26:02.654027 gimli1 1117501 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1213175 on localhost:11372 at 13:26:03.046
  2025-12-23 13:26:05.304063 gimli1 1117501 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.65000000000001 s.
  2025-12-23 13:26:05.338497 gimli1 1117501 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-23 13:26:08.759477 gimli1 1117501 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1221963 on localhost:11372 at 13:26:09.069
  2025-12-23 13:26:12.704187 gimli1 1117501 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.943 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