From f9d5991dac9f881f2d926b9ff88009cf6145bff1 Mon Sep 17 00:00:00 2001 From: Shians Date: Tue, 9 Feb 2021 01:44:19 +1100 Subject: [PATCH] Added check for empty input file vector --- R/tabix_utils.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/tabix_utils.R b/R/tabix_utils.R index 4e47de7..71f6501 100644 --- a/R/tabix_utils.R +++ b/R/tabix_utils.R @@ -78,6 +78,7 @@ create_tabix_file <- function( verbose = TRUE ) { assert_that( + assertthat::not_empty(input_files), is.character(input_files), is.string(output_file), tools::file_ext(output_file) == "bgz",