Running ‘testthat.R’ [72s/104s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-06 13:23:58.780021 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-06 13:24:02.888737 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-06 13:24:07.113197 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-06 13:24:13.37387 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:24:16.500452 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:24:20.350703 gimli1 302408 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=318194 on localhost:11279 at 13:24:20.644
  2026-01-06 13:24:23.3641 gimli1 302408 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.014 s.
  2026-01-06 13:24:23.398053 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:24:26.792951 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:24:29.710286 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-06 13:24:33.809643 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:24:37.216613 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:24:39.17283 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:24:41.998739 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:24:42.034868 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:24:45.618817 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:24:45.656849 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:24:45.689667 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:24:45.715731 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:24:45.753926 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:24:45.785356 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:24:45.817896 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:24:45.852346 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:24:49.994108 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  starting worker pid=343425 on localhost:11279 at 13:24:50.373
  starting worker pid=343424 on localhost:11279 at 13:24:50.390
  2026-01-06 13:24:55.959943 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:24:58.782716 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:24:58.797651 gimli1 302408 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-06 13:24:58.804965 gimli1 302408 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=351251 on localhost:11279 at 13:24:59.242
  2026-01-06 13:25:01.953555 gimli1 302408 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.14700000000001 s.} ... 
  2026-01-06 13:25:01.955533 gimli1 302408 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=355743 on localhost:11279 at 13:25:02.241
  2026-01-06 13:25:04.575957 gimli1 302408 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.62 s.
  2026-01-06 13:25:04.577903 gimli1 302408 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=360043 on localhost:11279 at 13:25:05.007
  2026-01-06 13:25:08.757339 gimli1 302408 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.18000000000001 s.
  2026-01-06 13:25:08.759049 gimli1 302408 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.962 s.
  2026-01-06 13:25:08.764571 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:25:08.785293 gimli1 302408 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-06 13:25:08.798441 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:25:08.813507 gimli1 302408 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-06 13:25:08.864476 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:25:08.88512 gimli1 302408 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-06 13:25:08.892777 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:25:11.028749 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:25:11.043139 gimli1 302408 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-06 13:25:11.061456 gimli1 302408 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-05 r89278), detected cores: 64
  2026-01-06 13:25:11.075289 gimli1 302408 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-06 13:25:11.106059 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-06 13:25:14.161754 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:25:17.450633 gimli1 302408 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=377975 on localhost:11279 at 13:25:17.709
  2026-01-06 13:25:20.491433 gimli1 302408 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.041 s.
  2026-01-06 13:25:20.493596 gimli1 302408 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=381710 on localhost:11279 at 13:25:20.762
  2026-01-06 13:25:23.59258 gimli1 302408 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.099 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-06 13:25:23.675097 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:25:26.188201 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:25:29.451104 gimli1 302408 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=392806 on localhost:11279 at 13:25:29.834
  2026-01-06 13:25:32.236161 gimli1 302408 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.785 s.
  2026-01-06 13:25:32.279268 gimli1 302408 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-06 13:25:35.6015 gimli1 302408 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=400167 on localhost:11279 at 13:25:35.862
  2026-01-06 13:25:39.554907 gimli1 302408 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.95099999999999 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