Running ‘testthat.R’ [70s/100s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-26 13:23:20.411655 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-26 13:23:24.151938 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-26 13:23:27.865208 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-26 13:23:34.446673 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:23:37.899235 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:23:40.796353 gimli1 1103852 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1118497 on localhost:11147 at 13:23:41.196
  2025-12-26 13:23:43.488106 gimli1 1103852 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.692 s.
  2025-12-26 13:23:43.542757 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:23:46.862825 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:23:50.23242 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-26 13:23:54.314414 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:23:57.554426 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:23:59.738854 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:24:01.921806 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:01.950748 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:24:05.905401 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:05.932829 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:05.960866 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:05.995074 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:06.027741 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:06.060652 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:06.089004 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:06.127402 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:24:09.190436 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  starting worker pid=1142720 on localhost:11147 at 13:24:09.502
  starting worker pid=1142721 on localhost:11147 at 13:24:09.609
  2025-12-26 13:24:14.932372 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:24:18.460579 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:18.481484 gimli1 1103852 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-26 13:24:18.484377 gimli1 1103852 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1149826 on localhost:11147 at 13:24:18.826
  2025-12-26 13:24:21.374636 gimli1 1103852 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 2.89 s.} ... 
  2025-12-26 13:24:21.376509 gimli1 1103852 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1152403 on localhost:11147 at 13:24:21.767
  2025-12-26 13:24:24.246689 gimli1 1103852 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.871 s.
  2025-12-26 13:24:24.248925 gimli1 1103852 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1155748 on localhost:11147 at 13:24:24.564
  2025-12-26 13:24:27.492329 gimli1 1103852 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.24299999999999 s.
  2025-12-26 13:24:27.493992 gimli1 1103852 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.013 s.
  2025-12-26 13:24:27.497039 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:27.511631 gimli1 1103852 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-26 13:24:27.524852 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:27.541487 gimli1 1103852 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-26 13:24:27.582143 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:27.612776 gimli1 1103852 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-26 13:24:27.654174 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:24:29.868053 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:29.883188 gimli1 1103852 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-26 13:24:29.90373 gimli1 1103852 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-24 r89227), detected cores: 64
  2025-12-26 13:24:29.921146 gimli1 1103852 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-26 13:24:29.959941 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-26 13:24:32.96151 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:24:36.212917 gimli1 1103852 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1167682 on localhost:11147 at 13:24:36.581
  2025-12-26 13:24:38.746895 gimli1 1103852 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.53399999999999 s.
  2025-12-26 13:24:38.748532 gimli1 1103852 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1169970 on localhost:11147 at 13:24:39.091
  2025-12-26 13:24:41.904478 gimli1 1103852 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.15600000000001 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-26 13:24:41.94095 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:24:44.11821 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:24:47.35075 gimli1 1103852 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1176156 on localhost:11147 at 13:24:47.613
  2025-12-26 13:24:49.961151 gimli1 1103852 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.61 s.
  2025-12-26 13:24:49.978419 gimli1 1103852 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 13:24:53.129493 gimli1 1103852 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1179941 on localhost:11147 at 13:24:53.543
  2025-12-26 13:24:57.468536 gimli1 1103852 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.337 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