From 7fad86f7562e444bf786d32f411440952e3c28dd Mon Sep 17 00:00:00 2001 From: Laurent Gatto Date: Tue, 12 Nov 2024 09:09:21 +0100 Subject: [PATCH] fix vignette error --- DESCRIPTION | 2 +- NEWS.md | 5 +++++ vignettes/v01-MSnbase-demo.Rmd | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index d9a0014c..46757611 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: MSnbase Title: Base Functions and Classes for Mass Spectrometry and Proteomics -Version: 2.33.1 +Version: 2.33.2 Description: MSnbase provides infrastructure for manipulation, processing and visualisation of mass spectrometry and proteomics data, ranging from raw to quantitative and diff --git a/NEWS.md b/NEWS.md index 4298fdb3..7dc4a9f3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,10 @@ # MSnbase 2.33 +## MSnbase 2.33.2 + +- Fix the `pheplus1` code chunk in MSnbase-demo vignette to handle the + new `Rdispo::getIsotope()` list return value. + ## MSnbase 2.33.1 - Add functionality to convert a `Spectra` object to a `MSpectra`. diff --git a/vignettes/v01-MSnbase-demo.Rmd b/vignettes/v01-MSnbase-demo.Rmd index 9ae4c6e9..529ddf88 100644 --- a/vignettes/v01-MSnbase-demo.Rmd +++ b/vignettes/v01-MSnbase-demo.Rmd @@ -1062,7 +1062,7 @@ library(Rdisop) Fim <- getMolecule("C8H10N") getMass(Fim) isotopes <- getIsotope(Fim) -F1 <- isotopes[2, 2] +F1 <- isotopes[[1]][2, 2] F1 ```