{
  "_id": "6a48c80cb5e98c40829fba45",
  "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-07-04 07:55:48 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/2eb5db4c7de8f8dc9efb63346c9d961a2182b184f5cd5e91a8552a8d9477eb4e",
  "_filesize": 606062,
  "_sha256": "2eb5db4c7de8f8dc9efb63346c9d961a2182b184f5cd5e91a8552a8d9477eb4e",
  "_expires": "2026-10-12T08:44:59.000Z",
  "_created": "2026-07-04T07:55:48.000Z",
  "_published": "2026-07-04T08:45:00.852Z",
  "_jobs": [
    {
      "job": 85115771691,
      "time": 175,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079830953"
    },
    {
      "job": 85115771666,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079830537"
    },
    {
      "job": 85115771676,
      "time": 172,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079830521"
    },
    {
      "job": 85115771674,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079830360"
    },
    {
      "job": 85115771639,
      "time": 104,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8080133500"
    },
    {
      "job": 85115771635,
      "time": 226,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8079836647"
    },
    {
      "job": 85115771678,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8080146572"
    },
    {
      "job": 85115771663,
      "time": 358,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079854245"
    },
    {
      "job": 85115573791,
      "time": 212,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079809507"
    },
    {
      "job": 85115771641,
      "time": 175,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8079830595"
    },
    {
      "job": 85115771631,
      "time": 164,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079829102"
    },
    {
      "job": 85115771642,
      "time": 157,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8079828241"
    },
    {
      "job": 85115771656,
      "time": 187,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079831774"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398",
  "_status": "success",
  "_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-39",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 3
    },
    {
      "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": 43,
  "_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": 66
  },
  "_downloads": {
    "count": 494,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/microsimulation"
  },
  "_devurl": "https://github.com/mclements/microsimulation",
  "_searchresults": 25,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/microsimulation.html",
    "manual.pdf"
  ],
  "_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.353627758985543,
  "_indexed": true,
  "_nocasepkg": "microsimulation",
  "_universes": [
    "mclements"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.9",
      "date": "2026-07-04T07:58:50.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/dd9ab1eb4a3e5886f8f4b0cae9863a8a762d3f072aa7d0c7e5c7b1963b5ae9b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.9",
      "date": "2026-07-04T07:58:31.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/09dafa81035eea315273a6c594a7a6d0f4a7adcd065e75fbdcc04dd33729bfa1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.9",
      "date": "2026-07-04T07:58:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/0baae7db9f2d6acd05ca750cbbf77a57238e2928f0bb9626f88f3eb7cb4f0453",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.9",
      "date": "2026-07-04T07:58:33.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/ba559acb840e707e51c024d42bd7873b3108616ca28531e6a1e43bf5999e417f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.9",
      "date": "2026-07-04T08:41:56.000Z",
      "arch": "aarch64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/992a6100d4feb35ccd86c046cae122d89ef06c0463f346d0e6fa29a721d3f66f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.9",
      "date": "2026-07-04T07:58:53.000Z",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/3ec3c06524df01f2c538c2ca7b64c81891e77ce4af9813b8c785f328251700e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.9",
      "date": "2026-07-04T08:43:41.000Z",
      "arch": "aarch64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/8a06d428028f87429978f14cd9ed302285a8c05b1a2dbf727098b110255ad870",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.9",
      "date": "2026-07-04T08:00:03.000Z",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/379f5b75b56f1c9a9e30ae2f99f1d70c01ec468760865b593578d009e25bc5e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.9",
      "date": "2026-07-04T07:58:55.000Z",
      "arch": "emscripten",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/3eb92965687f44d84ac31e54b75fef8fe70c29dd0ef87e753b368551037d2f1c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.9",
      "date": "2026-07-04T07:57:44.000Z",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/77ff8186f520b2d1532a37ad66867071b8368f827c8c2a68e65f98731b73a578",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.9",
      "date": "2026-07-04T07:57:39.000Z",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/f4b615ec0b44841b77a33c15e665c6ccb8f2627c918ea87f1b1fba34810066ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.9",
      "date": "2026-07-04T07:57:51.000Z",
      "arch": "x86_64",
      "commit": "27211dd9941ddda6e8a494bbb6462c281650fdd4",
      "fileid": "https://r2.ropensci.org/c5743cf89b9986d67e5221faf6bee713ef73522f86b8a01d58a8d08172af451c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/28699702398"
    }
  ]
}