Running ‘testthat.R’ [76s/124s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-30 13:22:56.810354 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-30 13:23:01.209174 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-30 13:23:05.024906 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-30 13:23:11.551783 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:23:15.920294 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:23:20.183732 gimli1 1929286 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1948129 on localhost:11078 at 13:23:20.677
  2025-12-30 13:23:23.431354 gimli1 1929286 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.252 s.
  2025-12-30 13:23:23.4965 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:23:27.197867 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:23:31.295962 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-30 13:23:35.703678 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:23:39.713897 gimli1 1929286 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-30 13:23:41.923379 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:23:45.281844 gimli1 1929286 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-30 13:23:45.313312 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:23:50.160296 gimli1 1929286 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-30 13:23:50.195458 gimli1 1929286 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-30 13:23:50.230874 gimli1 1929286 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-30 13:23:50.261105 gimli1 1929286 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-30 13:23:50.294071 gimli1 1929286 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-30 13:23:50.3255 gimli1 1929286 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-30 13:23:50.362327 gimli1 1929286 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-30 13:23:50.39813 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:23:54.618994 gimli1 1929286 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=1991163 on localhost:11078 at 13:23:55.001
  starting worker pid=1991164 on localhost:11078 at 13:23:55.106
  2025-12-30 13:24:02.004794 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:24:06.355706 gimli1 1929286 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-30 13:24:06.373655 gimli1 1929286 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 13:24:06.381149 gimli1 1929286 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=2008378 on localhost:11078 at 13:24:06.700
  2025-12-30 13:24:11.244123 gimli1 1929286 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.86200000000001 s.} ... 
  2025-12-30 13:24:11.246162 gimli1 1929286 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=2014759 on localhost:11078 at 13:24:11.677
  2025-12-30 13:24:14.554931 gimli1 1929286 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.309 s.
  2025-12-30 13:24:14.556816 gimli1 1929286 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=2018553 on localhost:11078 at 13:24:15.029
  2025-12-30 13:24:18.840131 gimli1 1929286 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.283 s.
  2025-12-30 13:24:18.841669 gimli1 1929286 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 12.468 s.
  2025-12-30 13:24:18.846999 gimli1 1929286 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-30 13:24:18.866109 gimli1 1929286 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 13:24:18.886433 gimli1 1929286 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-30 13:24:18.905587 gimli1 1929286 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 13:24:18.971293 gimli1 1929286 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-30 13:24:18.989506 gimli1 1929286 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 13:24:19.001733 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:24:21.838004 gimli1 1929286 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-30 13:24:21.844683 gimli1 1929286 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 13:24:21.853729 gimli1 1929286 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-30 13:24:21.866149 gimli1 1929286 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-30 13:24:21.88579 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-30 13:24:26.265989 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:24:29.919829 gimli1 1929286 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=2033312 on localhost:11078 at 13:24:30.257
  2025-12-30 13:24:33.212239 gimli1 1929286 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.292 s.
  2025-12-30 13:24:33.214267 gimli1 1929286 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=2036816 on localhost:11078 at 13:24:33.635
  2025-12-30 13:24:36.862445 gimli1 1929286 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.648 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-30 13:24:36.916892 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:24:39.778641 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:24:44.152842 gimli1 1929286 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=2047584 on localhost:11078 at 13:24:44.609
  2025-12-30 13:24:47.981803 gimli1 1929286 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.828 s.
  2025-12-30 13:24:47.999148 gimli1 1929286 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-30 13:24:52.11807 gimli1 1929286 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=2054464 on localhost:11078 at 13:24:52.376
  2025-12-30 13:24:56.774309 gimli1 1929286 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.655 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