From 88524bd0ab463c76ea7781319963e73f68c7d367 Mon Sep 17 00:00:00 2001 From: Johannes Rainer Date: Wed, 16 Oct 2024 09:35:01 +0200 Subject: [PATCH] fix: missing dependency of ProtGenerics --- DESCRIPTION | 4 ++-- NEWS.md | 4 ++++ tests/testthat/test_MatchedSpectra.R | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 84d2e5f..dbae4ad 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: MetaboAnnotation Title: Utilities for Annotation of Metabolomics Data -Version: 1.9.1 +Version: 1.9.2 Description: High level functions to assist in annotation of (metabolomics) data sets. These include functions to perform simple tentative annotations based on @@ -70,7 +70,7 @@ BugReports: https://github.com/RforMassSpectrometry/MetaboAnnotation/issues URL: https://github.com/RforMassSpectrometry/MetaboAnnotation biocViews: Infrastructure, Metabolomics, MassSpectrometry Roxygen: list(markdown=TRUE) -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 Collate: 'AllClassUnions.R' 'AllGenerics.R' diff --git a/NEWS.md b/NEWS.md index f12d0e1..9255bfa 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,9 @@ # MetaboAnnotation 1.9 +## Changes in 1.9.2 + +- Fix missing ProtGenerics dependency. + ## Changes in 1.9.1 - Add parameter `scalePeaks` to `plotSpectraMirror` to allow scaling peak diff --git a/tests/testthat/test_MatchedSpectra.R b/tests/testthat/test_MatchedSpectra.R index dcbd54d..632a5e7 100644 --- a/tests/testthat/test_MatchedSpectra.R +++ b/tests/testthat/test_MatchedSpectra.R @@ -1,4 +1,5 @@ library(Spectra) +library(ProtGenerics) df1 <- DataFrame( msLevel = 2L, rtime = 1:10, spectrum_id = c("a", "b", "c", "d", "e", "f", "g", "h", "i", "j"))