Running ‘testthat.R’ [83s/152s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-07 05:52:14.359857 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-07 05:52:20.045834 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-07 05:52:25.392892 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-07 05:52:34.357755 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:52:39.072313 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:52:43.563875 gimli2 3383799 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3394364 on localhost:11956 at 05:52:43.935
  2026-01-07 05:52:47.861479 gimli2 3383799 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.297 s.
  2026-01-07 05:52:47.951594 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:52:52.307539 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:52:57.765159 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-07 05:53:03.313407 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:53:08.207243 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:12.353824 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:53:15.707112 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:15.73402 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:53:20.245301 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:20.276569 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:20.297124 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:20.33072 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:20.354787 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:20.388278 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:20.429523 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:20.471643 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:53:24.65668 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  starting worker pid=3404209 on localhost:11956 at 05:53:24.972
  starting worker pid=3404208 on localhost:11956 at 05:53:25.098
  2026-01-07 05:53:33.402274 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:53:38.005343 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:38.013165 gimli2 3383799 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 05:53:38.020826 gimli2 3383799 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3407430 on localhost:11956 at 05:53:38.423
  2026-01-07 05:53:43.297664 gimli2 3383799 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 5.27500000000001 s.} ... 
  2026-01-07 05:53:43.300836 gimli2 3383799 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3408703 on localhost:11956 at 05:53:43.714
  2026-01-07 05:53:47.290467 gimli2 3383799 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.98899999999999 s.
  2026-01-07 05:53:47.292852 gimli2 3383799 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3410376 on localhost:11956 at 05:53:47.670
  2026-01-07 05:53:52.94118 gimli2 3383799 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 5.64800000000001 s.
  2026-01-07 05:53:52.943611 gimli2 3383799 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 14.931 s.
  2026-01-07 05:53:52.948986 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:52.963566 gimli2 3383799 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 05:53:52.983352 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:52.992322 gimli2 3383799 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 05:53:53.058511 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:53.067342 gimli2 3383799 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 05:53:53.093966 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:53:56.814679 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:56.827197 gimli2 3383799 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 05:53:56.852689 gimli2 3383799 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R version 4.5.2 Patched (2026-01-05 r89280), detected cores: 32
  2026-01-07 05:53:56.865293 gimli2 3383799 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 05:53:56.929239 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-07 05:54:02.274351 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:54:07.719117 gimli2 3383799 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3415269 on localhost:11956 at 05:54:08.123
  2026-01-07 05:54:12.190488 gimli2 3383799 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.471 s.
  2026-01-07 05:54:12.192771 gimli2 3383799 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3416351 on localhost:11956 at 05:54:12.611
  2026-01-07 05:54:16.895272 gimli2 3383799 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.702 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-07 05:54:16.960993 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:54:20.649861 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:54:25.366387 gimli2 3383799 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3419951 on localhost:11956 at 05:54:25.696
  2026-01-07 05:54:29.361293 gimli2 3383799 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.995 s.
  2026-01-07 05:54:29.415876 gimli2 3383799 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 05:54:34.66923 gimli2 3383799 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3422324 on localhost:11956 at 05:54:35.178
  2026-01-07 05:54:41.229543 gimli2 3383799 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 6.55700000000002 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