{
  "_id": "6a3b448e5cdecea1d68148b1",
  "Package": "dust",
  "Title": "Iterate Multiple Realisations of Stochastic Models",
  "Version": "0.15.3",
  "Authors@R": "c(person(\"Rich\", \"FitzJohn\", role = c(\"aut\", \"cre\"),\nemail = \"rich.fitzjohn@gmail.com\"),\nperson(\"Alex\", \"Hill\", role = \"aut\"),\nperson(\"John\", \"Lees\", role = \"aut\"),\nperson(\"Imperial College of Science, Technology and Medicine\",\nrole = \"cph\"))",
  "Description": "An Engine for simulation of stochastic models. Includes\nsupport for running stochastic models in parallel, either with\nshared or varying parameters. Simulations are run efficiently\nin compiled code and can be run with a fraction of simulated\nstates returned to R, allowing control over memory usage.\nSupport is provided for building bootstrap particle filter for\nperforming Sequential Monte Carlo (e.g., Gordon et al. 1993\n<doi:10.1049/ip-f-2.1993.0015>). The core of the simulation\nengine is the 'xoshiro256**' algorithm (Blackman and Vigna\n<arXiv:1805.01407>), and the package is further described in\nFitzJohn et al 2021 <doi:10.12688/wellcomeopenres.16466.2>.",
  "URL": "https://github.com/mrc-ide/dust",
  "BugReports": "https://github.com/mrc-ide/dust/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Requires": "R (>= 4.0.0)",
  "RoxygenNote": "7.2.3",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libuv1-dev",
  "Repository": "https://ncov-ic.r-universe.dev",
  "Date/Publication": "2025-08-15 15:16:17 UTC",
  "RemoteUrl": "https://github.com/mrc-ide/dust",
  "RemoteRef": "master",
  "RemoteSha": "c135a2fa92b3532f4612437f16255b574ca214be",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-24 02:36:23 UTC",
    "User": "root"
  },
  "Author": "Rich FitzJohn [aut, cre],\nAlex Hill [aut],\nJohn Lees [aut],\nImperial College of Science, Technology and Medicine [cph]",
  "Maintainer": "Rich FitzJohn <rich.fitzjohn@gmail.com>",
  "MD5sum": "f3bbce71679c1f99a2865b23490d2dfc",
  "_user": "ncov-ic",
  "_type": "src",
  "_file": "dust_0.15.3.tar.gz",
  "_fileid": "40a3d8b6cdef83af42f632b1807697886eff50047b16d65d7fa03f29e83a4e56",
  "_filesize": 1809864,
  "_sha256": "40a3d8b6cdef83af42f632b1807697886eff50047b16d65d7fa03f29e83a4e56",
  "_created": "2026-06-24T02:36:23.000Z",
  "_published": "2026-06-24T02:44:30.822Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83106195290,
      "time": 328,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7838826326"
    },
    {
      "job": 83106195289,
      "time": 242,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7838809407"
    },
    {
      "job": 83106195293,
      "time": 294,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7838819712"
    },
    {
      "job": 83106195317,
      "time": 242,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7838809654"
    },
    {
      "job": 83106195296,
      "time": 157,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7838792833"
    },
    {
      "job": 83106195303,
      "time": 391,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7838837939"
    },
    {
      "job": 83106195307,
      "time": 157,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7838792983"
    },
    {
      "job": 83106195309,
      "time": 403,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7838840399"
    },
    {
      "job": 83105594499,
      "time": 350,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838762111"
    },
    {
      "job": 83106195247,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838790121"
    },
    {
      "job": 83106195283,
      "time": 296,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7838819557"
    },
    {
      "job": 83106195285,
      "time": 272,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7838815269"
    },
    {
      "job": 83106195288,
      "time": 292,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7838819611"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mrc-ide/dust",
  "_commit": {
    "id": "c135a2fa92b3532f4612437f16255b574ca214be",
    "author": "Paul Liétar <pl2113@ic.ac.uk>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #421 from mrc-ide/gamma\n\nSupport gamma on CUDA.",
    "time": 1755270977
  },
  "_maintainer": {
    "name": "Rich FitzJohn",
    "email": "rich.fitzjohn@gmail.com",
    "login": "richfitz",
    "mastodon": "@richfitz@fosstodon.org",
    "description": "",
    "uuid": 1558093
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "cpp11",
      "version": ">= 0.4.4",
      "role": "LinkingTo"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "cpp11",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "pkgbuild",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "pkgload",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "bench",
      "role": "Suggests"
    },
    {
      "package": "brio",
      "role": "Suggests"
    },
    {
      "package": "callr",
      "role": "Suggests"
    },
    {
      "package": "curl",
      "role": "Suggests"
    },
    {
      "package": "dde",
      "role": "Suggests"
    },
    {
      "package": "decor",
      "role": "Suggests"
    },
    {
      "package": "fs",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mockery",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "mrc-ide",
  "_selfowned": false,
  "_usedby": 4,
  "_updates": [
    {
      "week": "2025-33",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 20,
  "_contributors": [
    {
      "user": "richfitz",
      "count": 1825,
      "uuid": 1558093
    },
    {
      "user": "johnlees",
      "count": 383,
      "uuid": 6331837
    },
    {
      "user": "hillalex",
      "count": 36,
      "uuid": 6736820
    },
    {
      "user": "r-ash",
      "count": 16,
      "uuid": 39248272
    },
    {
      "user": "weshinsley",
      "count": 9,
      "uuid": 9009312
    },
    {
      "user": "plietar",
      "count": 7,
      "uuid": 1489775
    },
    {
      "user": "edknock",
      "count": 4,
      "uuid": 47318334
    },
    {
      "user": "lwhittles",
      "count": 2,
      "uuid": 12626690
    },
    {
      "user": "raphaels1",
      "count": 1,
      "uuid": 25639974
    },
    {
      "user": "pabloperguz",
      "count": 1,
      "uuid": 32740088
    }
  ],
  "_userbio": {
    "uuid": 60158495,
    "type": "organization",
    "name": "mrc-ide covid response",
    "followers": 1
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dust"
  },
  "_devurl": "https://github.com/mrc-ide/dust",
  "_searchresults": 64,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dust.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "dust",
    "dust_cuda_configuration",
    "dust_cuda_options",
    "dust_data",
    "dust_example",
    "dust_generate",
    "dust_ode_control",
    "dust_openmp_support",
    "dust_openmp_threads",
    "dust_package",
    "dust_repair_environment",
    "dust_rng",
    "dust_rng_distributed_pointer",
    "dust_rng_distributed_state",
    "dust_rng_pointer"
  ],
  "_help": [
    {
      "page": "dust",
      "title": "Create a dust model from a C++ input file",
      "topics": [
        "dust"
      ]
    },
    {
      "page": "dust_cuda_configuration",
      "title": "Detect CUDA configuration",
      "topics": [
        "dust_cuda_configuration"
      ]
    },
    {
      "page": "dust_cuda_options",
      "title": "Create CUDA options",
      "topics": [
        "dust_cuda_options"
      ]
    },
    {
      "page": "dust_data",
      "title": "Process data for dust",
      "topics": [
        "dust_data"
      ]
    },
    {
      "page": "dust_example",
      "title": "Access dust's built-in examples",
      "topics": [
        "dust_example"
      ]
    },
    {
      "page": "dust_generate",
      "title": "Generate dust code",
      "topics": [
        "dust_generate"
      ]
    },
    {
      "page": "dust_generator",
      "title": "The dust class",
      "topics": [
        "dust_generator"
      ]
    },
    {
      "page": "dust_ode_control",
      "title": "Create a dust_ode_control object.",
      "topics": [
        "dust_ode_control"
      ]
    },
    {
      "page": "dust_openmp_support",
      "title": "Information about OpenMP support",
      "topics": [
        "dust_openmp_support"
      ]
    },
    {
      "page": "dust_openmp_threads",
      "title": "Select number of threads",
      "topics": [
        "dust_openmp_threads"
      ]
    },
    {
      "page": "dust_package",
      "title": "Create dust model in package",
      "topics": [
        "dust_package"
      ]
    },
    {
      "page": "dust_repair_environment",
      "title": "Repair dust environment",
      "topics": [
        "dust_repair_environment"
      ]
    },
    {
      "page": "dust_rng",
      "title": "Dust Random Number Generator",
      "topics": [
        "dust_rng"
      ]
    },
    {
      "page": "dust_rng_distributed",
      "title": "Create a set of distributed seeds",
      "topics": [
        "dust_rng_distributed_pointer",
        "dust_rng_distributed_state"
      ]
    },
    {
      "page": "dust_rng_pointer",
      "title": "Create pointer to random number generator stream",
      "topics": [
        "dust_rng_pointer"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mrc-ide/dust/raw/master/man/figures/logo.png",
  "_readme": "https://github.com/mrc-ide/dust/raw/master/README.md",
  "_rundeps": [
    "callr",
    "cli",
    "cpp11",
    "desc",
    "fs",
    "glue",
    "lifecycle",
    "otel",
    "pkgbuild",
    "pkgload",
    "processx",
    "ps",
    "R6",
    "rlang",
    "rprojroot",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "rng_algorithms.Rmd",
      "filename": "rng_algorithms.html",
      "title": "Algorithms used to compute random numbers",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Box-Muller",
        "Polar",
        "Ziggurat",
        "Sampling",
        "Sampling from the tail",
        "The edges",
        "Optimisations"
      ],
      "created": "2021-11-16 10:14:04",
      "modified": "2021-11-16 10:14:04",
      "commits": 1
    },
    {
      "source": "data.Rmd",
      "filename": "data.html",
      "title": "Comparing models and data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Coping with missing data"
      ],
      "created": "2021-08-25 09:09:46",
      "modified": "2023-06-28 13:29:47",
      "commits": 8
    },
    {
      "source": "rng_distributed.Rmd",
      "filename": "rng_distributed.html",
      "title": "Distributed parallel random numbers",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A note on seeding",
        "Distributed seeding",
        "Continuing the streams",
        "Considerations",
        "Use cases",
        "Summary"
      ],
      "created": "2021-11-17 16:50:25",
      "modified": "2022-11-08 13:44:38",
      "commits": 3
    },
    {
      "source": "dust.Rmd",
      "filename": "dust.html",
      "title": "Introduction to dust",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A simple example - random walk",
        "Model code",
        "Constructing a model",
        "Running a model in parallel",
        "A more interesting example",
        "Other methods",
        "Reordering particles",
        "Set particle state",
        "Reset the model",
        "Use within a package"
      ],
      "created": "2020-07-06 14:09:52",
      "modified": "2023-04-27 08:40:16",
      "commits": 33
    },
    {
      "source": "multi.Rmd",
      "filename": "multi.html",
      "title": "Multiple parameter sets",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Considerations"
      ],
      "created": "2021-02-24 16:30:24",
      "modified": "2021-10-20 08:50:55",
      "commits": 4
    },
    {
      "source": "design.Rmd",
      "filename": "design.html",
      "title": "Principles and design of dust",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Running multiple realisations",
        "Parallelisation",
        "Efficient running",
        "Efficient state handling",
        "Useful verbs",
        "A compilation target"
      ],
      "created": "2021-02-25 21:30:54",
      "modified": "2023-03-17 15:58:53",
      "commits": 9
    },
    {
      "source": "rng.Rmd",
      "filename": "rng.html",
      "title": "Random number generation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Supported distributions",
        "Performance",
        "Underlying random number engine",
        "Reusing the random random number generator in other projects",
        "In a package",
        "Standalone, parallel with OpenMP",
        "Standalone, parallel on a GPU",
        "Other packages with similar functionality"
      ],
      "created": "2020-07-06 14:09:52",
      "modified": "2022-11-02 10:17:05",
      "commits": 20
    },
    {
      "source": "gpu.Rmd",
      "filename": "gpu.html",
      "title": "Running models on GPUs with CUDA",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Principles",
        "Running a model with GPU support",
        "Writing a GPU-capable model",
        "Data comparison functions",
        "Developing a GPU model"
      ],
      "created": "2021-11-08 07:28:55",
      "modified": "2022-11-08 13:44:38",
      "commits": 3
    },
    {
      "source": "rng_package.Rmd",
      "filename": "rng_package.html",
      "title": "Using RNGs from packages",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background using R's random number generator",
        "Basic implementation using dust",
        "Parallel implementation with dust and OpenMP",
        "More on the pointer object"
      ],
      "created": "2021-11-12 14:29:01",
      "modified": "2023-04-27 08:40:16",
      "commits": 4
    }
  ],
  "_score": 7.793846238910163,
  "_indexed": false,
  "_nocasepkg": "dust",
  "_universes": [
    "ncov-ic"
  ],
  "_indexurl": "https://mrc-ide.r-universe.dev/dust",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.15.3",
      "date": "2026-06-24T02:41:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c135a2fa92b3532f4612437f16255b574ca214be",
      "fileid": "eba3a3fc6589df81370f8028cc420a8c104bf7a02c401bc1d122e42a54937d54",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.15.3",
      "date": "2026-06-24T02:39:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c135a2fa92b3532f4612437f16255b574ca214be",
      "fileid": "d1298e3d07803ea9a5e5465293385628de77b703db2b8cc50f3c1aa50fe70d56",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.15.3",
      "date": "2026-06-24T02:40:23.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c135a2fa92b3532f4612437f16255b574ca214be",
      "fileid": "b283b3397fb843fc17f42d01ffa263bf6af46dd8a709dbf90a23a0ad49ee4bc9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.15.3",
      "date": "2026-06-24T02:39:27.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c135a2fa92b3532f4612437f16255b574ca214be",
      "fileid": "dd76fb62a40e1531a36775bae3ce8d871af96ff9faa740395bc6fbd5e9253ea2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.15.3",
      "date": "2026-06-24T02:38:46.000Z",
      "arch": "aarch64",
      "commit": "c135a2fa92b3532f4612437f16255b574ca214be",
      "fileid": "19fcfba43db7b55844ce251107693fa5e42db2243b3e4fecafb8951a09ab0a45",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.15.3",
      "date": "2026-06-24T02:39:58.000Z",
      "arch": "x86_64",
      "commit": "c135a2fa92b3532f4612437f16255b574ca214be",
      "fileid": "66aa975e0382409640e5fc3d23ab88798ac6be8cbd4648adbbba975a4dc306d9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.15.3",
      "date": "2026-06-24T02:38:50.000Z",
      "arch": "aarch64",
      "commit": "c135a2fa92b3532f4612437f16255b574ca214be",
      "fileid": "01860cdd8727b789b4802b23801339068037801616cdb025862e69e75c9c4d7c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.15.3",
      "date": "2026-06-24T02:40:15.000Z",
      "arch": "x86_64",
      "commit": "c135a2fa92b3532f4612437f16255b574ca214be",
      "fileid": "fb819478a792657c0b98e4b30980031f35e0004ee0d105edf6ae7dd5ce83c72d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.15.3",
      "date": "2026-06-24T02:39:24.000Z",
      "arch": "emscripten",
      "commit": "c135a2fa92b3532f4612437f16255b574ca214be",
      "fileid": "a92e2a0f968ea29d41dda574e1f37514545df3c55d1fda849cf1a9354330a76f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.15.3",
      "date": "2026-06-24T02:38:27.000Z",
      "arch": "x86_64",
      "commit": "c135a2fa92b3532f4612437f16255b574ca214be",
      "fileid": "fa317f57dabb137057bb93b0c6974e78b8ef6ae7499fbcb1677ebc3cf3d6aa20",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.15.3",
      "date": "2026-06-24T02:38:26.000Z",
      "arch": "x86_64",
      "commit": "c135a2fa92b3532f4612437f16255b574ca214be",
      "fileid": "f86e7bc07bae570902bb88da45d92c81e95a45ef470eb5d7626c73a7e453b041",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.15.3",
      "date": "2026-06-24T02:38:29.000Z",
      "arch": "x86_64",
      "commit": "c135a2fa92b3532f4612437f16255b574ca214be",
      "fileid": "6d9deed250988d3a6095cb5c94d5b957c6eeb0fc8df76c5513536144da567c2f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ncov-ic/actions/runs/28071078792"
    }
  ]
}