Running ‘testthat.R’ [74s/120s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-04 13:24:10.938179 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-04 13:24:15.77254 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-04 13:24:20.801895 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-04 13:24:29.228573 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:24:33.209021 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:24:37.316973 gimli1 3725723 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3747245 on localhost:11335 at 13:24:37.734
  2026-01-04 13:24:40.472102 gimli1 3725723 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.155 s.
  2026-01-04 13:24:40.529152 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:24:44.20803 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:24:48.726783 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-04 13:24:52.469485 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:24:56.428115 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:24:58.452993 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:25:00.915828 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:00.949935 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:25:04.561905 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:04.58888 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:04.621015 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:04.651492 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:04.689549 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:04.725969 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:04.761854 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:04.799114 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:25:08.830428 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  starting worker pid=3777010 on localhost:11335 at 13:25:09.286
  starting worker pid=3777009 on localhost:11335 at 13:25:09.314
  2026-01-04 13:25:15.547751 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:25:19.660513 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:19.677256 gimli1 3725723 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-04 13:25:19.684587 gimli1 3725723 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3785648 on localhost:11335 at 13:25:20.019
  2026-01-04 13:25:23.512105 gimli1 3725723 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.82599999999999 s.} ... 
  2026-01-04 13:25:23.51406 gimli1 3725723 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3787969 on localhost:11335 at 13:25:23.842
  2026-01-04 13:25:26.498822 gimli1 3725723 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.985 s.
  2026-01-04 13:25:26.500772 gimli1 3725723 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3789767 on localhost:11335 at 13:25:26.839
  2026-01-04 13:25:30.299876 gimli1 3725723 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.79899999999999 s.
  2026-01-04 13:25:30.301629 gimli1 3725723 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 10.625 s.
  2026-01-04 13:25:30.304831 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:30.325535 gimli1 3725723 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-04 13:25:30.342536 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:30.365283 gimli1 3725723 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-04 13:25:30.431084 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:30.443334 gimli1 3725723 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-04 13:25:30.452724 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:25:33.140672 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:33.159842 gimli1 3725723 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-04 13:25:33.179076 gimli1 3725723 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: hornik, R Under development (unstable) (2026-01-03 r89269), detected cores: 64
  2026-01-04 13:25:33.201338 gimli1 3725723 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-04 13:25:33.25029 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-04 13:25:37.566969 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:25:41.105669 gimli1 3725723 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3801767 on localhost:11335 at 13:25:41.398
  2026-01-04 13:25:44.600104 gimli1 3725723 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.494 s.
  2026-01-04 13:25:44.601854 gimli1 3725723 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=3806930 on localhost:11335 at 13:25:45.064
  2026-01-04 13:25:48.990728 gimli1 3725723 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 4.389 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-04 13:25:49.077634 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:25:52.273129 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:25:55.9435 gimli1 3725723 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=3820623 on localhost:11335 at 13:25:56.241
  2026-01-04 13:25:58.674265 gimli1 3725723 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.72799999999999 s.
  2026-01-04 13:25:58.706123 gimli1 3725723 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-04 13:26:02.719007 gimli1 3725723 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=3828590 on localhost:11335 at 13:26:03.087
  2026-01-04 13:26:07.076056 gimli1 3725723 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 4.354 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