Skip to content

Commit

Permalink
bump version in DESCRIPTION to 0.98.2 ; add second test for regex
Browse files Browse the repository at this point in the history
  • Loading branch information
eschen42 committed May 13, 2017
1 parent 043164c commit bf62b99
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: w4mclassfilter
Version: 0.98.1
Version: 0.98.2
Date: 2017-05-05
Title: W4M Class Filter
Description: Filter Workflow4Metabolomics dataMatrix, sampleMetadata, and variableMetadata files by sample-class, imputing zero for NA values and eliminating zero-variance rows and columns from the data-matrix.
Expand Down
8 changes: 7 additions & 1 deletion tests/testthat/test-filter.R
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ test_that("nofilter test 3f - empty classes_to_to_filter",{

#' @import testthat w4mclassfilter
#' @export
test_that("nofilter test 2 - regex_include_all",{
test_that("nofilter test 2.1 - regex_include_all",{
run_nofilter_test(classes_to_filter = c("[MF]"), class_column = "gender", samplename_column = "sampleMetadata", false_to_exclude_classes_in_filter = TRUE)
})

#' @import testthat w4mclassfilter
#' @export
test_that("nofilter test 2.2 - regex_include_all",{
run_nofilter_test(classes_to_filter = c("[Mm]","[fF]"), class_column = "gender", samplename_column = "sampleMetadata", false_to_exclude_classes_in_filter = TRUE)
})

0 comments on commit bf62b99

Please sign in to comment.