Running ‘testthat.R’ [71s/98s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-08 13:24:06.446337 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-08 13:24:10.556013 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-08 13:24:13.55513 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-08 13:24:19.081893 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:24:22.321816 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:24:25.715634 gimli1 1092601 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1107698 on localhost:11296 at 13:24:26.049
  2026-01-08 13:24:28.495779 gimli1 1092601 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.78 s.
  2026-01-08 13:24:28.522604 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:24:32.011323 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:24:35.329487 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-08 13:24:38.394976 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:24:41.300581 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:24:43.351673 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:24:45.664907 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:24:45.698848 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:24:48.685663 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:24:48.713376 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:24:48.738632 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:24:48.770462 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:24:48.8053 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:24:48.830739 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:24:48.869779 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:24:48.905695 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:24:52.704443 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  starting worker pid=1131676 on localhost:11296 at 13:24:53.018
  starting worker pid=1131677 on localhost:11296 at 13:24:53.139
  2026-01-08 13:24:58.047921 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:25:01.00224 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:25:01.011526 gimli1 1092601 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-08 13:25:01.01458 gimli1 1092601 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1140331 on localhost:11296 at 13:25:01.227
  2026-01-08 13:25:03.790326 gimli1 1092601 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 2.774 s.} ... 
  2026-01-08 13:25:03.793536 gimli1 1092601 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1143208 on localhost:11296 at 13:25:04.162
  2026-01-08 13:25:06.34515 gimli1 1092601 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.551 s.
  2026-01-08 13:25:06.346999 gimli1 1092601 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1145833 on localhost:11296 at 13:25:06.620
  2026-01-08 13:25:09.75271 gimli1 1092601 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.40599999999999 s.
  2026-01-08 13:25:09.755019 gimli1 1092601 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 8.743 s.
  2026-01-08 13:25:09.758504 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:25:09.770184 gimli1 1092601 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-08 13:25:09.788766 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:25:09.813581 gimli1 1092601 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-08 13:25:09.894822 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:25:09.913128 gimli1 1092601 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-08 13:25:09.925719 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:25:12.639053 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:25:12.657316 gimli1 1092601 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-08 13:25:12.682295 gimli1 1092601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-07 r89288), detected cores: 64
  2026-01-08 13:25:12.701635 gimli1 1092601 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-08 13:25:12.738085 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-08 13:25:15.800272 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:25:19.138006 gimli1 1092601 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1156599 on localhost:11296 at 13:25:19.404
  2026-01-08 13:25:21.547738 gimli1 1092601 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.41 s.
  2026-01-08 13:25:21.549501 gimli1 1092601 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=1157848 on localhost:11296 at 13:25:21.870
  2026-01-08 13:25:24.67814 gimli1 1092601 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.128 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-08 13:25:24.754254 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:25:27.263242 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:25:30.770106 gimli1 1092601 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=1164511 on localhost:11296 at 13:25:31.128
  2026-01-08 13:25:33.597384 gimli1 1092601 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.827 s.
  2026-01-08 13:25:33.613363 gimli1 1092601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-08 13:25:36.780946 gimli1 1092601 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=1169706 on localhost:11296 at 13:25:37.098
  2026-01-08 13:25:40.699349 gimli1 1092601 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.917 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