Running ‘testthat.R’ [55s/67s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(digitalDLSorteR)
  
  Attaching package: 'digitalDLSorteR'
  
  The following object is masked from 'package:base':
  
      saveRDS
  
  > 
  > test_check("digitalDLSorteR")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • .checkPythonDependencies(alert = "none") is not TRUE (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_simBulk.R:29:1): (code run outside of `test_that()`) ────────────
  Error in `splatter::zinbEstimate(counts = ceiling(as.matrix(list.data[[1]])), 
      BPPARAM = parallelEnv, design.samples = sdm, design.genes = gdm, 
      O_mu = matrix(0, nrow = ncol(list.data[[1]]), ncol = nrow(list.data[[1]]), 
          dimnames = list(rownames = seq(ncol(list.data[[1]])), 
              colnames = rownames(list.data[[1]]))), O_pi = matrix(0, 
          nrow = ncol(list.data[[1]]), ncol = nrow(list.data[[1]]), 
          dimnames = list(rownames = seq(ncol(list.data[[1]])), 
              colnames = rownames(list.data[[1]]))), beta_mu = matrix(0, 
          nrow = sdm.ncol, ncol = nrow(list.data[[1]]), dimnames = list(rownames = sdm.colnames, 
              colnames = rownames(list.data[[1]]))), beta_pi = matrix(0, 
          nrow = sdm.ncol, ncol = nrow(list.data[[1]]), dimnames = list(rownames = sdm.colnames, 
              colnames = rownames(list.data[[1]]))), alpha_mu = matrix(0, 
          nrow = 0, ncol = nrow(list.data[[1]]), dimnames = list(rownames = NULL, 
              colnames = rownames(list.data[[1]]))), alpha_pi = matrix(0, 
          nrow = 0, ncol = nrow(list.data[[1]]), dimnames = list(rownames = NULL, 
              colnames = rownames(list.data[[1]]))), verbose = verbose)`: object 'parallelEnv' not found
  Backtrace:
      █
   1. └─digitalDLSorteR::estimateZinbwaveParams(...) test_simBulk.R:29:0
   2.   ├─splatter::zinbEstimate(...)
   3.   └─splatter:::zinbEstimate.matrix(...)
  ── Error (test_simSingleCell.R:31:1): (code run outside of `test_that()`) ──────
  Error in `splatter::zinbEstimate(counts = ceiling(as.matrix(list.data[[1]])), 
      BPPARAM = parallelEnv, design.samples = sdm, design.genes = gdm, 
      O_mu = matrix(0, nrow = ncol(list.data[[1]]), ncol = nrow(list.data[[1]]), 
          dimnames = list(rownames = seq(ncol(list.data[[1]])), 
              colnames = rownames(list.data[[1]]))), O_pi = matrix(0, 
          nrow = ncol(list.data[[1]]), ncol = nrow(list.data[[1]]), 
          dimnames = list(rownames = seq(ncol(list.data[[1]])), 
              colnames = rownames(list.data[[1]]))), beta_mu = matrix(0, 
          nrow = sdm.ncol, ncol = nrow(list.data[[1]]), dimnames = list(rownames = sdm.colnames, 
              colnames = rownames(list.data[[1]]))), beta_pi = matrix(0, 
          nrow = sdm.ncol, ncol = nrow(list.data[[1]]), dimnames = list(rownames = sdm.colnames, 
              colnames = rownames(list.data[[1]]))), alpha_mu = matrix(0, 
          nrow = 0, ncol = nrow(list.data[[1]]), dimnames = list(rownames = NULL, 
              colnames = rownames(list.data[[1]]))), alpha_pi = matrix(0, 
          nrow = 0, ncol = nrow(list.data[[1]]), dimnames = list(rownames = NULL, 
              colnames = rownames(list.data[[1]]))), verbose = verbose)`: object 'parallelEnv' not found
  Backtrace:
      █
   1. └─digitalDLSorteR::estimateZinbwaveParams(...) test_simSingleCell.R:31:0
   2.   ├─splatter::zinbEstimate(...)
   3.   └─splatter:::zinbEstimate.matrix(...)
  ── Error (test_utils.R:25:1): (code run outside of `test_that()`) ──────────────
  Error in `splatter::zinbEstimate(counts = ceiling(as.matrix(list.data[[1]])), 
      BPPARAM = parallelEnv, design.samples = sdm, design.genes = gdm, 
      O_mu = matrix(0, nrow = ncol(list.data[[1]]), ncol = nrow(list.data[[1]]), 
          dimnames = list(rownames = seq(ncol(list.data[[1]])), 
              colnames = rownames(list.data[[1]]))), O_pi = matrix(0, 
          nrow = ncol(list.data[[1]]), ncol = nrow(list.data[[1]]), 
          dimnames = list(rownames = seq(ncol(list.data[[1]])), 
              colnames = rownames(list.data[[1]]))), beta_mu = matrix(0, 
          nrow = sdm.ncol, ncol = nrow(list.data[[1]]), dimnames = list(rownames = sdm.colnames, 
              colnames = rownames(list.data[[1]]))), beta_pi = matrix(0, 
          nrow = sdm.ncol, ncol = nrow(list.data[[1]]), dimnames = list(rownames = sdm.colnames, 
              colnames = rownames(list.data[[1]]))), alpha_mu = matrix(0, 
          nrow = 0, ncol = nrow(list.data[[1]]), dimnames = list(rownames = NULL, 
              colnames = rownames(list.data[[1]]))), alpha_pi = matrix(0, 
          nrow = 0, ncol = nrow(list.data[[1]]), dimnames = list(rownames = NULL, 
              colnames = rownames(list.data[[1]]))), verbose = verbose)`: object 'parallelEnv' not found
  Backtrace:
      █
   1. └─digitalDLSorteR::estimateZinbwaveParams(...) test_utils.R:25:0
   2.   ├─splatter::zinbEstimate(...)
   3.   └─splatter:::zinbEstimate.matrix(...)
  
  [ FAIL 3 | WARN 0 | SKIP 2 | PASS 44 ]
  Error: Test failures
  Execution halted