tests/testthat/test-wbc.R

test_that("test wbc loading", {
  
  .nonmem2rx <- function(..., save=FALSE) {
    suppressWarnings(suppressMessages(nonmem2rx(..., save=FALSE)))
  }
  
  m1 <- .nonmem2rx(system.file("wbc/wbc.lst", package="nonmem2rx"))
  expect_length(m1$meta$validation, 4L)

})

Try the nonmem2rx package in your browser

Any scripts or data that you put into this service are public.

nonmem2rx documentation built on April 3, 2025, 11:05 p.m.