{
  "_id": "6a61abddf673e46fff56d74d",
  "Package": "MCSimMod",
  "Title": "Working with 'MCSim' Models",
  "Version": "1.2",
  "Authors@R": "c(\nperson(\"Dustin F.\", \"Kapraun\", role=c(\"aut\", \"cre\"), email = \"kapraun.dustin@epa.gov\", comment = c(ORCID = \"0000-0001-5570-6383\")),\nperson(\"Todd J.\", \"Zurlinden\", role=\"aut\", comment = c(ORCID = \"0000-0003-1372-3913\")),\nperson(\"Andrew J.\", \"Shapiro\", role=\"aut\", comment = c(ORCID = \"0000-0002-5233-8092\")),\nperson(\"Ryan D.\", \"Friese\", role=\"aut\", comment = c(ORCID = \"0000-0002-4121-2195\")),\nperson(\"Frederic Y.\", \"Bois\", role=\"ctb\", comment = c(ORCID = \" 0000-0002-4154-0391\")),\nperson(\"Free Software Foundation, Inc.\", role=\"cph\")\n)",
  "Description": "Tools that facilitate ordinary differential equation (ODE)\nmodeling in 'R'. This package allows one to perform simulations\nfor ODE models that are encoded in the GNU 'MCSim' model\nspecification language (Bois, 2009)\n<doi:10.1093/bioinformatics/btp162> using ODE solvers from the\n'R' package 'deSolve' (Soetaert et al., 2010)\n<doi:10.18637/jss.v033.i09>.",
  "URL": "https://CRAN.R-project.org/package=MCSimMod,\nhttps://github.com/USEPA/MCSimMod",
  "License": "GPL-3 + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/Needs/dev": "devtools, styler (== 1.11.0), testthat, covr",
  "Config/Needs/website": "r-lib/pkgdown",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Repository": "https://usepa.r-universe.dev",
  "Date/Publication": "2026-01-22 19:49:55 UTC",
  "RemoteUrl": "https://github.com/usepa/mcsimmod",
  "RemoteRef": "HEAD",
  "RemoteSha": "5e74f063b5184ef74e2020c734e7c3ab5e463708",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-21 09:23:41 UTC",
    "User": "root"
  },
  "Author": "Dustin F. Kapraun [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5570-6383>),\nTodd J. Zurlinden [aut] (ORCID:\n<https://orcid.org/0000-0003-1372-3913>),\nAndrew J. Shapiro [aut] (ORCID:\n<https://orcid.org/0000-0002-5233-8092>),\nRyan D. Friese [aut] (ORCID: <https://orcid.org/0000-0002-4121-2195>),\nFrederic Y. Bois [ctb] (ORCID: <https://orcid.org/0000-0002-4154-0391>),\nFree Software Foundation, Inc. [cph]",
  "Maintainer": "Dustin F. Kapraun <kapraun.dustin@epa.gov>",
  "_user": "usepa",
  "_type": "src",
  "_file": "MCSimMod_1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/9b5c20a6ffffa87d9c37bf0711fa9d7ff68e464b176b32c0d84b87d0e51cbb3a",
  "_filesize": 1819716,
  "_sha256": "9b5c20a6ffffa87d9c37bf0711fa9d7ff68e464b176b32c0d84b87d0e51cbb3a",
  "_expires": "2026-10-29T10:26:31.000Z",
  "_created": "2026-07-21T09:23:41.000Z",
  "_published": "2026-07-23T05:51:25.135Z",
  "_jobs": [
    {
      "job": 89121067620,
      "time": 3738,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 89121068002,
      "time": 133,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8490240148"
    },
    {
      "job": 89121067582,
      "time": 3743,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 89121068240,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8490240777"
    },
    {
      "job": 89121068239,
      "time": 112,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8490231104"
    },
    {
      "job": 89121068093,
      "time": 164,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8490255159"
    },
    {
      "job": 89121068079,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8490232950"
    },
    {
      "job": 89121068155,
      "time": 132,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8490240137"
    },
    {
      "job": 89121067816,
      "time": 169,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8490181022"
    },
    {
      "job": 89121067981,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8490229451"
    },
    {
      "job": 89121067885,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8490223477"
    },
    {
      "job": 89121068214,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8490223700"
    },
    {
      "job": 89121068078,
      "time": 146,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8490248940"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/usepa/actions/runs/29817902915",
  "_status": "success",
  "_upstream": "https://github.com/usepa/mcsimmod",
  "_commit": {
    "id": "5e74f063b5184ef74e2020c734e7c3ab5e463708",
    "author": "Dustin Kapraun <63881572+dfkapraun@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Fix issue with spaces in path names, update docstrings, and update version number (#52)\n\n* Fixed issue involving spaces in path names in the file 'fixPath.R', updated docstrings in 'MCSim_model.R', and updated version number in 'DESCRIPTION'.\n\n* Update R/fixPath.R\n\nCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>\n\n---------\n\nCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>",
    "time": 1769111395
  },
  "_maintainer": {
    "name": "Dustin F. Kapraun",
    "email": "kapraun.dustin@epa.gov",
    "login": "dfkapraun",
    "orcid": "0000-0001-5570-6383",
    "description": "",
    "uuid": 63881572
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "deSolve",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "usepa",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-33",
      "n": 2
    },
    {
      "week": "2025-34",
      "n": 4
    },
    {
      "week": "2025-47",
      "n": 2
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0",
      "date": "2025-08-15"
    },
    {
      "name": "v1.2",
      "date": "2026-01-22"
    }
  ],
  "_topics": [
    "ode",
    "ode-model",
    "pbpk",
    "pbpk-modeling"
  ],
  "_stars": 11,
  "_contributors": [
    {
      "user": "dfkapraun",
      "count": 19,
      "uuid": 63881572
    },
    {
      "user": "tjzurlin",
      "count": 19,
      "uuid": 7946625
    },
    {
      "user": "shapiromatron",
      "count": 17,
      "uuid": 999952
    },
    {
      "user": "rdfriese",
      "count": 3,
      "uuid": 19875474
    }
  ],
  "_userbio": {
    "uuid": 1304320,
    "type": "organization",
    "name": "U.S. Environmental Protection Agency",
    "followers": 740,
    "description": "Protecting Human Health and the Environment"
  },
  "_downloads": {
    "count": 172,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MCSimMod"
  },
  "_devurl": "https://github.com/usepa/mcsimmod",
  "_searchresults": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/MCSimMod.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/usepa/mcsimmod",
  "_realowner": "usepa",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.9",
      "date": "2025-04-10"
    },
    {
      "version": "0.9.1",
      "date": "2025-04-17"
    },
    {
      "version": "1.0",
      "date": "2025-08-19"
    },
    {
      "version": "1.2",
      "date": "2026-01-23"
    }
  ],
  "_exports": [
    "compileModel",
    "createModel"
  ],
  "_help": [
    {
      "page": "compileModel",
      "title": "Function to translate and compile MCSim model specification text",
      "topics": [
        "compileModel"
      ]
    },
    {
      "page": "createModel",
      "title": "Function to create an MCSimMod Model object",
      "topics": [
        "createModel"
      ]
    },
    {
      "page": "Model-class",
      "title": "MCSimMod Model class",
      "topics": [
        "Model",
        "Model-class"
      ]
    }
  ],
  "_readme": "https://github.com/usepa/mcsimmod/raw/HEAD/README.md",
  "_rundeps": [
    "deSolve"
  ],
  "_vignettes": [
    {
      "source": "intro.Rmd",
      "filename": "intro.html",
      "title": "(1) Introduction to MCSimMod",
      "author": "Dustin Kapraun",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-08-15 17:44:28",
      "modified": "2025-08-15 17:44:28",
      "commits": 1
    },
    {
      "source": "details.Rmd",
      "filename": "details.html",
      "title": "(2) MCSimMod Details",
      "author": "Dustin Kapraun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Object-Oriented Design",
        "Model Specification",
        "Creating a Model object",
        "Using a Model object",
        "Translating and compiling MCSim model specification text without creating a Model object"
      ],
      "created": "2025-08-15 17:44:28",
      "modified": "2025-08-15 17:44:28",
      "commits": 1
    },
    {
      "source": "model_specification.Rmd",
      "filename": "model_specification.html",
      "title": "(3) Model Specification",
      "author": "Dustin Kapraun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A Mathematical Model for Exponential Growth or Decay",
        "MCSim Model Specification",
        "Element 1: States",
        "Element 2: Outputs",
        "Element 3: Inputs",
        "Element 4: Parameters",
        "Element 5: Initialize Section",
        "Element 6: Dynamics Section",
        "Element 7: End Keyword",
        "Building the Model",
        "Solving an Initial Value Problem (i.e., Performing a Model Simulation)",
        "Examining the Results"
      ],
      "created": "2025-08-15 17:44:28",
      "modified": "2025-08-15 17:44:28",
      "commits": 1
    },
    {
      "source": "newt_cool_demo.Rmd",
      "filename": "newt_cool_demo.html",
      "title": "(4) A Model for Newton's Law of Cooling",
      "author": "Dustin Kapraun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model Description",
        "MCSim Model Specification",
        "Building the Model",
        "Predicting the Temperature of a Cup of Tea",
        "Examining the Results"
      ],
      "created": "2024-08-22 17:26:51",
      "modified": "2025-08-15 17:44:28",
      "commits": 8
    },
    {
      "source": "pred_prey_demo.Rmd",
      "filename": "pred_prey_demo.html",
      "title": "(5) A Predator-Prey Model",
      "author": "Dustin Kapraun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model Description",
        "MCSim Model Specification",
        "Building the Model",
        "Predicting the Numbers of Rabbits and Foxes",
        "Examining the Results"
      ],
      "created": "2024-08-22 17:26:51",
      "modified": "2025-08-15 17:44:28",
      "commits": 7
    },
    {
      "source": "pk1_demo.Rmd",
      "filename": "pk1_demo.html",
      "title": "(6) A Classical Pharmacokinetic Model",
      "author": "Dustin Kapraun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model Description",
        "MCSim Model Specification",
        "Building the Model",
        "Predicting the Blood Concentration of a Substance Following an Oral Dose",
        "Examining the Results",
        "Predicting the Blood Concentration of a Substance Following an IV Dose",
        "Comparing AUC Values for Oral and IV Dosing Scenarios"
      ],
      "created": "2024-08-22 17:26:51",
      "modified": "2025-08-15 17:44:28",
      "commits": 7
    },
    {
      "source": "inputs_demo.Rmd",
      "filename": "inputs_demo.html",
      "title": "(7) Using Input Variables",
      "author": "Dustin Kapraun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Input Variables",
        "A Classical Pharmacokinetic Model",
        "MCSim Model Specification",
        "Building the Model",
        "Predicting the Blood Concentration of a Substance Following Oral Dosing",
        "Examining the Results"
      ],
      "created": "2024-08-22 17:26:51",
      "modified": "2025-08-15 17:44:28",
      "commits": 10
    },
    {
      "source": "events_demo.Rmd",
      "filename": "events_demo.html",
      "title": "(8) Incorporating Events into a Simulation",
      "author": "Dustin Kapraun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Events",
        "A Classical Pharmacokinetic Model",
        "MCSim Model Specification",
        "Building the Model",
        "Predicting the Blood Concentration of a Substance During Repeated Oral Dosing using Events",
        "Examining the Results"
      ],
      "created": "2024-08-22 17:26:51",
      "modified": "2025-08-15 17:44:28",
      "commits": 9
    },
    {
      "source": "pbpk_demo.Rmd",
      "filename": "pbpk_demo.html",
      "title": "(9) A Physiologically Based Pharmacokinetic Model",
      "author": "Dustin Kapraun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model Description",
        "MCSim Model Specification",
        "Building the Model",
        "Verifying Conservation of Mass",
        "Verifying Conservation of Flow",
        "Examining the Simulation Results"
      ],
      "created": "2025-08-15 17:44:28",
      "modified": "2025-08-15 17:44:28",
      "commits": 1
    }
  ],
  "_score": 7.046787717044931,
  "_indexed": true,
  "_nocasepkg": "mcsimmod",
  "_universes": [
    "usepa",
    "dfkapraun"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-07-21T09:25:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5e74f063b5184ef74e2020c734e7c3ab5e463708",
      "fileid": "https://r2.ropensci.org/c114f56b395fc816b18e2e407b7dc9c4bd4cfb07799e0987076bf44967cdac48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usepa/actions/runs/29817902915"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2",
      "date": "2026-07-21T09:25:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5e74f063b5184ef74e2020c734e7c3ab5e463708",
      "fileid": "https://r2.ropensci.org/968ba4ad7d77f5c600c660232cf89cf0efafeb086b37fd22148a9cc6da49ab61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usepa/actions/runs/29817902915"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-07-21T09:25:27.000Z",
      "arch": "aarch64",
      "commit": "5e74f063b5184ef74e2020c734e7c3ab5e463708",
      "fileid": "https://r2.ropensci.org/cf934537bb60b1540dd3ca64265a5b38ae1f3b76adf1d4aa61d38bd1af14487d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usepa/actions/runs/29817902915"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-07-21T09:26:12.000Z",
      "arch": "x86_64",
      "commit": "5e74f063b5184ef74e2020c734e7c3ab5e463708",
      "fileid": "https://r2.ropensci.org/c233d301cf60ad701113e9fb31f8969ba66cf4e5e75fe75dd6919c4f4ec0943c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usepa/actions/runs/29817902915"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2",
      "date": "2026-07-21T09:25:30.000Z",
      "arch": "aarch64",
      "commit": "5e74f063b5184ef74e2020c734e7c3ab5e463708",
      "fileid": "https://r2.ropensci.org/1df99bf24b26fabaa9da4d61f1b7e65918dcaf50b55ce1942bc784fd7422c745",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usepa/actions/runs/29817902915"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2",
      "date": "2026-07-21T09:25:43.000Z",
      "arch": "x86_64",
      "commit": "5e74f063b5184ef74e2020c734e7c3ab5e463708",
      "fileid": "https://r2.ropensci.org/c71adf2313a66dc4ee3903c163e121c5e1ea2d9a7757531e26b941feb4b42bd1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usepa/actions/runs/29817902915"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2",
      "date": "2026-07-21T09:25:44.000Z",
      "arch": "emscripten",
      "commit": "5e74f063b5184ef74e2020c734e7c3ab5e463708",
      "fileid": "https://r2.ropensci.org/be3e79d412ec74032f11333b9ffe37e841fa00e0472bb41071eda75cb73e3b71",
      "status": "success",
      "buildurl": "https://github.com/r-universe/usepa/actions/runs/29817902915"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-07-21T09:24:51.000Z",
      "arch": "x86_64",
      "commit": "5e74f063b5184ef74e2020c734e7c3ab5e463708",
      "fileid": "https://r2.ropensci.org/066056d3ddc37e2a763605487425930c8daf734d1622202f7aab9dcb49c737fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usepa/actions/runs/29817902915"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2",
      "date": "2026-07-21T09:24:54.000Z",
      "arch": "x86_64",
      "commit": "5e74f063b5184ef74e2020c734e7c3ab5e463708",
      "fileid": "https://r2.ropensci.org/c30a2b8e00c23bfba7307888c4fdd774898693ca3454ef90f34026fbd3c4dc82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usepa/actions/runs/29817902915"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2",
      "date": "2026-07-21T09:25:16.000Z",
      "arch": "x86_64",
      "commit": "5e74f063b5184ef74e2020c734e7c3ab5e463708",
      "fileid": "https://r2.ropensci.org/dcd7c269dd0bf62fdf6686a297181fbd286873818e4a15ce88272fa2fca7dbd5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/usepa/actions/runs/29817902915"
    }
  ]
}