Error in `NMextractText(file = file, lines = lines, text = text, section = section, 
    char.section = "\\$", return = return, keep.empty = keep.empty, 
    keep.name = keep.name, keep.comments = keep.comments, as.one = as.one, 
    simplify = simplify, clean.spaces = clean.spaces, type = "mod", 
    match.exactly = match.exactly, ...)`: When using the file argument, file has to point to an existing file.

# withr::with_libpaths(new = file.path("../../../../renv/local/"), devtools::install_github("philipdelff/NMdata@v0.1.8" ))
### so far disabled because test relies on NMdata 0.1.7
## will fail if NMdata version < 0.1.8.905 due to NMupdateSizes
dat.sim <- fread("testData/nonmem/example1.csv",skip = 1)
### expect_equal_to_reference(mod,fileRef) failed on cran, not on github. I don't know why. It may be an extra space somewhere.
## mod.clean$INPUT <- paste(mod.clean$INPUT,collapse=" ")
### CRAN say INPUT has changed. I can't figure out why for now. Could it be that dat.sim is different on CRAN? Or is something messing up because of the comment in first line of the data file?
# block omega 2x2 mixed with other non block omegas