Skip to content
Snippets Groups Projects
Verified Commit ae5e4305 authored by Gärber, Florian's avatar Gärber, Florian
Browse files

test: Suppress warnings unrelated to test cases

parent 19f2e49a
No related branches found
No related tags found
No related merge requests found
test_that("ChemoSpec ➡️ hyperSpec: SrE.IR", {
skip_if_not_installed("hyperSpec")
suppressWarnings(skip_if_not_installed("hyperSpec"))
skip_if_not_installed("ChemoSpec")
skip_if_not_installed("ChemoSpecUtils")
......@@ -15,7 +15,7 @@ test_that("ChemoSpec ➡️ hyperSpec: SrE.IR", {
})
test_that("ChemoSpec ➡️ hyperSpec: SrE.NMR", {
skip_if_not_installed("hyperSpec")
suppressWarnings(skip_if_not_installed("hyperSpec"))
skip_if_not_installed("ChemoSpec")
skip_if_not_installed("ChemoSpecUtils")
......@@ -32,7 +32,7 @@ test_that("ChemoSpec ➡️ hyperSpec: SrE.NMR", {
})
test_that("ChemoSpec ➡️ hyperSpec: metMUD1", {
skip_if_not_installed("hyperSpec")
suppressWarnings(skip_if_not_installed("hyperSpec"))
skip_if_not_installed("ChemoSpec")
skip_if_not_installed("ChemoSpecUtils")
......@@ -48,7 +48,7 @@ test_that("ChemoSpec ➡️ hyperSpec: metMUD1", {
})
test_that("ChemoSpec ➡️ hyperSpec: metMUD2", {
skip_if_not_installed("hyperSpec")
suppressWarnings(skip_if_not_installed("hyperSpec"))
skip_if_not_installed("ChemoSpec")
skip_if_not_installed("ChemoSpecUtils")
......@@ -64,7 +64,7 @@ test_that("ChemoSpec ➡️ hyperSpec: metMUD2", {
})
test_that("ChemoSpec ➡️ hyperSpec: alignMUD", {
skip_if_not_installed("hyperSpec")
suppressWarnings(skip_if_not_installed("hyperSpec"))
skip_if_not_installed("ChemoSpec")
skip_if_not_installed("ChemoSpecUtils")
......
......@@ -2,7 +2,7 @@ test_that("opusreader2 ➡️ hyperSpec: opus", {
skip_if_not_installed("opusreader2")
skip_if_not_installed("hyperSpec")
data(opusreader2_list)
suppressWarnings(data(opusreader2_list))
skip_if_not(exists("opusreader2_list"), "Example data set required for test")
......@@ -12,6 +12,7 @@ test_that("opusreader2 ➡️ hyperSpec: opus", {
})
test_that("opusreader2 ➡️ hyperSpec: opus-dbg", {
skip_on_ci()
skip_if_not_installed("opusreader2")
skip_if_not_installed("hyperSpec")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment