Running ‘testthat.R’ [74s/117s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-03 13:24:15.172254 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-03 13:24:19.557801 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-03 13:24:23.610559 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-03 13:24:31.82898 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:24:35.734244 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:24:40.069613 gimli1 3298261 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3318526 on localhost:11344 at 13:24:40.496
  2026-01-03 13:24:43.414035 gimli1 3298261 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.344 s.
  2026-01-03 13:24:43.446049 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:24:47.393934 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:24:51.748445 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-03 13:24:55.534664 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:24:59.185002 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:01.602376 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:25:04.426836 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:04.459098 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:25:07.824126 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:07.860139 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:07.891963 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:07.92508 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:07.970802 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:08.005668 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:08.042133 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:08.075216 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:25:12.084851 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  starting worker pid=3349307 on localhost:11344 at 13:25:12.425
  starting worker pid=3349306 on localhost:11344 at 13:25:12.610
  2026-01-03 13:25:19.163605 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:25:22.545325 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:22.55457 gimli1 3298261 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-03 13:25:22.559966 gimli1 3298261 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3358449 on localhost:11344 at 13:25:22.873
  2026-01-03 13:25:26.092896 gimli1 3298261 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.53099999999999 s.} ... 
  2026-01-03 13:25:26.096794 gimli1 3298261 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3360968 on localhost:11344 at 13:25:26.409
  2026-01-03 13:25:29.027744 gimli1 3298261 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.931 s.
  2026-01-03 13:25:29.031188 gimli1 3298261 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3363202 on localhost:11344 at 13:25:29.341
  2026-01-03 13:25:32.32449 gimli1 3298261 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.294 s.
  2026-01-03 13:25:32.331897 gimli1 3298261 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.77200000000001 s.
  2026-01-03 13:25:32.33779 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:32.354378 gimli1 3298261 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-03 13:25:32.385702 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:32.402526 gimli1 3298261 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-03 13:25:32.516726 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:32.534492 gimli1 3298261 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-03 13:25:32.547154 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:25:35.624982 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:35.645313 gimli1 3298261 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-03 13:25:35.658205 gimli1 3298261 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-02 r89267), detected cores: 64
  2026-01-03 13:25:35.673729 gimli1 3298261 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-03 13:25:35.707484 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-03 13:25:39.959229 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:25:43.986486 gimli1 3298261 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3376269 on localhost:11344 at 13:25:44.330
  2026-01-03 13:25:46.802275 gimli1 3298261 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.816 s.
  2026-01-03 13:25:46.80448 gimli1 3298261 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3380659 on localhost:11344 at 13:25:47.127
  2026-01-03 13:25:50.317631 gimli1 3298261 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.51300000000001 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-03 13:25:50.391852 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:25:53.025192 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:25:56.924766 gimli1 3298261 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3393176 on localhost:11344 at 13:25:57.348
  2026-01-03 13:26:00.018083 gimli1 3298261 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.09299999999999 s.
  2026-01-03 13:26:00.062788 gimli1 3298261 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-03 13:26:03.666002 gimli1 3298261 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3401524 on localhost:11344 at 13:26:03.914
  2026-01-03 13:26:07.794585 gimli1 3298261 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.127 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