From 6db0e5953dbb41a990154660225f8e1045097504 Mon Sep 17 00:00:00 2001 From: "Matthew L. Fidler" Date: Thu, 7 Dec 2023 23:20:40 -0600 Subject: [PATCH] Fix test to keep nothing --- tests/testthat/test-piping.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-piping.R b/tests/testthat/test-piping.R index 82e7b0b0..cfb72e61 100644 --- a/tests/testthat/test-piping.R +++ b/tests/testthat/test-piping.R @@ -6,7 +6,8 @@ withr::with_options(list(nonmem2rx.save=FALSE, nonmem2rx.load=FALSE, nonmem2rx.o test_that("piping works", { skip_on_cran() - f <- .nonmem2rx(system.file("mods/cpt/runODE032.ctl", package="nonmem2rx"), lst=".res") + f <- .nonmem2rx(system.file("mods/cpt/runODE032.ctl", package="nonmem2rx"), lst=".res", + keep=NULL) expect_true(inherits(f, "nonmem2rx")) expect_false(is.null(f$nonmemData))