Skip to content

Commit

Permalink
Fix test to keep nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Dec 8, 2023
1 parent 875beae commit 6db0e59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-piping.R
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 6db0e59

Please sign in to comment.