Running 'testthat.R' [64s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(sphunif)
  Loading required package: Rcpp
  > 
  > test_check("sphunif")
  Loading required package: foreach
  Loading required package: future
  [ FAIL 2 | WARN 0 | SKIP 42 | PASS 595 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (42)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_Pn.R:450:1'): (code run outside of `test_that()`) ──────────────
  Error: cannot allocate vector of size 24.4 Mb
  Backtrace:
      ▆
   1. └─sphunif::f_locdev_Pn(p = 2, type = "PAD") at test_Pn.R:450:0
   2.   └─sphunif::cutoff_locdev(...)
   3.     └─sphunif::weights_dfs_Sobolev(...)
   4.       └─sphunif::Gegen_coefs_Pn(...)
   5.         └─base::colSums(w_k * f_k)
   6.           └─base::is.data.frame(x)
  ── Error ('test_unif-alts.R:550:3'): Ajne as the integral of its local alternative (series expansion) ──
  Error in `system(test_cmd, intern = TRUE, input = input)`: 'CreateProcess' failed to run 'D:\RCompile\recent\R\bin\x64\Rscript.exe -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/Rtmpe2VTHZ/worker.rank=1.parallelly.parent=19740.4d1c11b03810.pid\")), silent = TRUE)" -e "file.exists(\"D:/temp/Rtmpe2VTHZ/worker.rank=1.parallelly.parent=19740.4d1c11b03810.pid\")"'
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test_unif-alts.R:550:2
    2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─sphunif::int_sph_MC(...) at test_unif-alts.R:551:4
    5.   └─future::plan(future::multisession(), workers = cores)
    6.     └─future (local) plan_set(newStack, skip = .skip, cleanup = .cleanup, init = .init)
    7.       └─future (local) plan_init()
    8.         └─future (local) evaluator(NA, label = "future-plan-test", globals = FALSE, lazy = FALSE)
    9.           └─future (local) strategy(..., workers = workers, envir = envir)
   10.             └─future::MultisessionFuture(...)
   11.               └─future::ClusterFuture(...)
   12.                 ├─base::do.call(...)
   13.                 └─future (local) `<fn>`(...)
   14.                   └─future:::ClusterRegistry("start", workers = workers, ...)
   15.                     └─future (local) makeCluster(workers, ...)
   16.                       └─parallelly::makeClusterPSOCK(workers, ...)
   17.                         └─parallelly (local) makeNode(...)
   18.                           └─parallelly:::useWorkerPID(...)
   19.                             └─base::system(test_cmd, intern = TRUE, input = input)
  
  [ FAIL 2 | WARN 0 | SKIP 42 | PASS 595 ]
  Error: Test failures
  Execution halted