{
  "_id": "6aca3f62fe5cc25786e85df8",
  "Package": "microsimulation",
  "Type": "Package",
  "Title": "Discrete Event Simulation in R and C++, with Tools for\nCost-Effectiveness Analysis",
  "Version": "1.4.9",
  "Authors@R": "c(person(\"Mark\", \"Clements\", role=c(\"aut\",\"cre\",\"cph\"),email=\"mark.clements@ki.se\"),\nperson(\"Alexandra\", \"Jauhiainen\", role=\"aut\"),\nperson(\"Andreas\", \"Karlsson\", role=\"aut\"),\nperson(\"Antonio\",\"Carzaniga\", role=\"cph\"),\nperson(\"University of Colorado\", role=\"cph\"),\nperson(\"Pierre\", \"L'Ecuyer\", role=\"cph\"))",
  "Description": "Discrete event simulation using both R and C++ (Karlsson\net al 2016; <doi:10.1109/eScience.2016.7870915>). The C++ code\nis adapted from the SSIM library\n<https://www.inf.usi.ch/carzaniga/ssim/>, allowing for\nevent-oriented simulation. The code includes a SummaryReport\nclass for reporting events and costs by age and other\ncovariates. The C++ code is available as a static library for\nlinking to other packages. A priority queue implementation is\ngiven in C++ together with an S3 closure and a reference class\nimplementation. Finally, some tools are provided for\ncost-effectiveness analysis.",
  "License": "GPL (>= 3)",
  "LazyData": "true",
  "URL": "https://github.com/mclements/microsimulation",
  "BugReports": "https://github.com/mclements/microsimulation/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Repository": "https://mclements.r-universe.dev",
  "Date/Publication": "2026-02-27 11:55:18 UTC",
  "RemoteUrl": "https://github.com/mclements/microsimulation",
  "RemoteRef": "HEAD",
  "RemoteSha": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-10 13:28:43 UTC",
    "User": "root"
  },
  "Author": "Mark Clements [aut, cre, cph],\nAlexandra Jauhiainen [aut],\nAndreas Karlsson [aut],\nAntonio Carzaniga [cph],\nUniversity of Colorado [cph],\nPierre L'Ecuyer [cph]",
  "Maintainer": "Mark Clements <mark.clements@ki.se>",
  "_user": "mclements",
  "_type": "src",
  "_file": "microsimulation_1.4.9.tar.gz",
  "_fileid": "https://r2.ropensci.org/6ae8941b56aaefa13464cf9bd2ae50fbde4e29b164dd7700d3ee297b4f6628de",
  "_filesize": 605285,
  "_sha256": "6ae8941b56aaefa13464cf9bd2ae50fbde4e29b164dd7700d3ee297b4f6628de",
  "_expires": "2027-01-18T13:36:32.000Z",
  "_created": "2026-10-10T13:28:43.000Z",
  "_published": "2026-10-10T13:36:34.129Z",
  "_buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114224355221,
      "time": 133,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11671031034"
    },
    {
      "job": 114224355262,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11671776278"
    },
    {
      "job": 114224355238,
      "time": 127,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671871029"
    },
    {
      "job": 114224355233,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671946174"
    },
    {
      "job": 114224355373,
      "time": 121,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11671166051"
    },
    {
      "job": 114224355294,
      "time": 325,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11671396220"
    },
    {
      "job": 114224355324,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11670956328"
    },
    {
      "job": 114224355242,
      "time": 272,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671031262"
    },
    {
      "job": 114223634815,
      "time": 214,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671581145"
    },
    {
      "job": 114224355249,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11671415789"
    },
    {
      "job": 114224355265,
      "time": 258,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11671061128"
    },
    {
      "job": 114224355367,
      "time": 210,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11672100964"
    },
    {
      "job": 114224355261,
      "time": 161,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11671515758"
    },
    {
      "job": 114224355273,
      "time": 241,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11672051135"
    },
    {
      "job": 114224355299,
      "time": 185,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671036944"
    }
  ],
  "_upstream": "https://github.com/mclements/microsimulation",
  "_commit": {
    "id": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
    "author": "Mark Clements <mark.clements@ki.se>",
    "committer": "Mark Clements <mark.clements@ki.se>",
    "message": "Fixes for CRAN submission\n",
    "time": 1772193318
  },
  "_maintainer": {
    "name": "Mark Clements",
    "email": "mark.clements@ki.se",
    "login": "mclements",
    "description": "",
    "uuid": 557321
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "version": ">= 0.10.2",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "ascii",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    }
  ],
  "_owner": "mclements",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-48",
      "n": 2
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "cpp",
    "discrete-event-simulation",
    "health-economics",
    "openblas",
    "cpp"
  ],
  "_stars": 44,
  "_contributors": [
    {
      "user": "mclements",
      "count": 328,
      "uuid": 557321
    },
    {
      "user": "andreasakarlsson",
      "count": 133,
      "uuid": 5526898
    },
    {
      "user": "alejau",
      "count": 10,
      "uuid": 3898358
    },
    {
      "user": "kland",
      "count": 2,
      "uuid": 2462777
    }
  ],
  "_userbio": {
    "uuid": 557321,
    "type": "user",
    "name": "mclements",
    "followers": 69
  },
  "_downloads": {
    "count": 422,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/microsimulation"
  },
  "_devurl": "https://github.com/mclements/microsimulation",
  "_searchresults": 34,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/microsimulation.html"
  ],
  "_homeurl": "https://github.com/mclements/microsimulation",
  "_realowner": "mclements",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.3.3",
      "date": "2021-03-20"
    },
    {
      "version": "1.3.4",
      "date": "2021-03-21"
    },
    {
      "version": "1.3.5",
      "date": "2021-07-15"
    },
    {
      "version": "1.3.6",
      "date": "2021-11-16"
    },
    {
      "version": "1.3.7",
      "date": "2022-04-04"
    },
    {
      "version": "1.4.1",
      "date": "2022-10-18"
    },
    {
      "version": "1.4.2",
      "date": "2023-03-08"
    },
    {
      "version": "1.4.3",
      "date": "2023-07-19"
    },
    {
      "version": "1.4.4",
      "date": "2024-08-19"
    },
    {
      "version": "1.4.5",
      "date": "2025-09-26"
    }
  ],
  "_exports": [
    "advance.substream",
    "callCalibrationPerson",
    "callIllnessDeath",
    "callPersonSimulation",
    "callSimplePerson",
    "callSimplePerson2",
    "ceac_mvn",
    "discountedInterval",
    "discountedPoint",
    "dMVK",
    "enum",
    "enum<-",
    "frontier",
    "ICER",
    "inlineCxxPlugin",
    "LdFlags",
    "microsimulation.exit",
    "microsimulation.init",
    "next.user.Random.substream",
    "pMVK",
    "pqueue",
    "pqueue__cancel",
    "pqueue__clear",
    "pqueue__empty",
    "pqueue__new",
    "pqueue__pop",
    "pqueue__push",
    "qMVK",
    "r_create_current_stream",
    "r_get_user_random_seed",
    "r_next_rng_substream",
    "r_remove_current_stream",
    "r_rng_advance_substream",
    "r_set_user_random_seed",
    "rMVK",
    "RNGstate",
    "RNGStream",
    "rnormPos",
    "set.user.Random.seed",
    "signed",
    "unsigned",
    "user.Random.seed"
  ],
  "_datasets": [
    {
      "name": "fhcrcData",
      "title": "Old data used in the prostata model",
      "object": "fhcrcData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "microsimulation-package",
      "title": "microsimulation",
      "topics": [
        "microsimulation-package",
        "microsimulation"
      ]
    },
    {
      "page": "Utilities",
      "title": "Internal function",
      "topics": [
        ".microsimulationLdFlags",
        ".onLoad",
        ".onUnload",
        "advance.substream",
        "ceac_mvn",
        "discountedPoint",
        "enum",
        "enum<-",
        "frontier",
        "ICER",
        "inlineCxxPlugin",
        "LdFlags",
        "lines_frontier",
        "microsimulation.exit",
        "microsimulation.init",
        "next.user.Random.substream",
        "RNGstate",
        "rnormPos",
        "set.user.Random.seed",
        "signed",
        "unsigned",
        "user.Random.seed"
      ]
    },
    {
      "page": "Examples",
      "title": "call CalibrationPerson example",
      "topics": [
        "callCalibrationPerson",
        "callIllnessDeath",
        "callPersonSimulation",
        "callSimplePerson",
        "callSimplePerson2"
      ]
    },
    {
      "page": "discountedInterval",
      "title": "Integrate a discounted value",
      "topics": [
        "discountedInterval"
      ]
    },
    {
      "page": "MVK",
      "title": "Probability density function for an MVK distribution",
      "topics": [
        "dMVK",
        "pMVK",
        "qMVK",
        "rMVK",
        "rMVK2"
      ]
    },
    {
      "page": "Data",
      "title": "Old data used in the prostata model",
      "topics": [
        "fhcrcData"
      ]
    },
    {
      "page": "Classes",
      "title": "S3 priority queue implementation using C++",
      "topics": [
        "BaseDiscreteEventSimulation",
        "BaseDiscreteEventSimulation-class",
        "EventQueue",
        "EventQueue-class",
        "pqueue",
        "PQueueRef",
        "PQueueRef-class"
      ]
    },
    {
      "page": "Internal",
      "title": "C++ function",
      "topics": [
        "callCalibrationSimulation",
        "pqueue__cancel",
        "pqueue__clear",
        "pqueue__empty",
        "pqueue__new",
        "pqueue__pop",
        "pqueue__push",
        "r_create_current_stream",
        "r_get_user_random_seed",
        "r_next_rng_substream",
        "r_remove_current_stream",
        "r_rng_advance_substream",
        "r_set_user_random_seed"
      ]
    },
    {
      "page": "RNGStream",
      "title": "S3 class to work with RngStream objects",
      "topics": [
        "RNGStream",
        "RNGStream-class",
        "with.RNGStream"
      ]
    },
    {
      "page": "simulate",
      "title": "Simulate event times from a survreg object",
      "topics": [
        "simulate.survreg"
      ]
    },
    {
      "page": "SummaryReport",
      "title": "summary method for a SummaryReport object",
      "topics": [
        "ascii.ICER.SummaryReport",
        "ascii.SummaryReport",
        "ICER.SummaryReport",
        "print.summary.SummaryReport",
        "print.SummaryReport",
        "rbind.SummaryReport",
        "summary.SummaryReport"
      ]
    }
  ],
  "_rundeps": [
    "ascii",
    "codetools",
    "digest",
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppArmadillo",
    "survival"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 5.351022852584124,
  "_indexed": true,
  "_nocasepkg": "microsimulation",
  "_universes": [
    "mclements"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.9",
      "date": "2026-10-10T13:30:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/932d3fd9fb5b25f2ced61bf886493c5f4af34c28d86cab76e9cf61a64e00a0d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.9",
      "date": "2026-10-10T13:31:10.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/c851f9ec7bd0f1c90e571332efb976f654f0da6aebff4fef5cda4692e51a908f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.9",
      "date": "2026-10-10T13:30:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/30b818d810e73dee419de000e350b4ef8198f0bbf5d08296f75f8d635994c4f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.9",
      "date": "2026-10-10T13:31:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/685532b36d4b1355f0c43c4b41e2a539507216cb4e1a5e2d92611f185fa3b000",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.9",
      "date": "2026-10-10T13:32:36.000Z",
      "arch": "aarch64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/6358d0f2cc5674e522c8ed0e0be32579cb14eae82b25680e38fbdddcb37b82af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.9",
      "date": "2026-10-10T13:33:32.000Z",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/f41c9b5984ab9c7e6c693b0a59b22e63ec50e8368d3add931b3efa4e073aaf8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.9",
      "date": "2026-10-10T13:32:32.000Z",
      "arch": "aarch64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/838dbc2db4517ebe14b96e0c1997cd0c3ecebd03299cf23f6228707bdea58061",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.9",
      "date": "2026-10-10T13:32:55.000Z",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/33c4ce0212dd34b4af5849f085031f773fb2b96dd4ebd0408e6fa6f41c29a0ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.9",
      "date": "2026-10-10T13:31:18.000Z",
      "arch": "emscripten",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/fdc56ce61defd29c408684e99be863a29dede88aee95a166c1caa3defb634db8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.9",
      "date": "2026-10-10T13:32:20.000Z",
      "arch": "aarch64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/ae45d27748a71ae137197b18e7145c7336a5555f9e141e65f83eae2c3dd061b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.9",
      "date": "2026-10-10T13:30:36.000Z",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/d7ac487eb2155334940534a0ab23a9581bd1a32eec957dd9dfcb1eeadbd88724",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.9",
      "date": "2026-10-10T13:30:30.000Z",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/3ec3f3706fa9ceab6f4d2d86d32221ff78a9a19d5f45091e9c14f8b8ef1b9c9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.9",
      "date": "2026-10-10T13:32:10.000Z",
      "arch": "aarch64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/d75cec3eaade63c8e4cf302725eee040f73a588b97ee5a95aca12cbe9ef0fbd9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.9",
      "date": "2026-10-10T13:30:34.000Z",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/48785248f7d9b104769be8cc1ba24e98d55ef0891aa3cc93e78d25647692e1ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38055684055"
    }
  ]
}