tests/testthat/test_notime_model.R

test_that("xpose used for no time-based model  ", {
  workingDir <- system.file("extdata/notime_model",
    package = "Certara.Xpose.NLME",
    mustWork = TRUE
  )
  modelName <- "noTimeModel"

  xpdb <- xposeNlme(
    dir = workingDir,
    modelName = modelName,
    dmpFile = "dmp.txt",
    dataFile = "data1.txt",
    logFile = "nlme7engine.log",
    progresstxt = "progress.txt"
  )


  results <- xpdb$data$index[[1]]
  testthat::local_edition(3)
  testthat::expect_snapshot(as.data.frame(xpdb$data$index[[1]]))
})

Try the Certara.Xpose.NLME package in your browser

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

Certara.Xpose.NLME documentation built on April 3, 2025, 7:45 p.m.