From 44eeac6c6032a08d502bca6e7dc4ab85ecd476f8 Mon Sep 17 00:00:00 2001 From: gegnew Date: Tue, 22 Jun 2021 11:33:53 +0200 Subject: [PATCH] Silence warning on flowCore import --- tests/testthat/test-convertFlowCore.R | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-convertFlowCore.R b/tests/testthat/test-convertFlowCore.R index f0abb33..a02b3aa 100644 --- a/tests/testthat/test-convertFlowCore.R +++ b/tests/testthat/test-convertFlowCore.R @@ -1,7 +1,9 @@ context("convertFlowCore") -library("flowCore") -library("flowDensity") library("mockery") +capture_warnings({ + library("flowCore") + library("flowDensity") +}) test_that("rectangle gate is converted to flowCore", { content = '{"__v":0,"experimentId":"591a3b441d725115208a6fda","model":{"label":[150440.453608247,202688.886597938],"rectangle":{"y2":214399.74226804124,"x2":182870.51546391752,"y1":190978.03092783503,"x1":118010.39175257733},"locked":false},"gid":"592640a5a6a1d6256ec9b08a","xChannel":"FSC-A","type":"RectangleGate","name":"my gate","parentPopulationId":null,"yChannel":"FSC-W","_id":"592640aa298f1480900e10e4","tailoredPerFile":false,"id":"592640aa298f1480900e10e4"}'