Running 'testthat.R' [145s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2026-01-07 09:45:00.377953 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2026-01-07 09:45:06.579208 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2026-01-07 09:45:12.089938 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2026-01-07 09:45:20.893808 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:45:26.706987 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:45:32.390597 CRANWIN3 94128 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=64548 on localhost:11519 at 09:45:32.636
  2026-01-07 09:45:35.313287 CRANWIN3 94128 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.92 s.
  2026-01-07 09:45:35.359963 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:45:40.810236 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:45:46.427722 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2026-01-07 09:45:51.995621 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:45:57.396928 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:00.659471 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:46:04.628317 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:04.638464 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:46:10.41802 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:10.431782 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:10.446358 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:10.461432 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:10.476509 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:10.491818 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:10.507116 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:10.524061 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:46:16.122667 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  starting worker pid=35092 on localhost:11519 at 09:46:16.394
  starting worker pid=61180 on localhost:11519 at 09:46:16.394
  2026-01-07 09:46:23.464277 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:46:29.535601 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:29.538266 CRANWIN3 94128 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 09:46:29.542183 CRANWIN3 94128 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=103296 on localhost:11519 at 09:46:29.820
  2026-01-07 09:46:32.704279 CRANWIN3 94128 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.14999999999999 s.} ... 
  2026-01-07 09:46:32.706837 CRANWIN3 94128 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=107688 on localhost:11519 at 09:46:32.959
  2026-01-07 09:46:35.261713 CRANWIN3 94128 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.57000000000001 s.
  2026-01-07 09:46:35.265539 CRANWIN3 94128 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=45152 on localhost:11519 at 09:46:35.506
  2026-01-07 09:46:38.801665 CRANWIN3 94128 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.53 s.
  2026-01-07 09:46:38.804796 CRANWIN3 94128 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 9.26000000000001 s.
  2026-01-07 09:46:38.809965 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:38.813043 CRANWIN3 94128 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 09:46:38.827097 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:38.829845 CRANWIN3 94128 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 09:46:38.86132 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:38.864485 CRANWIN3 94128 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 09:46:38.879274 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:46:43.509154 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:43.511426 CRANWIN3 94128 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 09:46:43.521788 CRANWIN3 94128 GPCERF log_system_info INFO: System name: Windows, OS type: windows, machine architecture: x86-64, user: CRAN, R Under development (unstable) (2026-01-06 r89281 ucrt), detected cores: 96
  2026-01-07 09:46:43.524313 CRANWIN3 94128 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2026-01-07 09:46:43.555696 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2026-01-07 09:46:48.462633 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:46:53.787782 CRANWIN3 94128 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=14444 on localhost:11519 at 09:46:54.054
  2026-01-07 09:46:56.720936 CRANWIN3 94128 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 2.92 s.
  2026-01-07 09:46:56.723528 CRANWIN3 94128 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=64252 on localhost:11519 at 09:46:56.969
  2026-01-07 09:46:59.742616 CRANWIN3 94128 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 3.03 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2026-01-07 09:46:59.799379 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:47:04.318071 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:47:10.139357 CRANWIN3 94128 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=70692 on localhost:11519 at 09:47:10.395
  2026-01-07 09:47:13.157881 CRANWIN3 94128 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 3.02000000000001 s.
  2026-01-07 09:47:13.19039 CRANWIN3 94128 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2026-01-07 09:47:18.512842 CRANWIN3 94128 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=45608 on localhost:11519 at 09:47:18.729
  2026-01-07 09:47:21.928186 CRANWIN3 94128 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 3.42000000000002 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