From 952c88ee3d5785c3c4bc5380a61bedb93d9b44f2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 17:08:10 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/lorenzwalthert/precommit: v0.4.3.9015 → v0.4.3.9020](https://github.com/lorenzwalthert/precommit/compare/v0.4.3.9015...v0.4.3.9020) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml old mode 100755 new mode 100644 index 6ca9e4f..c25b6c2 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # R specific hooks: https://github.com/lorenzwalthert/precommit repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.3.9015 + rev: v0.4.3.9020 hooks: - id: style-files args: [--style_pkg=styler, --style_fun=tidyverse_style] From 3c6ac6eb35d00422a4a7dac6e61facb3c6d392bc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 17:08:45 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- R/dataset.R | 2 -- R/simulator.R | 1 - tests/testthat/test_simulator.R | 2 -- 3 files changed, 5 deletions(-) diff --git a/R/dataset.R b/R/dataset.R index 39e0d1d..26e2633 100755 --- a/R/dataset.R +++ b/R/dataset.R @@ -151,8 +151,6 @@ generate_summarized_experiment <- function(annotation, count_matrix, tpm_matrix, } - - #' Build \link[SummarizedExperiment]{SummarizedExperiment} using local annotation and count matrix R objects #' #' @param annotation (mandatory) dataframe; needs columns 'ID' and 'cell_type'; 'ID' needs to be equal with cell_names in count_matrix diff --git a/R/simulator.R b/R/simulator.R index c9b0e1f..a6dd338 100755 --- a/R/simulator.R +++ b/R/simulator.R @@ -837,7 +837,6 @@ merge_simulations <- function(simulation_list) { } - #' Create scaling vector from custom or pre-defined scaling factor #' #' @param data dataset diff --git a/tests/testthat/test_simulator.R b/tests/testthat/test_simulator.R index be14f20..df7560b 100755 --- a/tests/testthat/test_simulator.R +++ b/tests/testthat/test_simulator.R @@ -76,8 +76,6 @@ test_that("test different scaling factor calculations + mRNA bias removal from c }) - - test_that("test census", { tpm <- Matrix::Matrix(matrix(rpois(3e5, 5), ncol = 300), sparse = TRUE) tpm <- Matrix::t(1e6 * Matrix::t(tpm) / Matrix::colSums(tpm))