test_that("Loop the Loop - amExample4", { # TODO 2.6.0: These tests reveal severe backwards incompatibilities in 2.6.0 that # need to be fixed in allelematch 2.6.1: amvariant <- ifelse(amversion == "2.6.0", "bad-2.6.0", amvariant) # TODO 2.6.0 data("amExample4") amExample4 <- amExample4[1:20, ] # Keep first 20 rows to save time and disk amdataExample4 <- amDataset(amExample4, indexColumn = "sampleId", metaDataColumn = "knownIndividual") sink(nullfile()) for (rus in amCluster_rus) for (ch in amCluster_ch) for (mis in amCluster_mis) for (cons in amCluster_cons) { snapshot_amCluster("amdataExample4", runUntilSingletons = rus, cutHeight = ch, missingMethod = mis, consensusMethod = cons) } })