Running ‘testthat.R’ [145s/444s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-26 22:49:08.4103 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-26 22:49:24.530401 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-26 22:49:36.110408 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-26 22:50:02.79345 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:50:13.784366 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:50:28.8768 gannet.stats.ox.ac.uk 622140 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=627396 on localhost:11507 at 22:50:29.471
  2025-12-26 22:50:42.152785 gannet.stats.ox.ac.uk 622140 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 13.276 s.
  2025-12-26 22:50:42.419077 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:50:55.679208 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:51:07.701552 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-26 22:51:19.569707 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:51:32.756306 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:51:44.448699 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:51:52.77544 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:51:52.858649 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:52:08.270106 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:52:08.316254 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:52:08.35639 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:52:08.396866 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:52:08.467737 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:52:08.497675 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:52:08.565941 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:52:08.646268 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:52:23.496615 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  starting worker pid=634692 on localhost:11507 at 22:52:24.242
  starting worker pid=634693 on localhost:11507 at 22:52:24.504
  2025-12-26 22:52:53.845146 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:53:06.752936 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:53:06.782396 gannet.stats.ox.ac.uk 622140 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-26 22:53:06.811966 gannet.stats.ox.ac.uk 622140 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=636813 on localhost:11507 at 22:53:07.285
  2025-12-26 22:53:21.398103 gannet.stats.ox.ac.uk 622140 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 14.574 s.} ... 
  2025-12-26 22:53:21.406602 gannet.stats.ox.ac.uk 622140 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=637217 on localhost:11507 at 22:53:22.280
  2025-12-26 22:53:37.428914 gannet.stats.ox.ac.uk 622140 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 16.022 s.
  2025-12-26 22:53:37.437695 gannet.stats.ox.ac.uk 622140 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=637846 on localhost:11507 at 22:53:38.437
  2025-12-26 22:53:57.123574 gannet.stats.ox.ac.uk 622140 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 19.686 s.
  2025-12-26 22:53:57.131742 gannet.stats.ox.ac.uk 622140 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 50.349 s.
  2025-12-26 22:53:57.153689 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:53:57.198775 gannet.stats.ox.ac.uk 622140 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-26 22:53:57.281587 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:53:57.322799 gannet.stats.ox.ac.uk 622140 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-26 22:53:57.656408 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:53:57.698889 gannet.stats.ox.ac.uk 622140 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-26 22:53:57.784009 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:54:06.698689 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:54:06.728137 gannet.stats.ox.ac.uk 622140 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-26 22:54:06.801253 gannet.stats.ox.ac.uk 622140 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-26 r89238), detected cores: 24
  2025-12-26 22:54:06.836365 gannet.stats.ox.ac.uk 622140 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-26 22:54:07.032869 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-26 22:54:16.907442 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:54:33.277739 gannet.stats.ox.ac.uk 622140 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=639666 on localhost:11507 at 22:54:34.444
  2025-12-26 22:54:47.260752 gannet.stats.ox.ac.uk 622140 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 13.9829999999999 s.
  2025-12-26 22:54:47.276225 gannet.stats.ox.ac.uk 622140 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=639896 on localhost:11507 at 22:54:48.609
  2025-12-26 22:55:04.743584 gannet.stats.ox.ac.uk 622140 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 17.467 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-26 22:55:05.118037 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:55:16.083339 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:55:33.816705 gannet.stats.ox.ac.uk 622140 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=641447 on localhost:11507 at 22:55:35.264
  2025-12-26 22:55:46.365098 gannet.stats.ox.ac.uk 622140 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 12.548 s.
  2025-12-26 22:55:46.506912 gannet.stats.ox.ac.uk 622140 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-26 22:55:57.147409 gannet.stats.ox.ac.uk 622140 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=642520 on localhost:11507 at 22:55:58.115
  2025-12-26 22:56:13.640608 gannet.stats.ox.ac.uk 622140 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 16.49 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