Running ‘testthat.R’ [70s/100s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-29 13:23:09.821448 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-29 13:23:13.756898 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-29 13:23:17.325604 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-29 13:23:23.335972 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:23:26.548952 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:23:30.385463 gimli1 1722069 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1736514 on localhost:11112 at 13:23:30.706
  2025-12-29 13:23:33.15023 gimli1 1722069 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.765 s.
  2025-12-29 13:23:33.187103 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:23:36.03705 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:23:39.238545 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-29 13:23:42.538382 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:23:45.941291 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:23:48.009316 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:23:50.208912 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:23:50.242965 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:23:53.417752 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:23:53.448743 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:23:53.477667 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:23:53.510965 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:23:53.54766 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:23:53.582003 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:23:53.617625 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:23:53.660289 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:23:57.026581 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  starting worker pid=1757784 on localhost:11112 at 13:23:57.378
  starting worker pid=1757785 on localhost:11112 at 13:23:57.481
  2025-12-29 13:24:03.138606 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:24:06.265816 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:24:06.285331 gimli1 1722069 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 13:24:06.292539 gimli1 1722069 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1766565 on localhost:11112 at 13:24:06.705
  2025-12-29 13:24:10.270199 gimli1 1722069 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.976 s.} ... 
  2025-12-29 13:24:10.272239 gimli1 1722069 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1770024 on localhost:11112 at 13:24:10.559
  2025-12-29 13:24:12.941811 gimli1 1722069 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.669 s.
  2025-12-29 13:24:12.951933 gimli1 1722069 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1772722 on localhost:11112 at 13:24:13.266
  2025-12-29 13:24:16.164355 gimli1 1722069 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.21299999999999 s.
  2025-12-29 13:24:16.166169 gimli1 1722069 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.88099999999999 s.
  2025-12-29 13:24:16.170962 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:24:16.182155 gimli1 1722069 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 13:24:16.193052 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:24:16.202141 gimli1 1722069 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 13:24:16.250353 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:24:16.266021 gimli1 1722069 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 13:24:16.287604 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:24:18.374979 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:24:18.38994 gimli1 1722069 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 13:24:18.400933 gimli1 1722069 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2025-12-28 r89254), detected cores: 64
  2025-12-29 13:24:18.409005 gimli1 1722069 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-29 13:24:18.425155 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-29 13:24:21.597116 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:24:24.966622 gimli1 1722069 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1784237 on localhost:11112 at 13:24:25.287
  2025-12-29 13:24:27.610822 gimli1 1722069 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.64399999999999 s.
  2025-12-29 13:24:27.612786 gimli1 1722069 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1786300 on localhost:11112 at 13:24:27.953
  2025-12-29 13:24:30.748042 gimli1 1722069 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.13499999999999 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-29 13:24:30.787903 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:24:33.491572 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:24:36.45698 gimli1 1722069 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1792600 on localhost:11112 at 13:24:36.793
  2025-12-29 13:24:39.262384 gimli1 1722069 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.806 s.
  2025-12-29 13:24:39.295335 gimli1 1722069 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-29 13:24:42.479157 gimli1 1722069 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1796676 on localhost:11112 at 13:24:42.798
  2025-12-29 13:24:46.541201 gimli1 1722069 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.06100000000001 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