{
  "_id": "6a635d6aaecbde9870bb28f3",
  "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": "cmake libfontconfig1-dev libfreetype6-dev\nlibxml2-dev",
  "Repository": "https://nlmixr2.r-universe.dev",
  "Date/Publication": "2026-07-21 01:45:25 UTC",
  "RemoteUrl": "https://github.com/nlmixr2/nonmem2rx",
  "RemoteRef": "HEAD",
  "RemoteSha": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-24 12:25:22 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)",
  "_user": "nlmixr2",
  "_type": "src",
  "_file": "nonmem2rx_0.1.10.tar.gz",
  "_fileid": "https://r2.ropensci.org/29b3dd1a54cb260f5dd66e4ddb447e0bc551ba57a3ee623efabe64cc7c39ad5b",
  "_filesize": 1149630,
  "_sha256": "29b3dd1a54cb260f5dd66e4ddb447e0bc551ba57a3ee623efabe64cc7c39ad5b",
  "_expires": "2026-11-01T12:41:12.000Z",
  "_created": "2026-07-24T12:25:22.000Z",
  "_published": "2026-07-24T12:41:14.839Z",
  "_jobs": [
    {
      "job": 89480486365,
      "time": 429,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8596599475"
    },
    {
      "job": 89480486405,
      "time": 517,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8596635511"
    },
    {
      "job": 89480486557,
      "time": 396,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8596586823"
    },
    {
      "job": 89480486389,
      "time": 471,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8596616413"
    },
    {
      "job": 89480486564,
      "time": 360,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8596571900"
    },
    {
      "job": 89480486554,
      "time": 628,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8596681643"
    },
    {
      "job": 89480486481,
      "time": 328,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8596556753"
    },
    {
      "job": 89480486397,
      "time": 629,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8596681726"
    },
    {
      "job": 89479518054,
      "time": 299,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8596428372"
    },
    {
      "job": 89480486346,
      "time": 190,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 89480486356,
      "time": 616,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 89480486393,
      "time": 845,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8596772555"
    },
    {
      "job": 89480486378,
      "time": 892,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8596793172"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/30092732001",
  "_status": "success",
  "_upstream": "https://github.com/nlmixr2/nonmem2rx",
  "_commit": {
    "id": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
    "author": "Matthew Fidler <matthew.fidler@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #242 from nlmixr2/worktree-186-data-arg\n\nAllow inputData to be supplied as a data.frame (#186)",
    "time": 1784598325
  },
  "_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"
  },
  "_distro": "resolute",
  "_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": "xml2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggforce",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "ellmer",
      "role": "Suggests"
    },
    {
      "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-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
    },
    {
      "week": "2026-29",
      "n": 8
    },
    {
      "week": "2026-30",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.1.8",
      "date": "2025-08-29"
    }
  ],
  "_topics": [
    "nlmixr2",
    "nonmem",
    "pharmacometrics",
    "rxode2",
    "cpp"
  ],
  "_stars": 14,
  "_contributors": [
    {
      "user": "mattfidler",
      "count": 869,
      "uuid": 514778
    },
    {
      "user": "billdenney",
      "count": 17,
      "uuid": 10359931
    },
    {
      "user": "leovuong",
      "count": 1,
      "uuid": 92429953
    }
  ],
  "_userbio": {
    "uuid": 94710774,
    "type": "organization",
    "name": "nlmixr2",
    "followers": 57
  },
  "_downloads": {
    "count": 538,
    "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.1",
  "_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",
    "mirai",
    "nanonext",
    "polyclip",
    "PreciseSums",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "rex",
    "rlang",
    "rxode2",
    "rxode2ll",
    "S7",
    "scales",
    "sitmo",
    "StanHeaders",
    "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",
        "Pointing nonmem2rx at the input data",
        "General linear models (ADVAN5/ADVAN7)",
        "Technical details about reading NONMEM to rxode2"
      ],
      "created": "2023-05-11 05:43:00",
      "modified": "2026-07-21 01:45:25",
      "commits": 8
    }
  ],
  "_score": 7.56773196254807,
  "_indexed": true,
  "_nocasepkg": "nonmem2rx",
  "_universes": [
    "nlmixr2",
    "mattfidler"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.10",
      "date": "2026-07-21T05:03:11.000Z",
      "arch": "emscripten",
      "commit": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
      "fileid": "https://r2.ropensci.org/547ebe36f02710f359fdfe46fbb8ece56e1f7d6ce146a731183e3b4885033ec8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/29802503923"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-07-21T05:01:31.000Z",
      "arch": "x86_64",
      "commit": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
      "fileid": "https://r2.ropensci.org/4ee03a8ad0778c0db8fde44933128f6147af3b0a90572f42c26aa40f416982ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/29802503923"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-07-24T12:29:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
      "fileid": "https://r2.ropensci.org/5844990efded585a36667a00cd095f8bfeb694c161d818389141f6d1fb9c7695",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/30092732001"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-07-24T12:29:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
      "fileid": "https://r2.ropensci.org/fe53c0ec5a1c60f2f18b29f98e6f21aace3c74a6de5bd617ef7168d36e52862b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/30092732001"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-07-24T12:28:33.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
      "fileid": "https://r2.ropensci.org/86cc6b5148075210ffca3c533140053cb15b793772286a9848a2eab48912a1e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/30092732001"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-07-24T12:29:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
      "fileid": "https://r2.ropensci.org/a69eedc76ec11b64a7c063b9825782bec2455b8e78e03a07aa5ec94031836d93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/30092732001"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-07-24T12:27:27.000Z",
      "arch": "aarch64",
      "commit": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
      "fileid": "https://r2.ropensci.org/f34a1d4f61a9db65e6a25335649f4d5e43dea4895af559a47cd708fd59fa21a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/30092732001"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-07-24T12:29:31.000Z",
      "arch": "x86_64",
      "commit": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
      "fileid": "https://r2.ropensci.org/d84c7fe7b6eac84a1f62e3a9dcb859db09889a74547ccfec0c866bb76e29ae83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/30092732001"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-07-24T12:27:16.000Z",
      "arch": "aarch64",
      "commit": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
      "fileid": "https://r2.ropensci.org/e37fee48afe31c75da82797d3b418f92b9f718768b0ee909c56ae85ca783d005",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/30092732001"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-07-24T12:29:04.000Z",
      "arch": "x86_64",
      "commit": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
      "fileid": "https://r2.ropensci.org/376365485e3e29ed713c1d87b921e96c82ba94fcb64b76478baa527eff7e6141",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/30092732001"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-07-24T12:35:44.000Z",
      "arch": "x86_64",
      "commit": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
      "fileid": "https://r2.ropensci.org/35dacc377ee80349d7034ec2eddefef5edb71f88be296e3d153aa08530e28b76",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/30092732001"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-07-24T12:36:06.000Z",
      "arch": "x86_64",
      "commit": "728d75c7c5a250a0626055c8fb988e1e8603b8b7",
      "fileid": "https://r2.ropensci.org/7ef8b1351732f339d80ccd891ab0f0049eb8a20fa97be7ad90f06ac608cd7086",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/nlmixr2/actions/runs/30092732001"
    }
  ]
}