Running ‘testthat.R’ [76s/125s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-31 13:23:26.728182 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-31 13:23:31.687625 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-31 13:23:36.506168 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-31 13:23:44.955094 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:23:49.61062 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:23:53.708895 gimli1 2130529 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=2159751 on localhost:11190 at 13:23:54.039
  2025-12-31 13:23:56.630391 gimli1 2130529 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.922 s.
  2025-12-31 13:23:56.715394 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:24:01.452706 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:24:05.747274 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-31 13:24:09.944829 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:24:14.04154 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:17.261528 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:24:19.955301 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:19.986639 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:24:24.32628 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:24.359106 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:24.389824 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:24.417517 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:24.45044 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:24.471028 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:24.498537 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:24.538177 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:24:28.541392 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  starting worker pid=2207665 on localhost:11190 at 13:24:28.973
  starting worker pid=2207662 on localhost:11190 at 13:24:29.011
  2025-12-31 13:24:35.261054 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:24:39.019085 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:39.033755 gimli1 2130529 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-31 13:24:39.041136 gimli1 2130529 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=2215417 on localhost:11190 at 13:24:39.442
  2025-12-31 13:24:42.628414 gimli1 2130529 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.586 s.} ... 
  2025-12-31 13:24:42.635924 gimli1 2130529 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=2218233 on localhost:11190 at 13:24:43.110
  2025-12-31 13:24:46.992104 gimli1 2130529 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.357 s.
  2025-12-31 13:24:46.994222 gimli1 2130529 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=2221438 on localhost:11190 at 13:24:47.360
  2025-12-31 13:24:51.308177 gimli1 2130529 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.31400000000001 s.
  2025-12-31 13:24:51.309971 gimli1 2130529 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 12.276 s.
  2025-12-31 13:24:51.318405 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:51.333963 gimli1 2130529 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-31 13:24:51.368785 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:51.389646 gimli1 2130529 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-31 13:24:51.547374 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:51.569726 gimli1 2130529 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-31 13:24:51.586258 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:24:54.089998 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:54.109789 gimli1 2130529 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-31 13:24:54.145163 gimli1 2130529 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-30 r89261), detected cores: 64
  2025-12-31 13:24:54.16584 gimli1 2130529 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-31 13:24:54.215137 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-31 13:24:58.442689 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:25:02.284842 gimli1 2130529 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=2235085 on localhost:11190 at 13:25:02.603
  2025-12-31 13:25:05.3993 gimli1 2130529 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.11499999999999 s.
  2025-12-31 13:25:05.407752 gimli1 2130529 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=2238544 on localhost:11190 at 13:25:05.701
  2025-12-31 13:25:09.000805 gimli1 2130529 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.59899999999999 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-31 13:25:09.076374 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:25:11.931469 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:25:15.810755 gimli1 2130529 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=2248095 on localhost:11190 at 13:25:16.258
  2025-12-31 13:25:19.131647 gimli1 2130529 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.321 s.
  2025-12-31 13:25:19.177419 gimli1 2130529 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-31 13:25:23.320139 gimli1 2130529 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=2255520 on localhost:11190 at 13:25:23.793
  2025-12-31 13:25:28.373424 gimli1 2130529 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 5.051 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