{
  "_id": "6a3b477b5cdecea1d68162ff",
  "Package": "nonmem2rx",
  "Type": "Package",
  "Title": "Converts 'NONMEM' Models to 'rxode2'",
  "Version": "0.1.10",
  "Maintainer": "Matthew Fidler <matthew.fidler@gmail.com>",
  "Authors@R": "c(person(\"Matthew\",\"Fidler\", role = c(\"aut\", \"cre\"), email = \"matthew.fidler@gmail.com\", comment=c(ORCID=\"0000-0001-8538-6691\")),\nperson(\"Philip\", \"Delff\", email = \"philip@delff.dk\",role = c(\"ctb\")),\nperson(\"Gabriel\", \"Staples\", role=\"ctb\", comment=\"string insensitive compare\"))",
  "Description": "'NONMEM' has been a tool for running nonlinear mixed\neffects models since the 80s and is still used today (Bauer\n2019 <doi:10.1002/psp4.12404>). This tool allows you to convert\n'NONMEM' models to 'rxode2' (Wang, Hallow and James (2016)\n<doi:10.1002/psp4.12052>) and with simple models 'nlmixr2'\nsyntax (Fidler et al (2019) <doi:10.1002/psp4.12445>). The\n'nlmixr2' syntax requires the residual specification to be\nincluded and it is not always translated. If available, the\n'rxode2' model will read in the 'NONMEM' data and compare the\nsimulation for the population model ('PRED') individual model\n('IPRED') and residual model ('IWRES') to immediately show how\nwell the translation is performing. This saves the model\ndevelopment time for people who are creating an 'rxode2' model\nmanually.  Additionally, this package reads in all the\ninformation to allow simulation with uncertainty (that is the\nnumber of observations, the number of subjects, and the\ncovariance matrix) with a 'rxode2' model.  This is\ncomplementary to the 'babelmixr2' package that translates\n'nlmixr2' models to 'NONMEM' and can convert the objects\nconverted from 'nonmem2rx' to a full 'nlmixr2' fit.",
  "License": "GPL (>= 3)",
  "URL": "https://nlmixr2.github.io/nonmem2rx/,\nhttps://github.com/nlmixr2/nonmem2rx/",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Language": "en-US",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libfontconfig1-dev libfreetype6-dev make\nlibxml2-dev",
  "Repository": "https://nlmixr2.r-universe.dev",
  "Date/Publication": "2026-05-22 17:41:46 UTC",
  "RemoteUrl": "https://github.com/nlmixr2/nonmem2rx",
  "RemoteRef": "HEAD",
  "RemoteSha": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-24 02:39:50 UTC",
    "User": "root"
  },
  "Author": "Matthew Fidler [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8538-6691>),\nPhilip Delff [ctb],\nGabriel Staples [ctb] (string insensitive compare)",
  "MD5sum": "5bc925a6da973540293751ade75d7aa4",
  "_user": "nlmixr2",
  "_type": "src",
  "_file": "nonmem2rx_0.1.10.tar.gz",
  "_fileid": "7f13b3935cee2d3dead3430e6e7ef9992661b85f4c4963eecb6e1c464c4454cb",
  "_filesize": 1119877,
  "_sha256": "7f13b3935cee2d3dead3430e6e7ef9992661b85f4c4963eecb6e1c464c4454cb",
  "_created": "2026-06-24T02:39:50.000Z",
  "_published": "2026-06-24T02:56:58.997Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83106475064,
      "time": 850,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7838963484"
    },
    {
      "job": 83106475073,
      "time": 922,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7838976424"
    },
    {
      "job": 83106475075,
      "time": 770,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838948089"
    },
    {
      "job": 83106475080,
      "time": 981,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838987582"
    },
    {
      "job": 83106475067,
      "time": 297,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7838852306"
    },
    {
      "job": 83106475070,
      "time": 676,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7838929218"
    },
    {
      "job": 83106475061,
      "time": 270,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838847328"
    },
    {
      "job": 83106475086,
      "time": 656,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838925734"
    },
    {
      "job": 83105255942,
      "time": 710,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838795139"
    },
    {
      "job": 83106475076,
      "time": 756,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838945040"
    },
    {
      "job": 83106475094,
      "time": 441,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7838881593"
    },
    {
      "job": 83106475085,
      "time": 450,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7838883417"
    },
    {
      "job": 83106475091,
      "time": 378,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838868918"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nlmixr2/nonmem2rx",
  "_commit": {
    "id": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
    "author": "Matthew Fidler <matthew.fidler@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #234 from nlmixr2/223-if-error\n\nFix #223",
    "time": 1779471706
  },
  "_maintainer": {
    "name": "Matthew Fidler",
    "email": "matthew.fidler@gmail.com",
    "login": "mattfidler",
    "description": "Also a Novartis employee;  Can reach me at my Novartis email: matt.fidler@novartis.com",
    "uuid": 514778,
    "orcid": "0000-0001-8538-6691"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dparser",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "rxode2",
      "role": "LinkingTo"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "dparser",
      "role": "Imports"
    },
    {
      "package": "lotri",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rxode2",
      "version": "> 2.0.13",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "qs2",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggforce",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "nonmemica",
      "role": "Suggests"
    },
    {
      "package": "NMdata",
      "role": "Suggests"
    },
    {
      "package": "nonmem2R",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "nlme",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "xgxr",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "nlmixr2",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-29",
      "n": 6
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 2
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v0.1.7",
      "date": "2025-07-15"
    },
    {
      "name": "v0.1.8",
      "date": "2025-08-29"
    }
  ],
  "_topics": [
    "nlmixr2",
    "nonmem",
    "pharmacometrics",
    "rxode2",
    "cpp"
  ],
  "_stars": 14,
  "_contributors": [
    {
      "user": "mattfidler",
      "count": 831,
      "uuid": 514778
    },
    {
      "user": "billdenney",
      "count": 15,
      "uuid": 10359931
    },
    {
      "user": "leovuong",
      "count": 1,
      "uuid": 92429953
    }
  ],
  "_userbio": {
    "uuid": 94710774,
    "type": "organization",
    "name": "nlmixr2",
    "followers": 54
  },
  "_downloads": {
    "count": 525,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nonmem2rx"
  },
  "_devurl": "https://github.com/nlmixr2/nonmem2rx",
  "_pkgdown": "https://nlmixr2.github.io/nonmem2rx/",
  "_searchresults": 44,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/nonmem2rx.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nlmixr2/nonmem2rx",
  "_realowner": "nlmixr2",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-05-26"
    },
    {
      "version": "0.1.1",
      "date": "2023-06-01"
    },
    {
      "version": "0.1.2",
      "date": "2023-07-03"
    },
    {
      "version": "0.1.3",
      "date": "2023-12-12"
    },
    {
      "version": "0.1.4",
      "date": "2024-05-30"
    },
    {
      "version": "0.1.5",
      "date": "2024-09-18"
    },
    {
      "version": "0.1.6",
      "date": "2024-11-28"
    },
    {
      "version": "0.1.7",
      "date": "2025-07-15"
    },
    {
      "version": "0.1.8",
      "date": "2025-08-29"
    },
    {
      "version": "0.1.9",
      "date": "2025-11-27"
    }
  ],
  "_exports": [
    "%>%",
    "as.nonmem2rx",
    "autoplot",
    "expit",
    "ini",
    "logit",
    "lotri",
    "model",
    "model<-",
    "nmcov",
    "nmext",
    "nmgrd",
    "nminfo",
    "nmlst",
    "nmtab",
    "nmxml",
    "nmxmlCov",
    "nmxmlOmega",
    "nmxmlSigma",
    "nmxmlTheta",
    "nonmem2rx",
    "nonmem2rxRec",
    "rxode",
    "RxODE",
    "rxode2",
    "rxRename",
    "rxSolve",
    "rxUiGet"
  ],
  "_help": [
    {
      "page": "as.nonmem2rx",
      "title": "Convert a model to a nonmem2rx model",
      "topics": [
        "as.nonmem2rx"
      ]
    },
    {
      "page": "nmcov",
      "title": "Read in data file",
      "topics": [
        "nmcov"
      ]
    },
    {
      "page": "nmext",
      "title": "Reads the NONMEM '.ext' file for final parameter information",
      "topics": [
        "nmext"
      ]
    },
    {
      "page": "nmgrd",
      "title": "Reads the NONMEM '.grd' file for final parameter gradient",
      "topics": [
        "nmgrd"
      ]
    },
    {
      "page": "nminfo",
      "title": "Get the most accurate information you can get from NONMEM",
      "topics": [
        "nminfo"
      ]
    },
    {
      "page": "nmlst",
      "title": "Reads the NONMEM '.lst' file for final parameter information",
      "topics": [
        "nmlst"
      ]
    },
    {
      "page": "nmtab",
      "title": "Read nonmem table file",
      "topics": [
        "nmtab"
      ]
    },
    {
      "page": "nmxml",
      "title": "Read a nonmem xml and create output similar to the 'nmlst()'",
      "topics": [
        "nmxml"
      ]
    },
    {
      "page": "nonmem2rx",
      "title": "Convert a NONMEM source file to a rxode model (nlmixr2-syle)",
      "topics": [
        "nonmem2rx"
      ]
    }
  ],
  "_pkglogo": "https://github.com/nlmixr2/nonmem2rx/raw/HEAD/logo.svg",
  "_readme": "https://github.com/nlmixr2/nonmem2rx/raw/HEAD/README.md",
  "_rundeps": [
    "armadillo4r",
    "backports",
    "base64enc",
    "BH",
    "cachem",
    "checkmate",
    "cli",
    "cpp11",
    "cpp4r",
    "crayon",
    "data.table",
    "digest",
    "dparser",
    "farver",
    "fastmap",
    "ggforce",
    "ggplot2",
    "glue",
    "gtable",
    "inline",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "lotri",
    "magrittr",
    "MASS",
    "memoise",
    "polyclip",
    "PreciseSums",
    "qs2",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "rex",
    "rlang",
    "rxode2",
    "rxode2ll",
    "S7",
    "scales",
    "sitmo",
    "StanHeaders",
    "stringfish",
    "sundialr",
    "sys",
    "systemfonts",
    "tidyselect",
    "tweenr",
    "vctrs",
    "viridisLite",
    "withr",
    "xml2"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "import-nonmem.Rmd",
      "filename": "import-nonmem.html",
      "title": "Importing NONMEM into rxode2",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setting up nonmem2rx for your model",
        "Technical details about reading NONMEM to rxode2"
      ],
      "created": "2023-05-11 05:43:00",
      "modified": "2026-04-26 21:37:08",
      "commits": 6
    }
  ],
  "_score": 7.56773196254807,
  "_indexed": true,
  "_nocasepkg": "nonmem2rx",
  "_universes": [
    "nlmixr2",
    "mattfidler"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-06-24T02:50:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
      "fileid": "d82f0b68b2662c5b853a717e90c14db83bf0fd1aaae89e0400c48b7ead5610f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-06-24T02:50:23.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
      "fileid": "6adb2c75ad3c2856599645891f25357cd2a39e937852c10b2acaf1e47ff80ec0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-06-24T02:49:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
      "fileid": "066112d8fce1fa90cc03cacce06fee0389513333e0ea789afece86f742687f7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-06-24T02:51:10.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
      "fileid": "64a88271d102eb2b5415784efc93f221beb67868a870f5592f5400ffa207a322",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-06-24T02:41:42.000Z",
      "arch": "aarch64",
      "commit": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
      "fileid": "d7ab06cd2e90bfc7675d9baa7d39da0842d248100fa5e8ff4434508f1647d55a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-06-24T02:44:02.000Z",
      "arch": "x86_64",
      "commit": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
      "fileid": "be232079e3dde9617517bd50d03b9bc33bde68a4b054904f4d52fe7f59a2f2c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-06-24T02:41:39.000Z",
      "arch": "aarch64",
      "commit": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
      "fileid": "5f3d701f4f64bff2450378584490547d89d47486364f9f2dee7a5cb9b427c78c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-06-24T02:43:49.000Z",
      "arch": "x86_64",
      "commit": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
      "fileid": "99dfca94bc6173bc1215ebaaa0709a12200a0705983d4721def64d2dbf594bfc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.10",
      "date": "2026-06-24T02:52:49.000Z",
      "arch": "emscripten",
      "commit": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
      "fileid": "b068505c492fb0d85a7e99211414b02ee122ad512635996c369e16ce5278452c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-06-24T02:42:37.000Z",
      "arch": "x86_64",
      "commit": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
      "fileid": "d7a9c0910b0c9bc36208622e3ed22a6114a2e4daeafa37a4ad87a90e44420ee3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-06-24T02:42:24.000Z",
      "arch": "x86_64",
      "commit": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
      "fileid": "729f16698d863f3da9f14b05747bf1a54966d482684aa225fde7c436cc4fe2d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-06-24T02:42:12.000Z",
      "arch": "x86_64",
      "commit": "56ccceb5358a8cdfc151c37ca06eb31918dab7d6",
      "fileid": "486c88651dc973e905c74266fbd759d47d0aa2963a420a28b33096d067bf8502",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/28070962746"
    }
  ]
}