tests/testthat.R

# devtools::test()

## TODO
#
# if only 2 groups, within-group and between-group filtered intensity columns are the exact same
#
# make synthetic datasets, then apply filter_dataset() -->> assert filtering is correct
#
# unit tests with pass and fail assertions to QC the data structures integrity check functions;
# # check_valid_tibble_peptides(peptides)
# # check_valid_tibble_proteins(proteins)
# # check_valid_tibble_samples(samples)


#### ref
# library(testthat)
# options(testthat.use_colours = FALSE)
#
# library(testthat)
# test_check("msdap")
ftwkoopmans/msdap documentation built on March 5, 2025, 12:15 a.m.