{
  "_id": "6a2726b924555f66ed52a83c",
  "Package": "NMsim",
  "Type": "Package",
  "Title": "Seamless 'Nonmem' Simulation Platform",
  "Version": "0.2.7.901",
  "Authors@R": "c(person(\"Philip\", \"Delff\", email = \"philip@delff.dk\",role = c(\"aut\",\"cre\")),\nperson(\"Brian\", \"Reilly\", email = \"reilly.brian.m@gmail.com\",role = c(\"ctb\")),\nperson(\"Sanaya\",\"Shroff\",email=\"sanaya.n.shroff@gmail.com\",role = c(\"ctb\")),\nperson(\"Boris\",\"Grinshpun\",email=\"boris.grinshpun@certara.com\",role = c(\"ctb\")))",
  "Maintainer": "Philip Delff <philip@delff.dk>",
  "Description": "A complete and seamless 'Nonmem' simulation interface\nwithin R. Turns 'Nonmem' control streams into simulation\ncontrol streams, executes them with specified simulation input\ndata and returns the results. The simulation is performed by\n'Nonmem', eliminating manual work and risks of\nre-implementation of models in other tools.",
  "License": "MIT + file LICENSE",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(roclets=c(\"collate\", \"namespace\", \"rd\", \"vignette\"))",
  "Encoding": "UTF-8",
  "Additional_repositories": "https://mpn.metworx.com/snapshots/stable/2024-09-23",
  "BugReports": "https://github.com/nmautoverse/NMsim/issues",
  "Language": "en-US",
  "URL": "https://nmautoverse.github.io/NMsim/",
  "Repository": "https://nmautoverse.r-universe.dev",
  "Date/Publication": "2026-06-08 18:17:35 UTC",
  "RemoteUrl": "https://github.com/nmautoverse/nmsim",
  "RemoteRef": "HEAD",
  "RemoteSha": "c55fd25917f00d5f780531fa5b2f3dad0c7c0ef6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 20:21:49 UTC",
    "User": "root"
  },
  "Author": "Philip Delff [aut, cre],\nBrian Reilly [ctb],\nSanaya Shroff [ctb],\nBoris Grinshpun [ctb]",
  "MD5sum": "27ed0a505ffe9b671803b41a195c28c4",
  "_user": "nmautoverse",
  "_type": "src",
  "_file": "NMsim_0.2.7.901.tar.gz",
  "_fileid": "1d309871800dd143705f91d6a344c4c9b70943b0a04d8aea65c18d8e1df93c5c",
  "_filesize": 1982421,
  "_sha256": "1d309871800dd143705f91d6a344c4c9b70943b0a04d8aea65c18d8e1df93c5c",
  "_created": "2026-06-08T20:21:49.000Z",
  "_published": "2026-06-08T20:31:53.480Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80188462954,
      "time": 181,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7491537813"
    },
    {
      "job": 80188463138,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7491535140"
    },
    {
      "job": 80188462940,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7491661484"
    },
    {
      "job": 80188462936,
      "time": 189,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7491669053"
    },
    {
      "job": 80187751201,
      "time": 235,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7491472887"
    },
    {
      "job": 80188462932,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7491517812"
    },
    {
      "job": 80188462991,
      "time": 177,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7491536087"
    },
    {
      "job": 80188462978,
      "time": 121,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7491516479"
    },
    {
      "job": 80188462984,
      "time": 132,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7491519988"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nmautoverse/actions/runs/27164391377",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nmautoverse/nmsim",
  "_commit": {
    "id": "c55fd25917f00d5f780531fa5b2f3dad0c7c0ef6",
    "author": "Philip Delff <philip@delff.dk>",
    "committer": "Philip Delff <philip@delff.dk>",
    "message": "Merge branch 'main' of https://github.com/philipdelff/NMsim into main\n",
    "time": 1780942655
  },
  "_maintainer": {
    "name": "Philip Delff",
    "email": "philip@delff.dk",
    "login": "philipdelff",
    "description": "",
    "uuid": 5931516
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "NMdata",
      "version": ">= 0.2.2",
      "role": "Imports"
    },
    {
      "package": "R.utils",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "fst",
      "role": "Imports"
    },
    {
      "package": "xfun",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "ggstance",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "tracee",
      "role": "Suggests"
    },
    {
      "package": "tidyvpc",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "coveffectsplot",
      "role": "Suggests"
    },
    {
      "package": "NMcalc",
      "role": "Suggests"
    },
    {
      "package": "waldo",
      "role": "Suggests"
    },
    {
      "package": "simpar",
      "role": "Enhances"
    }
  ],
  "_owner": "nmautoverse",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 5
    },
    {
      "week": "2025-24",
      "n": 3
    },
    {
      "week": "2025-25",
      "n": 13
    },
    {
      "week": "2025-26",
      "n": 7
    },
    {
      "week": "2025-27",
      "n": 4
    },
    {
      "week": "2026-06",
      "n": 3
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 4
    },
    {
      "week": "2026-24",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.2.5",
      "date": "2025-09-06"
    },
    {
      "name": "v0.2.6",
      "date": "2025-11-06"
    },
    {
      "name": "v0.2.7",
      "date": "2026-03-19"
    }
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "philipdelff",
      "count": 1159,
      "uuid": 5931516
    },
    {
      "user": "bmreilly",
      "count": 30,
      "uuid": 7952375
    },
    {
      "user": "scassani",
      "count": 4,
      "uuid": 11405808
    },
    {
      "user": "bgrinshpun",
      "count": 1,
      "uuid": 322775
    },
    {
      "user": "hadley",
      "count": 1,
      "uuid": 4196
    },
    {
      "user": "andersone1",
      "count": 1,
      "uuid": 28537780
    },
    {
      "user": "sanayashroff",
      "count": 1,
      "uuid": 64863761
    }
  ],
  "_userbio": {
    "uuid": 185612429,
    "type": "user",
    "name": "NMautoverse"
  },
  "_downloads": {
    "count": 565,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NMsim"
  },
  "_devurl": "https://github.com/nmautoverse/nmsim",
  "_pkgdown": "https://nmautoverse.github.io/NMsim/",
  "_searchresults": 55,
  "_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/NMsim.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nmautoverse/nmsim",
  "_realowner": "nmautoverse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2023-09-14"
    },
    {
      "version": "0.0.3",
      "date": "2023-09-21"
    },
    {
      "version": "0.0.4",
      "date": "2023-09-21"
    },
    {
      "version": "0.0.5",
      "date": "2023-11-11"
    },
    {
      "version": "0.0.6",
      "date": "2023-11-28"
    },
    {
      "version": "0.0.7",
      "date": "2024-01-09"
    },
    {
      "version": "0.0.8",
      "date": "2024-02-07"
    },
    {
      "version": "0.0.9",
      "date": "2024-02-07"
    },
    {
      "version": "0.0.10",
      "date": "2024-02-09"
    },
    {
      "version": "0.1.0",
      "date": "2024-02-22"
    },
    {
      "version": "0.1.1",
      "date": "2024-07-03"
    },
    {
      "version": "0.1.2",
      "date": "2024-07-15"
    },
    {
      "version": "0.1.3",
      "date": "2024-08-26"
    },
    {
      "version": "0.1.4",
      "date": "2024-11-02"
    },
    {
      "version": "0.1.5",
      "date": "2024-11-14"
    },
    {
      "version": "0.1.6",
      "date": "2025-02-05"
    },
    {
      "version": "0.2.0",
      "date": "2025-03-13"
    },
    {
      "version": "0.2.1",
      "date": "2025-04-24"
    },
    {
      "version": "0.2.2",
      "date": "2025-05-06"
    },
    {
      "version": "0.2.3",
      "date": "2025-05-20"
    },
    {
      "version": "0.2.4",
      "date": "2025-07-16"
    },
    {
      "version": "0.2.5",
      "date": "2025-09-06"
    },
    {
      "version": "0.2.6",
      "date": "2025-11-03"
    },
    {
      "version": "0.2.7",
      "date": "2026-03-19"
    }
  ],
  "_exports": [
    "add",
    "addEVID2",
    "addResVar",
    "deleteTmpDirs",
    "expandCovs",
    "forestDefineCovs",
    "forestSummarize",
    "genPhiFile",
    "inputArchiveDefault",
    "is.NMsimModTab",
    "is.NMsimRes",
    "modTab",
    "NMaddSamples",
    "NMcreateDoses",
    "NMexec",
    "NMreadSim",
    "NMsim",
    "NMsim_asis",
    "NMsim_default",
    "NMsim_EBE",
    "NMsim_known",
    "NMsim_NWPRI",
    "NMsim_typical",
    "NMsim_VarCov",
    "NMsimTestConf",
    "NMwriteFilters",
    "NMwriteInits",
    "NMwriteSizes",
    "overwrite",
    "prioritizePaths",
    "readParsWide",
    "sampleCovs",
    "samplePars",
    "sampleParsSimpar",
    "simPopEtas",
    "summarizeCovs",
    "unNMsimModTab",
    "unNMsimRes"
  ],
  "_help": [
    {
      "page": "add",
      "title": "Create function that adds text elements to vector",
      "topics": [
        "add"
      ]
    },
    {
      "page": "addEVID2",
      "title": "Add simulation records to dosing records",
      "topics": [
        "addEVID2"
      ]
    },
    {
      "page": "addResVar",
      "title": "Add residual variability based on parameter estimates",
      "topics": [
        "addResVar"
      ]
    },
    {
      "page": "deleteTmpDirs",
      "title": "clean up temporary directories left by PSN and NMsim.",
      "topics": [
        "deleteTmpDirs"
      ]
    },
    {
      "page": "expandCovs",
      "title": "Create data set where each covariate is univariately varied (see `forestDefineCovs()`)",
      "topics": [
        "expandCovs"
      ]
    },
    {
      "page": "forestDefineCovs",
      "title": "Create data set where each covariate is univariately varied",
      "topics": [
        "forestDefineCovs"
      ]
    },
    {
      "page": "forestSummarize",
      "title": "Summarize simulated exposures relative to reference subject",
      "topics": [
        "forestSummarize"
      ]
    },
    {
      "page": "genPhiFile",
      "title": "Generate a .phi file for further simulation with Nonmem",
      "topics": [
        "genPhiFile"
      ]
    },
    {
      "page": "inputArchiveDefault",
      "title": "Default location of input archive file",
      "topics": [
        "inputArchiveDefault"
      ]
    },
    {
      "page": "modTab",
      "title": "Get NMsim model metadata",
      "topics": [
        "modTab"
      ]
    },
    {
      "page": "NMaddSamples",
      "title": "Add simulation (sample) records to dosing records",
      "topics": [
        "NMaddSamples"
      ]
    },
    {
      "page": "NMcreateDoses",
      "title": "Easily and flexibly generate dosing records",
      "topics": [
        "NMcreateDoses"
      ]
    },
    {
      "page": "NMexec",
      "title": "Execute Nonmem and archive input data with model files",
      "topics": [
        "NMexec"
      ]
    },
    {
      "page": "NMreadSim",
      "title": "Read simulation results based on NMsim's track of model runs",
      "topics": [
        "NMreadSim"
      ]
    },
    {
      "page": "NMsim",
      "title": "Simulate from a Nonmem model",
      "topics": [
        "NMsim"
      ]
    },
    {
      "page": "NMsim_asis",
      "title": "Simulation method that uses the provided control stream as is",
      "topics": [
        "NMsim_asis"
      ]
    },
    {
      "page": "NMsim_default",
      "title": "Transform an estimated Nonmem model into a simulation control stream",
      "topics": [
        "NMsim_default"
      ]
    },
    {
      "page": "NMsim_EBE",
      "title": "Use emperical Bayes estimates to simulate re-using ETAs",
      "topics": [
        "NMsim_EBE"
      ]
    },
    {
      "page": "NMsim_NWPRI",
      "title": "Simulate with parameter variability using the NONMEM NWPRI subroutine",
      "topics": [
        "NMsim_NWPRI"
      ]
    },
    {
      "page": "NMsim_typical",
      "title": "Typical subject simiulation method",
      "topics": [
        "NMsim_typical"
      ]
    },
    {
      "page": "NMsim_VarCov",
      "title": "Simulate with parameter values sampled from a covariance step",
      "topics": [
        "NMsim_VarCov"
      ]
    },
    {
      "page": "NMsimTestConf",
      "title": "Summarize and test NMsim configuration",
      "topics": [
        "NMsimTestConf"
      ]
    },
    {
      "page": "NMwriteInits",
      "title": "Writes a parameter values to a control stream",
      "topics": [
        "NMwriteInits"
      ]
    },
    {
      "page": "NMwriteSizes",
      "title": "Create or update $SIZES in a control stream",
      "topics": [
        "NMwriteSizes"
      ]
    },
    {
      "page": "overwrite",
      "title": "Create function that modifies text elements in a vector Namely used to feed functions to modify control streams using `NMsim()` arguments such as `modify`. Those functions are often onveniently passed a function. `add` and `overwrite` are simple shortcuts to creating such functions. Make sure to see examples.",
      "topics": [
        "overwrite"
      ]
    },
    {
      "page": "print.summary_NMsimRes",
      "title": "print method for NMsimRes summaries",
      "topics": [
        "print.summary_NMsimRes"
      ]
    },
    {
      "page": "prioritizePaths",
      "title": "first path that works",
      "topics": [
        "prioritizePaths"
      ]
    },
    {
      "page": "readParsWide",
      "title": "Parameter data from csv",
      "topics": [
        "readParsWide"
      ]
    },
    {
      "page": "sampleCovs",
      "title": "Sample subject-level covariates from an existing data set",
      "topics": [
        "sampleCovs"
      ]
    },
    {
      "page": "samplePars",
      "title": "Sample model parameters using `mvrnorm` or the `simpar` package",
      "topics": [
        "samplePars"
      ]
    },
    {
      "page": "sampleParsSimpar",
      "title": "Sample model parameters using the `simpar` package",
      "topics": [
        "sampleParsSimpar"
      ]
    },
    {
      "page": "simPopEtas",
      "title": "Generate a population based on a Nonmem model",
      "topics": [
        "simPopEtas"
      ]
    },
    {
      "page": "summarizeCovs",
      "title": "Summarize simulated exposures relative to reference subject (see `forestSummarize()`)",
      "topics": [
        "summarizeCovs"
      ]
    },
    {
      "page": "summary.NMsimRes",
      "title": "summary method for NMsim results (NMsimRes objects)",
      "topics": [
        "summary.NMsimRes"
      ]
    },
    {
      "page": "NMsimModTabOperations",
      "title": "Remove NMsimModTab class and discard NMsimModTab meta data",
      "topics": [
        "cbind.NMsimModTab",
        "dimnames.NMsimModTab",
        "is.NMsimModTab",
        "merge.NMsimModTab",
        "NMsimModTabOperations",
        "rbind.NMsimModTab",
        "t.NMsimModTab",
        "unNMsimModTab"
      ]
    },
    {
      "page": "NMsimResOperations",
      "title": "Remove NMsimRes class and discard NMsimRes meta data",
      "topics": [
        "cbind.NMsimRes",
        "dimnames.NMsimRes",
        "is.NMsimRes",
        "merge.NMsimRes",
        "NMsimResOperations",
        "rbind.NMsimRes",
        "t.NMsimRes",
        "unNMsimRes"
      ]
    }
  ],
  "_pkglogo": "https://github.com/nmautoverse/nmsim/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/nmautoverse/nmsim/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "fst",
    "fstcore",
    "MASS",
    "NMdata",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "Rcpp",
    "xfun"
  ],
  "_score": 6.171726453653231,
  "_indexed": true,
  "_nocasepkg": "nmsim",
  "_universes": [
    "nmautoverse",
    "philipdelff"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.7.901",
      "date": "2026-06-08T20:24:21.000Z",
      "distro": "noble",
      "commit": "c55fd25917f00d5f780531fa5b2f3dad0c7c0ef6",
      "fileid": "ad77b216556f5b8b662cd13f11e6f13172461b2bdd45095a7df2e6debec355ab",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmautoverse/actions/runs/27164391377"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.7.901",
      "date": "2026-06-08T20:24:16.000Z",
      "distro": "noble",
      "commit": "c55fd25917f00d5f780531fa5b2f3dad0c7c0ef6",
      "fileid": "0633e87540383efa0d0b748f3520a80cad2f95fed9fc7df424c24aa79aeb7aba",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmautoverse/actions/runs/27164391377"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.7.901",
      "date": "2026-06-08T20:30:20.000Z",
      "commit": "c55fd25917f00d5f780531fa5b2f3dad0c7c0ef6",
      "fileid": "2149b440e7d82afcf6b31649c0073a25c097d95e2eab0c358365ca22b2d6597c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmautoverse/actions/runs/27164391377"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.7.901",
      "date": "2026-06-08T20:30:33.000Z",
      "commit": "c55fd25917f00d5f780531fa5b2f3dad0c7c0ef6",
      "fileid": "cfb84599e8139faa360f2c428cbfa664b0999f93d595af09c899030484291ce9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmautoverse/actions/runs/27164391377"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.7.901",
      "date": "2026-06-08T20:24:14.000Z",
      "commit": "c55fd25917f00d5f780531fa5b2f3dad0c7c0ef6",
      "fileid": "2e0e7069f2d394c78d0b7f0111a6c31e06f745a1ff132b7611c25a1e47e4bfa4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nmautoverse/actions/runs/27164391377"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.7.901",
      "date": "2026-06-08T20:23:50.000Z",
      "commit": "c55fd25917f00d5f780531fa5b2f3dad0c7c0ef6",
      "fileid": "1acb8f0edd99ebe6ada919b96864c4d7b6bff1476d1e3ba5080f944886d891a2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmautoverse/actions/runs/27164391377"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.7.901",
      "date": "2026-06-08T20:23:10.000Z",
      "commit": "c55fd25917f00d5f780531fa5b2f3dad0c7c0ef6",
      "fileid": "29681bffa979385255254db252471c5781baa6412dc1419db2e284754942883f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmautoverse/actions/runs/27164391377"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.7.901",
      "date": "2026-06-08T20:23:15.000Z",
      "commit": "c55fd25917f00d5f780531fa5b2f3dad0c7c0ef6",
      "fileid": "73b84b42a6ed20561f865b857c39504f4d30454540fc9a358ff876bbb3d55cf0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nmautoverse/actions/runs/27164391377"
    }
  ]
}