Running ‘testthat.R’ [73s/115s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-07 13:24:19.466663 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-07 13:24:24.163218 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-07 13:24:28.859035 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-07 13:24:37.208458 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:24:40.774426 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:24:44.899648 gimli1 681601 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=703522 on localhost:11360 at 13:24:45.240
  2026-01-07 13:24:49.096287 gimli1 681601 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 4.197 s.
  2026-01-07 13:24:49.123286 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:24:52.71522 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:24:56.770869 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-07 13:25:00.682675 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:25:04.946095 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:07.336179 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:25:09.789809 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:09.821629 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:25:14.022148 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:14.061 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:14.084882 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:14.121364 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:14.152984 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:14.178647 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:14.205038 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:14.233453 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:25:17.73947 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  starting worker pid=733892 on localhost:11360 at 13:25:18.130
  starting worker pid=733893 on localhost:11360 at 13:25:18.184
  2026-01-07 13:25:23.958456 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:25:27.387888 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:27.404313 gimli1 681601 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 13:25:27.407221 gimli1 681601 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=741965 on localhost:11360 at 13:25:27.770
  2026-01-07 13:25:31.143276 gimli1 681601 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.732 s.} ... 
  2026-01-07 13:25:31.144967 gimli1 681601 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=744476 on localhost:11360 at 13:25:31.402
  2026-01-07 13:25:34.377383 gimli1 681601 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.233 s.
  2026-01-07 13:25:34.379319 gimli1 681601 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=746786 on localhost:11360 at 13:25:34.752
  2026-01-07 13:25:38.232091 gimli1 681601 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.852 s.
  2026-01-07 13:25:38.233679 gimli1 681601 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 10.829 s.
  2026-01-07 13:25:38.240611 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:38.261304 gimli1 681601 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 13:25:38.274713 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:38.293382 gimli1 681601 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 13:25:38.375172 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:38.398007 gimli1 681601 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 13:25:38.414995 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:25:41.094141 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:41.11122 gimli1 681601 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 13:25:41.126605 gimli1 681601 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-06 r89281), detected cores: 64
  2026-01-07 13:25:41.149414 gimli1 681601 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 13:25:41.187076 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-07 13:25:44.430703 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:25:47.966374 gimli1 681601 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=760141 on localhost:11360 at 13:25:48.360
  2026-01-07 13:25:50.818879 gimli1 681601 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.852 s.
  2026-01-07 13:25:50.820554 gimli1 681601 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=763870 on localhost:11360 at 13:25:51.205
  2026-01-07 13:25:54.225025 gimli1 681601 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.404 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-07 13:25:54.265616 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:25:56.687492 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:26:00.256413 gimli1 681601 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=777249 on localhost:11360 at 13:26:00.530
  2026-01-07 13:26:02.884798 gimli1 681601 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.628 s.
  2026-01-07 13:26:02.899839 gimli1 681601 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 13:26:06.45767 gimli1 681601 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=785436 on localhost:11360 at 13:26:06.714
  2026-01-07 13:26:10.589525 gimli1 681601 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.131 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