tests/testthat/test-xml.R

test_that("bad read for xml", {
  
  expect_true(inherits(.nmxmlGetCov(xml2::xml_find_first(xml2::read_xml(test_path("issue-144.xml")), "//nm:covariance")),
               "matrix"))
  
})

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.