Running ‘testthat.R’ [5s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GpGp)
  > 
  > test_check("GpGp")
  [ FAIL 12 | WARN 0 | SKIP 0 | PASS 66 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_fisher.R:11:5'): Fisher scoring converges quickly ──────────────
  Error in `FNN::get.knn(locs, k = m)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─GpGp::order_maxmin(locs) at test_fisher.R:11:4
   2.   └─FNN::get.knn(locs, k = m)
  ── Error ('test_loglik.R:10:5'): likelihood approximations are exact when m = n-1 ──
  Error in `FNN::get.knn(locs, k = m)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─GpGp::order_maxmin(locs) at test_loglik.R:10:4
   2.   └─FNN::get.knn(locs, k = m)
  ── Error ('test_loglik.R:52:5'): gradient of likelihood matches finite differencing ──
  Error in `FNN::get.knn(locs, k = m)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─GpGp::order_maxmin(locs) at test_loglik.R:52:4
   2.   └─FNN::get.knn(locs, k = m)
  ── Error ('test_neighbors.R:10:5'): neighbor array has appropriate structure in 2d ──
  Error in `FNN::get.knn(locs, k = m)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─GpGp::order_maxmin(locs) at test_neighbors.R:10:4
   2.   └─FNN::get.knn(locs, k = m)
  ── Error ('test_neighbors.R:30:5'): neighbor array has appropriate structure on sphere ──
  Error in `FNN::get.knn(locs, k = m)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─GpGp::order_maxmin(locs, lonlat = TRUE) at test_neighbors.R:30:4
   2.   └─FNN::get.knn(locs, k = m)
  ── Error ('test_neighbors.R:52:5'): neighbor array has appropriate structure on sphere-time ──
  Error in `FNN::get.knn(locs, k = m)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─GpGp::order_maxmin(locstime, lonlat = TRUE) at test_neighbors.R:52:4
   2.   └─FNN::get.knn(locs, k = m)
  ── Error ('test_neighbors.R:71:5'): neighbor list has appropriate structure in 2d ──
  Error in `FNN::get.knn(locs, k = m)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─GpGp::order_maxmin(locs) at test_neighbors.R:71:4
   2.   └─FNN::get.knn(locs, k = m)
  ── Error ('test_neighbors.R:93:5'): neighbor list has appropriate structure on sphere ──
  Error in `FNN::get.knn(locs, k = m)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─GpGp::order_maxmin(locs, lonlat = TRUE) at test_neighbors.R:93:4
   2.   └─FNN::get.knn(locs, k = m)
  ── Error ('test_neighbors.R:116:5'): neighbor list has appropriate structure on sphere-time ──
  Error in `FNN::get.knn(locs, k = m)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─GpGp::order_maxmin(locstime, lonlat = TRUE) at test_neighbors.R:116:4
   2.   └─FNN::get.knn(locs, k = m)
  ── Error ('test_ordering.R:10:5'): ordering functions give valid permutation in 2d ──
  Error in `FNN::get.knn(locs, k = m)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(length(unique(order_maxmin(locs))), n) at test_ordering.R:10:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::unique(order_maxmin(locs))
   5. └─GpGp::order_maxmin(locs)
   6.   └─FNN::get.knn(locs, k = m)
  ── Error ('test_ordering.R:25:5'): ordering functions give valid permutation in 3d ──
  Error in `FNN::get.knn(locs, k = m)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(length(unique(order_maxmin(locs))), n) at test_ordering.R:25:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::unique(order_maxmin(locs))
   5. └─GpGp::order_maxmin(locs)
   6.   └─FNN::get.knn(locs, k = m)
  ── Error ('test_ordering.R:40:5'): ordering functions give valid permutation on sphere ──
  Error in `FNN::get.knn(locs, k = m)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(length(unique(order_maxmin(locs))), n) at test_ordering.R:40:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::unique(order_maxmin(locs))
   5. └─GpGp::order_maxmin(locs)
   6.   └─FNN::get.knn(locs, k = m)
  
  [ FAIL 12 | WARN 0 | SKIP 0 | PASS 66 ]
  Error: Test failures
  Execution halted