Skip to content

Commit

Permalink
Minor error correction to pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusMuck committed Jan 29, 2025
1 parent 6d85420 commit af69c5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test-define_expansion.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test_data_prepared <- peakCombiner::prepare_input_regions(
### -----------------------------------------------------------------------###
##
test_that("Test if function works with correct input", {
expect_no_error(define_expansion(
expect_no_error(peakCombiner:::define_expansion(
data = test_data,
expand_by = NULL
))
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-filter_by_blacklist.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test_data_center_expand <- peakCombiner::center_expand_regions(
expand_by = NULL
)
##
test_data_filtered <- peakCombiner::filter_by_chromosome_names(
test_data_filtered <- peakCombiner:::filter_by_chromosome_names(
data = test_data_center_expand,
include_by_chromosome_name = c("chr1", "chr10", "chr42")
)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-prepare_input_regions.R
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ test_that("Input column 'sample_name' is a class 'character'.", {
### -----------------------------------------------------------------------###

test_that("Output data frame has the correct structure.", {
expect_no_error(peakCombiner::check_data_structure(test_data_prepared))
expect_no_error(peakCombiner:::check_data_structure(test_data_prepared))
})

test_that("Column names of output data are identical with required once.", {
Expand Down

0 comments on commit af69c5e

Please sign in to comment.