tests/testthat/test_NMinfo.R

test_that("basic",{

    fileRef <- "testReference/NMinfo_1.rds"
    
    file.lst <- system.file("examples/nonmem/xgxr001.lst" ,package="NMdata")
    res1 <- NMscanData(file=file.lst,quiet=T,order.columns = F,merge.by.row=FALSE,check.time=F)

    info.cols <- NMinfo(res1,info="columns")
    
    expect_equal_to_reference(info.cols,fileRef,version=2)

})

Try the NMdata package in your browser

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

NMdata documentation built on Nov. 11, 2023, 5:07 p.m.