Closed selkamand closed 2 years ago
On second thought, i think this is perfectly sufficient given the number of samples. I will add explicit tests to ensure Sample column is a factor though
expect_type(prepped_df[['Sample']], type = "factor")
expect_type(prepped_df_no_mutation_type[['Sample']], type = "factor")
wrong expect_ function. Final version as below
expect_s3_class(prepped_df[['Sample']], "factor")
expect_s3_class(prepped_df_no_mutation_type[['Sample']], "factor")
now in dev version
Already covered in dev. Could add something a little more explicit