Running ‘testthat.R’ [139s/261s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GPCERF)
  > 
  > test_check("GPCERF")
  2025-12-22 21:57:38.556257 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Loading required package: nnls
  Saving _problems/test-compute_deriv_nn-21.R
  2025-12-22 21:57:47.162173 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_deriv_weights_gp-17.R
  2025-12-22 21:57:56.965034 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_m_sigma-32.R
  2025-12-22 21:58:10.585884 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 21:58:18.570931 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 21:58:27.161705 gannet.stats.ox.ac.uk 514475 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=518790 on localhost:11101 at 21:58:27.559
  2025-12-22 21:58:35.943547 gannet.stats.ox.ac.uk 514475 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 8.78100000000001 s.
  2025-12-22 21:58:36.040664 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 21:58:44.035494 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 21:58:52.39717 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-compute_weight_gp-49.R
  2025-12-22 21:59:04.146656 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 21:59:13.174246 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 21:59:18.969826 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 21:59:23.577698 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 21:59:23.621475 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 21:59:31.93626 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 21:59:31.99279 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 21:59:32.043366 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 21:59:32.154228 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 21:59:32.217024 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 21:59:32.280203 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 21:59:32.334509 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 21:59:32.396317 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 21:59:39.136753 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  starting worker pid=523941 on localhost:11101 at 21:59:39.651
  starting worker pid=523940 on localhost:11101 at 21:59:39.723
  2025-12-22 21:59:56.866726 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 22:00:05.735506 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 22:00:05.758069 gannet.stats.ox.ac.uk 514475 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-22 22:00:05.814984 gannet.stats.ox.ac.uk 514475 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=525264 on localhost:11101 at 22:00:06.302
  2025-12-22 22:00:13.655185 gannet.stats.ox.ac.uk 514475 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 7.833 s.} ... 
  2025-12-22 22:00:13.659385 gannet.stats.ox.ac.uk 514475 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=525635 on localhost:11101 at 22:00:14.131
  2025-12-22 22:00:21.833248 gannet.stats.ox.ac.uk 514475 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 8.17400000000001 s.
  2025-12-22 22:00:21.837238 gannet.stats.ox.ac.uk 514475 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=525968 on localhost:11101 at 22:00:22.355
  2025-12-22 22:00:31.675673 gannet.stats.ox.ac.uk 514475 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 9.839 s.
  2025-12-22 22:00:31.683465 gannet.stats.ox.ac.uk 514475 GPCERF estimate_cerf_nngp INFO: Done with estimating cerf using nngp approach Wall clock time: 25.925 s.
  2025-12-22 22:00:31.694416 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 22:00:31.717022 gannet.stats.ox.ac.uk 514475 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-22 22:00:31.76209 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 22:00:31.786788 gannet.stats.ox.ac.uk 514475 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-22 22:00:31.846491 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 22:00:31.867239 gannet.stats.ox.ac.uk 514475 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-22 22:00:31.911947 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 22:00:38.26709 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 22:00:38.291032 gannet.stats.ox.ac.uk 514475 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-22 22:00:38.335542 gannet.stats.ox.ac.uk 514475 GPCERF log_system_info INFO: System name: Linux, OS type: unix, machine architecture: x86_64, user: ripley, R Under development (unstable) (2025-12-22 r89219), detected cores: 24
  2025-12-22 22:00:38.35893 gannet.stats.ox.ac.uk 514475 GPCERF estimate_cerf_nngp INFO: Working on estimating cerf using nngp approach ...
  2025-12-22 22:00:38.464274 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  Saving _problems/test-estimate_gps-15.R
  2025-12-22 22:00:46.056387 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 22:00:53.899512 gannet.stats.ox.ac.uk 514475 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=527663 on localhost:11101 at 22:00:54.510
  2025-12-22 22:01:01.947515 gannet.stats.ox.ac.uk 514475 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 8.048 s.
  2025-12-22 22:01:01.955532 gannet.stats.ox.ac.uk 514475 GPCERF estimate_mean_sd_nn INFO: Working on estimating mean and sd using nngp approach ...
  starting worker pid=528016 on localhost:11101 at 22:01:02.456
  2025-12-22 22:01:10.818244 gannet.stats.ox.ac.uk 514475 GPCERF estimate_mean_sd_nn INFO: Done with estimating mean and sd using nngp approach Wall clock time: 8.863 s.
  Saving _problems/test-estimate_mean_sd_nn-37.R
  2025-12-22 22:01:10.919308 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 22:01:16.247048 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 22:01:24.185433 gannet.stats.ox.ac.uk 514475 GPCERF estimate_noise_nn INFO: Working on estimating residual error with nngp ...
  starting worker pid=529793 on localhost:11101 at 22:01:24.684
  2025-12-22 22:01:31.874528 gannet.stats.ox.ac.uk 514475 GPCERF estimate_noise_nn INFO: Done with estimating residual error with nngpWall clock time: 7.68899999999999 s.
  2025-12-22 22:01:31.970045 gannet.stats.ox.ac.uk 514475 GPCERF estimate_gps INFO: Started estimating GPS values ... 
  2025-12-22 22:01:40.164582 gannet.stats.ox.ac.uk 514475 GPCERF find_optimal_nn INFO: Started finding optimal values ... 
  starting worker pid=530687 on localhost:11101 at 22:01:40.671
  2025-12-22 22:01:50.075663 gannet.stats.ox.ac.uk 514475 GPCERF find_optimal_nn INFO: Done with finding optimal value.(Wall clock time: 9.90700000000001 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