From 7d4d465464ebacb36528e7220612d14ab8795389 Mon Sep 17 00:00:00 2001 From: "Benn, David (IM&T, Waite Campus)" Date: Wed, 12 Nov 2025 16:07:49 +1030 Subject: [PATCH] #5: removed suppressWarnings block since bug now fixed in spectral-cockpit/opusreader2 --- R/bruker_opus_binary_format.R | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/R/bruker_opus_binary_format.R b/R/bruker_opus_binary_format.R index 5964af7..951d7f0 100644 --- a/R/bruker_opus_binary_format.R +++ b/R/bruker_opus_binary_format.R @@ -62,11 +62,7 @@ BrukerOpusBinary <- R6::R6Class("BrukerOpusBinary", if (!is.null(names(spec.data)) && length(names(spec.data)) != 0) { meta.list <- as.list(spec.data$metadata) - # data and standard metadata via opusreader2 - # see https://github.com/spectral-cockpit/opusreader2/issues/116 - suppressWarnings({ - opus2 <- opusreader2::read_opus(path) - }) + opus2 <- opusreader2::read_opus(path) fname <- names(opus2)[1]