From 124910d01d8dc375859bf038ead88800574c33ab Mon Sep 17 00:00:00 2001 From: knausb Date: Fri, 8 Sep 2017 09:34:33 -0700 Subject: [PATCH] moved tests to tools --- tests/testthat/test_001_vcfR.R | 10 ++++++++++ {tests => tools}/testthat/test_10_write_vcf.R | 0 {tests => tools}/testthat/test_1_vcf.R | 0 {tests => tools}/testthat/test_2_chromR.R | 0 {tests => tools}/testthat/test_3_extract_gt.R | 0 {tests => tools}/testthat/test_4_vcfR2DNAbin.R | 0 {tests => tools}/testthat/test_INFO2df.R | 0 {tests => tools}/testthat/test_ad_frequency.R | 0 {tests => tools}/testthat/test_addID.R | 0 {tests => tools}/testthat/test_chromR_method.R | 0 {tests => tools}/testthat/test_chromo_plot.R | 0 {tests => tools}/testthat/test_chromoqc.R | 0 {tests => tools}/testthat/test_conversion.R | 0 {tests => tools}/testthat/test_drplot.R | 0 {tests => tools}/testthat/test_freq_peak.R | 0 {tests => tools}/testthat/test_genetic_diff.R | 0 .../testthat/test_genotype_matrix_functions.R | 0 {tests => tools}/testthat/test_get.R | 0 {tests => tools}/testthat/test_heatmapbp.R | 0 {tests => tools}/testthat/test_io.R | 0 {tests => tools}/testthat/test_is_het.R | 0 {tests => tools}/testthat/test_maf.R | 0 {tests => tools}/testthat/test_proc_chromR.R | 0 {tests => tools}/testthat/test_queryMETA.R | 0 {tests => tools}/testthat/test_query_gt.R | 0 {tests => tools}/testthat/test_rank_variants.R | 0 {tests => tools}/testthat/test_summary_tables.R | 0 {tests => tools}/testthat/test_var_window.R | 0 {tests => tools}/testthat/test_vcfR2migrate.R | 0 {tests => tools}/testthat/test_vcfR_methods.R | 0 {tests => tools}/testthat/test_vcfRtidy.R | 0 31 files changed, 10 insertions(+) rename {tests => tools}/testthat/test_10_write_vcf.R (100%) rename {tests => tools}/testthat/test_1_vcf.R (100%) rename {tests => tools}/testthat/test_2_chromR.R (100%) rename {tests => tools}/testthat/test_3_extract_gt.R (100%) rename {tests => tools}/testthat/test_4_vcfR2DNAbin.R (100%) rename {tests => tools}/testthat/test_INFO2df.R (100%) rename {tests => tools}/testthat/test_ad_frequency.R (100%) rename {tests => tools}/testthat/test_addID.R (100%) rename {tests => tools}/testthat/test_chromR_method.R (100%) rename {tests => tools}/testthat/test_chromo_plot.R (100%) rename {tests => tools}/testthat/test_chromoqc.R (100%) rename {tests => tools}/testthat/test_conversion.R (100%) rename {tests => tools}/testthat/test_drplot.R (100%) rename {tests => tools}/testthat/test_freq_peak.R (100%) rename {tests => tools}/testthat/test_genetic_diff.R (100%) rename {tests => tools}/testthat/test_genotype_matrix_functions.R (100%) rename {tests => tools}/testthat/test_get.R (100%) rename {tests => tools}/testthat/test_heatmapbp.R (100%) rename {tests => tools}/testthat/test_io.R (100%) rename {tests => tools}/testthat/test_is_het.R (100%) rename {tests => tools}/testthat/test_maf.R (100%) rename {tests => tools}/testthat/test_proc_chromR.R (100%) rename {tests => tools}/testthat/test_queryMETA.R (100%) rename {tests => tools}/testthat/test_query_gt.R (100%) rename {tests => tools}/testthat/test_rank_variants.R (100%) rename {tests => tools}/testthat/test_summary_tables.R (100%) rename {tests => tools}/testthat/test_var_window.R (100%) rename {tests => tools}/testthat/test_vcfR2migrate.R (100%) rename {tests => tools}/testthat/test_vcfR_methods.R (100%) rename {tests => tools}/testthat/test_vcfRtidy.R (100%) diff --git a/tests/testthat/test_001_vcfR.R b/tests/testthat/test_001_vcfR.R index b17fc438..0e6d603c 100644 --- a/tests/testthat/test_001_vcfR.R +++ b/tests/testthat/test_001_vcfR.R @@ -8,6 +8,14 @@ library(vcfR) # context("vcfR functions") +##### ##### ##### ##### ##### +# +# Tests for functions that work on vcfR objects. +# Tests for reading and writing vcfR objects +# occur elsewhere. +# +##### ##### ##### ##### ##### + ##### ##### ##### ##### ##### # @@ -47,3 +55,5 @@ test_that("vcfR subsetters works",{ }) +##### ##### ##### ##### ##### +# EOF. \ No newline at end of file diff --git a/tests/testthat/test_10_write_vcf.R b/tools/testthat/test_10_write_vcf.R similarity index 100% rename from tests/testthat/test_10_write_vcf.R rename to tools/testthat/test_10_write_vcf.R diff --git a/tests/testthat/test_1_vcf.R b/tools/testthat/test_1_vcf.R similarity index 100% rename from tests/testthat/test_1_vcf.R rename to tools/testthat/test_1_vcf.R diff --git a/tests/testthat/test_2_chromR.R b/tools/testthat/test_2_chromR.R similarity index 100% rename from tests/testthat/test_2_chromR.R rename to tools/testthat/test_2_chromR.R diff --git a/tests/testthat/test_3_extract_gt.R b/tools/testthat/test_3_extract_gt.R similarity index 100% rename from tests/testthat/test_3_extract_gt.R rename to tools/testthat/test_3_extract_gt.R diff --git a/tests/testthat/test_4_vcfR2DNAbin.R b/tools/testthat/test_4_vcfR2DNAbin.R similarity index 100% rename from tests/testthat/test_4_vcfR2DNAbin.R rename to tools/testthat/test_4_vcfR2DNAbin.R diff --git a/tests/testthat/test_INFO2df.R b/tools/testthat/test_INFO2df.R similarity index 100% rename from tests/testthat/test_INFO2df.R rename to tools/testthat/test_INFO2df.R diff --git a/tests/testthat/test_ad_frequency.R b/tools/testthat/test_ad_frequency.R similarity index 100% rename from tests/testthat/test_ad_frequency.R rename to tools/testthat/test_ad_frequency.R diff --git a/tests/testthat/test_addID.R b/tools/testthat/test_addID.R similarity index 100% rename from tests/testthat/test_addID.R rename to tools/testthat/test_addID.R diff --git a/tests/testthat/test_chromR_method.R b/tools/testthat/test_chromR_method.R similarity index 100% rename from tests/testthat/test_chromR_method.R rename to tools/testthat/test_chromR_method.R diff --git a/tests/testthat/test_chromo_plot.R b/tools/testthat/test_chromo_plot.R similarity index 100% rename from tests/testthat/test_chromo_plot.R rename to tools/testthat/test_chromo_plot.R diff --git a/tests/testthat/test_chromoqc.R b/tools/testthat/test_chromoqc.R similarity index 100% rename from tests/testthat/test_chromoqc.R rename to tools/testthat/test_chromoqc.R diff --git a/tests/testthat/test_conversion.R b/tools/testthat/test_conversion.R similarity index 100% rename from tests/testthat/test_conversion.R rename to tools/testthat/test_conversion.R diff --git a/tests/testthat/test_drplot.R b/tools/testthat/test_drplot.R similarity index 100% rename from tests/testthat/test_drplot.R rename to tools/testthat/test_drplot.R diff --git a/tests/testthat/test_freq_peak.R b/tools/testthat/test_freq_peak.R similarity index 100% rename from tests/testthat/test_freq_peak.R rename to tools/testthat/test_freq_peak.R diff --git a/tests/testthat/test_genetic_diff.R b/tools/testthat/test_genetic_diff.R similarity index 100% rename from tests/testthat/test_genetic_diff.R rename to tools/testthat/test_genetic_diff.R diff --git a/tests/testthat/test_genotype_matrix_functions.R b/tools/testthat/test_genotype_matrix_functions.R similarity index 100% rename from tests/testthat/test_genotype_matrix_functions.R rename to tools/testthat/test_genotype_matrix_functions.R diff --git a/tests/testthat/test_get.R b/tools/testthat/test_get.R similarity index 100% rename from tests/testthat/test_get.R rename to tools/testthat/test_get.R diff --git a/tests/testthat/test_heatmapbp.R b/tools/testthat/test_heatmapbp.R similarity index 100% rename from tests/testthat/test_heatmapbp.R rename to tools/testthat/test_heatmapbp.R diff --git a/tests/testthat/test_io.R b/tools/testthat/test_io.R similarity index 100% rename from tests/testthat/test_io.R rename to tools/testthat/test_io.R diff --git a/tests/testthat/test_is_het.R b/tools/testthat/test_is_het.R similarity index 100% rename from tests/testthat/test_is_het.R rename to tools/testthat/test_is_het.R diff --git a/tests/testthat/test_maf.R b/tools/testthat/test_maf.R similarity index 100% rename from tests/testthat/test_maf.R rename to tools/testthat/test_maf.R diff --git a/tests/testthat/test_proc_chromR.R b/tools/testthat/test_proc_chromR.R similarity index 100% rename from tests/testthat/test_proc_chromR.R rename to tools/testthat/test_proc_chromR.R diff --git a/tests/testthat/test_queryMETA.R b/tools/testthat/test_queryMETA.R similarity index 100% rename from tests/testthat/test_queryMETA.R rename to tools/testthat/test_queryMETA.R diff --git a/tests/testthat/test_query_gt.R b/tools/testthat/test_query_gt.R similarity index 100% rename from tests/testthat/test_query_gt.R rename to tools/testthat/test_query_gt.R diff --git a/tests/testthat/test_rank_variants.R b/tools/testthat/test_rank_variants.R similarity index 100% rename from tests/testthat/test_rank_variants.R rename to tools/testthat/test_rank_variants.R diff --git a/tests/testthat/test_summary_tables.R b/tools/testthat/test_summary_tables.R similarity index 100% rename from tests/testthat/test_summary_tables.R rename to tools/testthat/test_summary_tables.R diff --git a/tests/testthat/test_var_window.R b/tools/testthat/test_var_window.R similarity index 100% rename from tests/testthat/test_var_window.R rename to tools/testthat/test_var_window.R diff --git a/tests/testthat/test_vcfR2migrate.R b/tools/testthat/test_vcfR2migrate.R similarity index 100% rename from tests/testthat/test_vcfR2migrate.R rename to tools/testthat/test_vcfR2migrate.R diff --git a/tests/testthat/test_vcfR_methods.R b/tools/testthat/test_vcfR_methods.R similarity index 100% rename from tests/testthat/test_vcfR_methods.R rename to tools/testthat/test_vcfR_methods.R diff --git a/tests/testthat/test_vcfRtidy.R b/tools/testthat/test_vcfRtidy.R similarity index 100% rename from tests/testthat/test_vcfRtidy.R rename to tools/testthat/test_vcfRtidy.R