From fa8979937658ed3ae3c3f7531b70b495551a28c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cigunduz=E2=80=9D?= Date: Fri, 21 Aug 2026 23:12:30 +0200 Subject: [PATCH 1/2] Bump version and fix bioc check issues --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index fa47dc2..ef3d5e8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -15,7 +15,7 @@ Authors@R: person( comment = c(ORCID = "0000-0003-2641-0916")) License: Artistic-2.0 Encoding: UTF-8 -Version: 0.99.0 +Version: 0.99.1 Depends: R (>= 4.3.0) Imports: AnnotationHub, GenomicRanges, utils Suggests: knitr, rmarkdown, testthat (>= 3.0.0), BiocStyle From 959d1e383356f9db3744e4be7d180e46b9e26ff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cigunduz=E2=80=9D?= Date: Fri, 21 Aug 2026 23:34:10 +0200 Subject: [PATCH 2/2] update make-metadata.R to have check --- DESCRIPTION | 2 +- inst/scripts/make-metadata.R | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index ef3d5e8..66ddb73 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -15,7 +15,7 @@ Authors@R: person( comment = c(ORCID = "0000-0003-2641-0916")) License: Artistic-2.0 Encoding: UTF-8 -Version: 0.99.1 +Version: 0.99.2 Depends: R (>= 4.3.0) Imports: AnnotationHub, GenomicRanges, utils Suggests: knitr, rmarkdown, testthat (>= 3.0.0), BiocStyle diff --git a/inst/scripts/make-metadata.R b/inst/scripts/make-metadata.R index e55200a..540aa4f 100644 --- a/inst/scripts/make-metadata.R +++ b/inst/scripts/make-metadata.R @@ -126,4 +126,10 @@ write.csv( quote = TRUE # This ensures strings containing spaces/commas are properly enclosed ) -message("metadata.csv has been successfully generated in inst/extdata/") \ No newline at end of file +# Validate using AnnotationHubData +if (!requireNamespace("AnnotationHubData", quietly = TRUE)) { + message("Please install AnnotationHubData to validate your metadata.csv") +} else { + AnnotationHubData::makeAnnotationHubMetadata("inst/extdata") + message("Metadata validation completed successfully!") +} \ No newline at end of file