{
  "_id": "6a15bb7bacfb0bcc41d699fb",
  "Package": "amp.sim",
  "Title": "Flexible Simulation Utilities for Pharmacometric Modeling",
  "Version": "0.1.2",
  "Authors@R": "c(person(\"Richard\", \"Hooijmaijers\", email = \"richardhooijmaijers@gmail.com\", role = c(\"aut\", \"cre\",\"cph\")),\nperson(\"LAPP Consultants\",email = \"info@lapp.nl\", role=c(\"fnd\",\"cph\")))",
  "Description": "The goal of 'amp.sim' is to transform 'NONMEM' models into\nR syntax so they can be used for simulations using the\n'deSolve', 'nlmixr2' or 'mrgsolve' package. Additionally,\nfunctionality is included to aid simulations performed directly\nin 'NONMEM' and to automatically create shiny apps for\nsimulation models.",
  "URL": "https://leidenadvancedpkpd.github.io/amp.sim/,\nhttps://github.com/LeidenAdvancedPKPD/amp.sim",
  "BugReports": "https://github.com/LeidenAdvancedPKPD/amp.sim/issues",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "quarto",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libfontconfig1-dev libfreetype6-dev make\nlibxml2-dev",
  "Repository": "https://leidenadvancedpkpd.r-universe.dev",
  "Date/Publication": "2026-05-26 13:23:14 UTC",
  "RemoteUrl": "https://github.com/leidenadvancedpkpd/amp.sim",
  "RemoteRef": "HEAD",
  "RemoteSha": "e12c85369ef9afc420975b712cfc33d803d059a9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-26 15:21:35 UTC",
    "User": "root"
  },
  "Author": "Richard Hooijmaijers [aut, cre, cph],\nLAPP Consultants [fnd, cph]",
  "Maintainer": "Richard Hooijmaijers <richardhooijmaijers@gmail.com>",
  "MD5sum": "419aa42f9feed1c042ad4a7bd354f62e",
  "_user": "leidenadvancedpkpd",
  "_type": "src",
  "_file": "amp.sim_0.1.2.tar.gz",
  "_fileid": "a5555f72eec1ee532bda42f26c27f25d2d6627eaf9fa13878be9d97abfe0b8e2",
  "_filesize": 1710082,
  "_sha256": "a5555f72eec1ee532bda42f26c27f25d2d6627eaf9fa13878be9d97abfe0b8e2",
  "_created": "2026-05-26T15:21:35.000Z",
  "_published": "2026-05-26T15:25:47.572Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77896060439,
      "time": 201,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7218784396"
    },
    {
      "job": 77896060633,
      "time": 191,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7218779504"
    },
    {
      "job": 77896060449,
      "time": 137,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7218760107"
    },
    {
      "job": 77896060414,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7218759329"
    },
    {
      "job": 77895142941,
      "time": 258,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7218698322"
    },
    {
      "job": 77896060421,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7218763919"
    },
    {
      "job": 77896060468,
      "time": 216,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7218790962"
    },
    {
      "job": 77896060506,
      "time": 173,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7218772446"
    },
    {
      "job": 77896060563,
      "time": 215,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7218790182"
    }
  ],
  "_buildurl": "https://github.com/r-universe/leidenadvancedpkpd/actions/runs/26457356311",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/leidenadvancedpkpd/amp.sim",
  "_commit": {
    "id": "e12c85369ef9afc420975b712cfc33d803d059a9",
    "author": "Richard Hooijmaijers <r.hooijmaijers@lapp.nl>",
    "committer": "Richard Hooijmaijers <r.hooijmaijers@lapp.nl>",
    "message": "fix for #6\n",
    "time": 1779801794
  },
  "_maintainer": {
    "name": "Richard Hooijmaijers",
    "email": "richardhooijmaijers@gmail.com",
    "login": "richardhooijmaijers",
    "description": "",
    "uuid": 17103092
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "nonmem2rx",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "whisker",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "NMdata",
      "version": ">= 0.2.3",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinyjs",
      "role": "Suggests"
    },
    {
      "package": "bslib",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "deSolve",
      "role": "Suggests"
    },
    {
      "package": "rxode2",
      "role": "Suggests"
    },
    {
      "package": "mrgsolve",
      "role": "Suggests"
    },
    {
      "package": "R3port",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    }
  ],
  "_owner": "leidenadvancedpkpd",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 5
    },
    {
      "week": "2025-33",
      "n": 7
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-11",
      "n": 3
    },
    {
      "week": "2026-12",
      "n": 8
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 6
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "richardhooijmaijers",
      "count": 30,
      "uuid": 17103092
    },
    {
      "user": "lapp-gh",
      "count": 6,
      "uuid": 63647091
    }
  ],
  "_userbio": {
    "uuid": 136434803,
    "type": "organization",
    "name": "LAP&P Leiden Advanced PKPD"
  },
  "_downloads": {
    "count": 347,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/amp.sim"
  },
  "_devurl": "https://github.com/leidenadvancedpkpd/amp.sim",
  "_pkgdown": "https://leidenadvancedpkpd.github.io/amp.sim/",
  "_searchresults": 0,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/amp.sim.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/leidenadvancedpkpd/amp.sim",
  "_realowner": "leidenadvancedpkpd",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-05-07"
    },
    {
      "version": "0.1.1",
      "date": "2026-05-11"
    }
  ],
  "_exports": [
    "conv_pow",
    "convert_nmsyntax",
    "convert_nonmem",
    "cut_equal",
    "dose_func",
    "dput2",
    "get_est",
    "get_inits",
    "get_nmblock",
    "get_param",
    "get_parmvar",
    "make_nmsimmodel",
    "mdose",
    "mod2shiny",
    "model_validation",
    "nmlistblock",
    "overlaying",
    "par_delete",
    "pos_clpar",
    "sample_par",
    "sample_sim",
    "settings2df",
    "simdata",
    "split_sim",
    "tmpl_model"
  ],
  "_help": [
    {
      "page": "conv_pow",
      "title": "Convert infix power notation to prefix notation",
      "topics": [
        "conv_pow"
      ]
    },
    {
      "page": "convert_nmsyntax",
      "title": "Convert NONMEM specific syntax to R syntax",
      "topics": [
        "convert_nmsyntax"
      ]
    },
    {
      "page": "convert_nonmem",
      "title": "Convert NONMEM model to R syntax",
      "topics": [
        "convert_nonmem"
      ]
    },
    {
      "page": "cut_equal",
      "title": "cut function for (appr.) equal intervals",
      "topics": [
        "cut_equal"
      ]
    },
    {
      "page": "dose_func",
      "title": "Create data.frame with dosing for usage in simulation with deSolve",
      "topics": [
        "dose_func"
      ]
    },
    {
      "page": "dput2",
      "title": "Wrapper function around dput to provide more options",
      "topics": [
        "dput2"
      ]
    },
    {
      "page": "get_est",
      "title": "Get model estimates from NONMEM ext or model file",
      "topics": [
        "get_est"
      ]
    },
    {
      "page": "get_inits",
      "title": "get the initial states for the differential equations",
      "topics": [
        "get_inits"
      ]
    },
    {
      "page": "get_nmblock",
      "title": "Get information from dollar blocks inside NONMEM control streams",
      "topics": [
        "get_nmblock"
      ]
    },
    {
      "page": "get_param",
      "title": "Get parameter values from model or ext file",
      "topics": [
        "get_param"
      ]
    },
    {
      "page": "get_parmvar",
      "title": "Get the variables within a NONMEM model that should be passed to the simulation model",
      "topics": [
        "get_parmvar"
      ]
    },
    {
      "page": "make_nmsimmodel",
      "title": "Create a simulation model from original model",
      "topics": [
        "make_nmsimmodel"
      ]
    },
    {
      "page": "mdose",
      "title": "Performs multiple dosing in case of analytical solution of model",
      "topics": [
        "mdose"
      ]
    },
    {
      "page": "mod2shiny",
      "title": "Creates a basic simulation app for a given R model",
      "topics": [
        "mod2shiny"
      ]
    },
    {
      "page": "model_validation",
      "title": "Validates NONMEM estimation model with an mrgsolve simulation model",
      "topics": [
        "model_validation"
      ]
    },
    {
      "page": "nmlistblock",
      "title": "convert a block to a list",
      "topics": [
        "nmlistblock"
      ]
    },
    {
      "page": "overlaying",
      "title": "Performs overlaying of simulations",
      "topics": [
        "overlaying"
      ]
    },
    {
      "page": "par_delete",
      "title": "Delete parenthesis including a numeric within a vector",
      "topics": [
        "par_delete"
      ]
    },
    {
      "page": "pos_clpar",
      "title": "Get position of closing parenthesis",
      "topics": [
        "pos_clpar"
      ]
    },
    {
      "page": "sample_par",
      "title": "Sample model parameters from a multivariate normal distribution",
      "topics": [
        "sample_par"
      ]
    },
    {
      "page": "sample_sim",
      "title": "Sample model parameters for a simulation",
      "topics": [
        "sample_sim"
      ]
    },
    {
      "page": "settings2df",
      "title": "Add settings to dataframe",
      "topics": [
        "settings2df"
      ]
    },
    {
      "page": "simdata",
      "title": "Create a simulation dataset for NONMEM simulation",
      "topics": [
        "simdata"
      ]
    },
    {
      "page": "split_sim",
      "title": "Split a large NONMEM simulation in chunks",
      "topics": [
        "split_sim"
      ]
    },
    {
      "page": "tmpl_model",
      "title": "Get coding for template models",
      "topics": [
        "tmpl_model"
      ]
    }
  ],
  "_pkglogo": "https://github.com/leidenadvancedpkpd/amp.sim/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/leidenadvancedpkpd/amp.sim/raw/HEAD/README.md",
  "_rundeps": [
    "armadillo4r",
    "backports",
    "base64enc",
    "BH",
    "cachem",
    "checkmate",
    "cli",
    "cpp11",
    "cpp4r",
    "crayon",
    "data.table",
    "desc",
    "digest",
    "dparser",
    "farver",
    "fastmap",
    "fst",
    "fstcore",
    "ggforce",
    "ggplot2",
    "glue",
    "gtable",
    "inline",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "lotri",
    "magrittr",
    "MASS",
    "memoise",
    "NMdata",
    "nonmem2rx",
    "polyclip",
    "PreciseSums",
    "qs2",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "rex",
    "rlang",
    "rxode2",
    "rxode2ll",
    "S7",
    "scales",
    "sitmo",
    "StanHeaders",
    "stringfish",
    "sys",
    "systemfonts",
    "tidyselect",
    "tweenr",
    "vctrs",
    "viridisLite",
    "whisker",
    "withr",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "Vign.04.options_restrictions.qmd",
      "filename": "Vign.04.options_restrictions.html",
      "title": "Considerations for translating models",
      "engine": "quarto::html",
      "headings": [],
      "created": "2026-04-10 07:22:31",
      "modified": "2026-04-10 07:22:31",
      "commits": 1
    },
    {
      "source": "Vign.03.Shiny_apps.qmd",
      "filename": "Vign.03.Shiny_apps.html",
      "title": "Shiny apps",
      "engine": "quarto::html",
      "headings": [],
      "created": "2026-04-10 07:22:31",
      "modified": "2026-04-10 07:22:31",
      "commits": 1
    },
    {
      "source": "Vign.02.NONMEM_simulations.qmd",
      "filename": "Vign.02.NONMEM_simulations.html",
      "title": "Simulations using NONMEM",
      "engine": "quarto::html",
      "headings": [],
      "created": "2026-04-10 07:22:31",
      "modified": "2026-04-10 07:22:31",
      "commits": 1
    },
    {
      "source": "Vign.01.R_simulations.qmd",
      "filename": "Vign.01.R_simulations.html",
      "title": "Simulations using R",
      "engine": "quarto::html",
      "headings": [],
      "created": "2026-04-10 07:22:31",
      "modified": "2026-04-10 09:15:25",
      "commits": 2
    }
  ],
  "_score": 5.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "amp.sim",
  "_universes": [
    "leidenadvancedpkpd",
    "richardhooijmaijers"
  ],
  "_previous": "0.1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-26T15:24:43.000Z",
      "distro": "noble",
      "commit": "e12c85369ef9afc420975b712cfc33d803d059a9",
      "fileid": "945117d67c039d375a3a65361ad772df54ee0efcfb07b1976171c5441c882396",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leidenadvancedpkpd/actions/runs/26457356311"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-26T15:24:31.000Z",
      "distro": "noble",
      "commit": "e12c85369ef9afc420975b712cfc33d803d059a9",
      "fileid": "52e99f96835b068ff2cb69929c996a4b263f6586aca5562bf4ed0aad730ef134",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leidenadvancedpkpd/actions/runs/26457356311"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-26T15:23:54.000Z",
      "commit": "e12c85369ef9afc420975b712cfc33d803d059a9",
      "fileid": "753b10bbe613ed536965198c7f005bc4d73bb03bab5e0156fb03903e11a2526d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leidenadvancedpkpd/actions/runs/26457356311"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-26T15:23:54.000Z",
      "commit": "e12c85369ef9afc420975b712cfc33d803d059a9",
      "fileid": "d2a20d671e14e1166ea13cd9f39cba3f444887af7c62b734fd5e17242be62b9b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leidenadvancedpkpd/actions/runs/26457356311"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-05-26T15:24:28.000Z",
      "commit": "e12c85369ef9afc420975b712cfc33d803d059a9",
      "fileid": "406744ac313eadcffc717f1239229ab671da7895b196e38b1bacd18b0fe8e317",
      "status": "success",
      "buildurl": "https://github.com/r-universe/leidenadvancedpkpd/actions/runs/26457356311"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-26T15:24:18.000Z",
      "commit": "e12c85369ef9afc420975b712cfc33d803d059a9",
      "fileid": "2e5fc2b2efab7f67e8fceb6aeb8e214791f5b31fb1dbac9ff554a446aaf6734e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leidenadvancedpkpd/actions/runs/26457356311"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-26T15:23:57.000Z",
      "commit": "e12c85369ef9afc420975b712cfc33d803d059a9",
      "fileid": "12b30987efb133795be103a460426f6575aace628a5ac33c0f185b90b7849ffc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leidenadvancedpkpd/actions/runs/26457356311"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-26T15:24:01.000Z",
      "commit": "e12c85369ef9afc420975b712cfc33d803d059a9",
      "fileid": "f2889e27be1d19562aa717f1579a5716538d4ea6fb2d18bee31b7fd8aac2ced8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leidenadvancedpkpd/actions/runs/26457356311"
    }
  ]
}