Running ‘testthat.R’ [9s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > Sys.setenv("OMP_THREAD_LIMIT" = 2)
  > library(testthat)
  > library(shinyExprPortal)
  > data.table::setDTthreads(1)
  > test_check("shinyExprPortal")
  OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead.
  OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 66 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-utils_compute.R:28:5'): correlateMatrices working example ────
  Expected `correlateMatrices(measures_data[, c("age", "var_a")], t(exp_matrix))` to run without any errors.
  i Actually got a <simpleError> with text:
    missing or infinite values in inputs are not allowed
  ── Failure ('test-utils_compute.R:32:5'): correlateMatrices working example 2 ──
  Expected `correlateMatrices(measures_data$var_a, t(exp_matrix))` to run without any errors.
  i Actually got a <simpleError> with text:
    missing or infinite values in inputs are not allowed
  ── Failure ('test-utils_compute.R:40:5'): correlateMatrices working example 4 ──
  Expected `correlateMatrices(measures_data$var_a, t(exp_matrix), rowname_var = "Var")` to run without any errors.
  i Actually got a <simpleError> with text:
    missing or infinite values in inputs are not allowed
  ── Failure ('test-utils_compute.R:53:5'): longCorrelationMatrix working example ──
  Expected `longCorrelationMatrix(...)` to run without any errors.
  i Actually got a <simpleError> with text:
    missing or infinite values in inputs are not allowed
  ── Error ('test-utils_compute.R:58:5'): working example ────────────────────────
  Error in `smooth.spline(lambda, pi0, df = smooth.df)`: missing or infinite values in inputs are not allowed
  Backtrace:
      ▆
   1. └─shinyExprPortal:::correlateMatrices(...) at test-utils_compute.R:58:5
   2.   └─base::apply(pvalues_mat, 2, function(x) qvalue::qvalue(x)[["qvalues"]])
   3.     └─shinyExprPortal (local) FUN(newX[, i], ...)
   4.       └─qvalue::qvalue(x)
   5.         └─qvalue::pi0est(p, ...)
   6.           └─stats::smooth.spline(lambda, pi0, df = smooth.df)
  ── Error ('test-utils_compute.R:63:5'): missing pvaluesrank ────────────────────
  Error in `smooth.spline(lambda, pi0, df = smooth.df)`: missing or infinite values in inputs are not allowed
  Backtrace:
      ▆
   1. └─shinyExprPortal:::correlateMatrices(...) at test-utils_compute.R:63:5
   2.   └─base::apply(pvalues_mat, 2, function(x) qvalue::qvalue(x)[["qvalues"]])
   3.     └─shinyExprPortal (local) FUN(newX[, i], ...)
   4.       └─qvalue::qvalue(x)
   5.         └─qvalue::pi0est(p, ...)
   6.           └─stats::smooth.spline(lambda, pi0, df = smooth.df)
  ── Error ('test-utils_compute.R:68:5'): using pvaluesrank works ────────────────
  Error in `smooth.spline(lambda, pi0, df = smooth.df)`: missing or infinite values in inputs are not allowed
  Backtrace:
      ▆
   1. └─shinyExprPortal:::correlateMatrices(...) at test-utils_compute.R:68:5
   2.   └─base::apply(pvalues_mat, 2, function(x) qvalue::qvalue(x)[["qvalues"]])
   3.     └─shinyExprPortal (local) FUN(newX[, i], ...)
   4.       └─qvalue::qvalue(x)
   5.         └─qvalue::pi0est(p, ...)
   6.           └─stats::smooth.spline(lambda, pi0, df = smooth.df)
  ── Error ('test-utils_compute.R:81:5'): working example ────────────────────────
  Error in `smooth.spline(lambda, pi0, df = smooth.df)`: missing or infinite values in inputs are not allowed
  Backtrace:
      ▆
   1. └─shinyExprPortal:::correlateMatrices(...) at test-utils_compute.R:81:5
   2.   └─base::apply(pvalues_mat, 2, function(x) qvalue::qvalue(x)[["qvalues"]])
   3.     └─shinyExprPortal (local) FUN(newX[, i], ...)
   4.       └─qvalue::qvalue(x)
   5.         └─qvalue::pi0est(p, ...)
   6.           └─stats::smooth.spline(lambda, pi0, df = smooth.df)
  ── Error ('test-utils_compute.R:86:5'): rowname_col does not exist in df ───────
  Error in `smooth.spline(lambda, pi0, df = smooth.df)`: missing or infinite values in inputs are not allowed
  Backtrace:
      ▆
   1. └─shinyExprPortal:::correlateMatrices(...) at test-utils_compute.R:86:5
   2.   └─base::apply(pvalues_mat, 2, function(x) qvalue::qvalue(x)[["qvalues"]])
   3.     └─shinyExprPortal (local) FUN(newX[, i], ...)
   4.       └─qvalue::qvalue(x)
   5.         └─qvalue::pi0est(p, ...)
   6.           └─stats::smooth.spline(lambda, pi0, df = smooth.df)
  
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 66 ]
  Error: Test failures
  Execution halted