{
  "_id": "6a100db0acfb0bcc41c81075",
  "Package": "microsimulation",
  "Type": "Package",
  "Title": "Discrete Event Simulation in R and C++, with Tools for\nCost-Effectiveness Analysis",
  "Version": "1.4.5",
  "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",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-22 07:58:34 UTC",
    "User": "root"
  },
  "Author": "Mark Clements [aut, cre, cph], Alexandra Jauhiainen [aut],\nAndreas Karlsson [aut], Antonio Carzaniga [cph], University of\nColorado [cph], Pierre L'Ecuyer [cph]",
  "Maintainer": "Mark Clements <mark.clements@ki.se>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-09-26 12:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/microsimulation",
  "RemoteRef": "HEAD",
  "RemoteSha": "f1505fb6dad1a1647ce96c926aefef662b5cf06a",
  "MD5sum": "86b08e98ea238dc2293a50d7f40babd3",
  "_user": "cran",
  "_type": "src",
  "_file": "microsimulation_1.4.5.tar.gz",
  "_fileid": "8abd9dfcab05f0eeda3d78a6b8ee4fec78ebf12f4b9e71f31ffbe4f144ba425d",
  "_filesize": 2488588,
  "_sha256": "8abd9dfcab05f0eeda3d78a6b8ee4fec78ebf12f4b9e71f31ffbe4f144ba425d",
  "_created": "2026-05-22T07:58:34.000Z",
  "_published": "2026-05-22T08:02:56.010Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77339885366,
      "time": 182,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7155690928"
    },
    {
      "job": 77339885400,
      "time": 180,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7155690387"
    },
    {
      "job": 77339885379,
      "time": 172,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155688368"
    },
    {
      "job": 77339885381,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155684063"
    },
    {
      "job": 77339366937,
      "time": 220,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155635625"
    },
    {
      "job": 77339885331,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155679120"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26275701672",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/microsimulation",
  "_commit": {
    "id": "f1505fb6dad1a1647ce96c926aefef662b5cf06a",
    "author": "Mark Clements <mark.clements@ki.se>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.4.5\n",
    "time": 1758890402
  },
  "_maintainer": {
    "name": "Mark Clements",
    "email": "mark.clements@ki.se",
    "login": "mclements",
    "description": "",
    "uuid": 557321
  },
  "_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"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-39",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.4.5",
      "date": "2025-09-26"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mclements",
      "count": 10,
      "uuid": 557321
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 262,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/microsimulation"
  },
  "_devurl": "https://github.com/mclements/microsimulation",
  "_searchresults": 25,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_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": false,
  "_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",
    "discountedInterval",
    "discountedPoint",
    "enum",
    "enum<-",
    "frontier",
    "ICER",
    "inlineCxxPlugin",
    "LdFlags",
    "microsimulation.exit",
    "microsimulation.init",
    "next.user.Random.substream",
    "pqueue",
    "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",
    "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",
        "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": "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1.3979400086720375,
  "_indexed": false,
  "_nocasepkg": "microsimulation",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://mclements.r-universe.dev/microsimulation",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.5",
      "date": "2026-05-22T08:01:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f1505fb6dad1a1647ce96c926aefef662b5cf06a",
      "fileid": "048fd2e57b83695056ac856b67ea1f766da8928c72903fbc411eca9724b67f7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26275701672"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.5",
      "date": "2026-05-22T08:01:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f1505fb6dad1a1647ce96c926aefef662b5cf06a",
      "fileid": "ba752d7566fdf994c55e270325668c901cb81051b6c164b77cee331e9a0e14d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26275701672"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.5",
      "date": "2026-05-22T08:01:21.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f1505fb6dad1a1647ce96c926aefef662b5cf06a",
      "fileid": "cd1488a805dc17ef19e261c52307cc614f24753b82f313bc1c611a0c77de2675",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26275701672"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.5",
      "date": "2026-05-22T08:01:08.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f1505fb6dad1a1647ce96c926aefef662b5cf06a",
      "fileid": "31156c7b5bca4031398ce96884942e7c3eeb2e90b36b62888c4c3eba0d799459",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26275701672"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.5",
      "date": "2026-05-22T08:01:18.000Z",
      "arch": "emscripten",
      "commit": "f1505fb6dad1a1647ce96c926aefef662b5cf06a",
      "fileid": "43a62b3b19d63189f164a5b00b2457c46172305e61e6dda285fdf6734183e7b7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26275701672"
    }
  ]
}