{
  "_id": "6a106a30acfb0bcc41ca9e80",
  "Package": "odin2",
  "Title": "Next generation odin",
  "Version": "0.3.46",
  "Authors@R": "c(person(\"Rich\", \"FitzJohn\", role = c(\"aut\", \"cre\"),\nemail = \"rich.fitzjohn@gmail.com\"),\nperson(\"Wes\", \"Hinsley\", role = \"aut\"),\nperson(\"Thibaut\", \"Jombart\", role = \"ctb\"),\nperson(\"Ed\", \"Knock\", role = \"ctb\"),\nperson(\"Imperial College of Science, Technology and Medicine\",\nrole = \"cph\"))",
  "Description": "Temporary package for rewriting odin.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://mrc-ide.github.io/odin2, https://github.com/mrc-ide/odin2",
  "BugReports": "https://github.com/mrc-ide/odin2/issues",
  "Config/testthat/edition": "3",
  "Remotes": [
    "mrc-ide/dust2",
    "mrc-ide/monty"
  ],
  "VignetteBuilder": "knitr",
  "Language": "en-GB",
  "Repository": "https://mrc-ide.r-universe.dev",
  "Date/Publication": "2026-05-07 12:37:18 UTC",
  "RemoteUrl": "https://github.com/mrc-ide/odin2",
  "RemoteRef": "main",
  "RemoteSha": "94e7b52b0a4e50842129472ddd6d6090f649fd4a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-07 14:12:42 UTC",
    "User": "root"
  },
  "Author": "Rich FitzJohn [aut, cre],\nWes Hinsley [aut],\nThibaut Jombart [ctb],\nEd Knock [ctb],\nImperial College of Science, Technology and Medicine [cph]",
  "Maintainer": "Rich FitzJohn <rich.fitzjohn@gmail.com>",
  "MD5sum": "95f5f59ee543bcf457ff2411c4530d83",
  "_user": "mrc-ide",
  "_type": "src",
  "_file": "odin2_0.3.46.tar.gz",
  "_fileid": "30be740b0306fce4e3952c3d0f2988a697430bc2436a184693b9127e70473726",
  "_filesize": 1769378,
  "_sha256": "30be740b0306fce4e3952c3d0f2988a697430bc2436a184693b9127e70473726",
  "_created": "2026-05-07T14:12:42.000Z",
  "_published": "2026-05-22T14:37:36.589Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77401512171,
      "time": 210,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6857542800"
    },
    {
      "job": 77401512272,
      "time": 211,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6857545842"
    },
    {
      "job": 77401512245,
      "time": 180,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6857530957"
    },
    {
      "job": 77401512118,
      "time": 163,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6857525013"
    },
    {
      "job": 77401511428,
      "time": 257,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6857459515"
    },
    {
      "job": 77401511492,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7163149251"
    },
    {
      "job": 77401511929,
      "time": 254,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6857561241"
    },
    {
      "job": 77401512466,
      "time": 233,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6857551934"
    },
    {
      "job": 77401512396,
      "time": 295,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6857575429"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25500989290",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mrc-ide/odin2",
  "_commit": {
    "id": "94e7b52b0a4e50842129472ddd6d6090f649fd4a",
    "author": "edknock <47318334+edknock@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #174 from mrc-ide/browser-dt\n\nInclude dt when using browser for discrete time models",
    "time": 1778157438
  },
  "_maintainer": {
    "name": "Rich FitzJohn",
    "email": "rich.fitzjohn@gmail.com",
    "login": "richfitz",
    "mastodon": "@richfitz@fosstodon.org",
    "uuid": 1558093
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dust2",
      "version": ">= 0.3.9",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "monty",
      "version": ">= 0.3.30",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "decor",
      "role": "Suggests"
    },
    {
      "package": "deSolve",
      "role": "Suggests"
    },
    {
      "package": "fs",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "mockery",
      "role": "Suggests"
    },
    {
      "package": "numDeriv",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "mrc-ide",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-19",
      "n": 1
    },
    {
      "week": "2025-20",
      "n": 2
    },
    {
      "week": "2025-25",
      "n": 3
    },
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2025-27",
      "n": 4
    },
    {
      "week": "2025-31",
      "n": 2
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 2
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "richfitz",
      "count": 651,
      "uuid": 1558093
    },
    {
      "user": "weshinsley",
      "count": 178,
      "uuid": 9009312
    },
    {
      "user": "edknock",
      "count": 49,
      "uuid": 47318334
    },
    {
      "user": "m-kusumgar",
      "count": 1,
      "uuid": 98405247
    }
  ],
  "_userbio": {
    "uuid": 25453642,
    "type": "organization",
    "name": "MRC Centre for Global Infectious Disease Analysis",
    "description": "MRC Centre hosted within the Department of Infectious Disease Epidemiology at Imperial College London"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/odin2"
  },
  "_devurl": "https://github.com/mrc-ide/odin2",
  "_pkgdown": "https://mrc-ide.github.io/odin2",
  "_searchresults": 99,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/odin2.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "odin",
    "odin_error_explain",
    "odin_migrate",
    "odin_package",
    "odin_show",
    "odin_validate"
  ],
  "_help": [
    {
      "page": "odin",
      "title": "Compile an odin model",
      "topics": [
        "odin"
      ]
    },
    {
      "page": "odin_error_explain",
      "title": "Explain an odin error",
      "topics": [
        "odin_error_explain"
      ]
    },
    {
      "page": "odin_migrate",
      "title": "Migrate odin code",
      "topics": [
        "odin_migrate"
      ]
    },
    {
      "page": "odin_package",
      "title": "Update odin code in package",
      "topics": [
        "odin_package"
      ]
    },
    {
      "page": "odin_show",
      "title": "Show generated odin code",
      "topics": [
        "odin_show"
      ]
    },
    {
      "page": "odin_validate",
      "title": "Validate odin code",
      "topics": [
        "odin_validate"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mrc-ide/odin2/raw/main/man/figures/logo.png",
  "_readme": "https://github.com/mrc-ide/odin2/raw/main/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dust2",
    "glue",
    "monty",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "debugging.Rmd",
      "filename": "debugging.html",
      "title": "Debugging",
      "author": "Rich FitzJohn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Using print()",
        "print format strings",
        "Conditional display",
        "Controlling precision",
        "Current limitations",
        "Show the generated code",
        "Use the interactive debugger"
      ],
      "created": "2024-10-03 19:16:04",
      "modified": "2024-11-06 12:10:16",
      "commits": 4
    },
    {
      "source": "details.Rmd",
      "filename": "details.html",
      "title": "Details",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Order of events",
        "Options",
        "odin2.compatibility",
        "odin2.check_bounds",
        "odin2.target"
      ],
      "created": "2024-09-23 21:13:38",
      "modified": "2025-10-20 09:46:58",
      "commits": 4
    },
    {
      "source": "fitting.Rmd",
      "filename": "fitting.html",
      "title": "Fitting odin2 models to data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setting the scene",
        "Comparing to data",
        "Stochastic likelihood with a particle filter",
        "Inference with particle MCMC (pMCMC)",
        "Effective sampling",
        "Comparing against vectors of data",
        "Deterministic models from stochastic",
        "Differentiable models",
        "Running multiple parameter sets at once",
        "For dust2 systems",
        "For dust2 filters/unfilters",
        "For monty models",
        "Further reading"
      ],
      "created": "2024-08-12 16:45:18",
      "modified": "2025-06-26 13:36:33",
      "commits": 11
    },
    {
      "source": "odin2.Rmd",
      "filename": "odin2.html",
      "title": "Getting started with odin2",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Discrete time stochastic SIR model"
      ],
      "created": "2024-08-12 16:45:18",
      "modified": "2025-09-16 11:40:36",
      "commits": 3
    },
    {
      "source": "migrating.Rmd",
      "filename": "migrating.html",
      "title": "Migrating from odin 1.x.x",
      "engine": "knitr::rmarkdown",
      "headings": [
        "New features",
        "Planned",
        "Hoped",
        "Missing features",
        "Changes in syntax",
        "user() becomes parameter()",
        "Compare keyword is now removed.",
        "Vector parameters assign without array indices",
        "Vector/matrix/array parameters whose size is determined by input require rank argument",
        "Interpolate results assign without array indices",
        "Discrete-time models have a more solid time basis",
        "Assignments to dt",
        "Assignments to time",
        "Use of step",
        "The name of the time variable in continuous time models has changed",
        "Random number function calls have changed",
        "System size cannot be changed after creation",
        "Changes in the way arrays are handled",
        "Changes to how delays are supported",
        "delay() cannot be used in discrete time models",
        "delay() results assign without array indices",
        "The first argument to delay() must be the name of an equation",
        "The 'default' argument to delay() has been removed",
        "The delay time must be constant",
        "General changes",
        "Known limitations",
        "Much slower compilation time",
        "Loss of features from odin 1.x",
        "Updating old code",
        "Avoiding output() in discrete-time systems"
      ],
      "created": "2024-08-12 16:45:18",
      "modified": "2025-06-26 13:36:33",
      "commits": 24
    },
    {
      "source": "errors.Rmd",
      "filename": "errors.html",
      "title": "Odin parse errors",
      "engine": "knitr::rmarkdown",
      "headings": [
        "E0001",
        "E1001",
        "E1002",
        "E1003",
        "E1004",
        "E1005",
        "E1006",
        "E1007",
        "E1008",
        "E1009",
        "E1010",
        "E1012",
        "E1013",
        "E1014",
        "E1015",
        "E1016",
        "E1017",
        "E1018",
        "E1019",
        "E1020",
        "E1021",
        "E1022",
        "E1023",
        "E1024",
        "E1025",
        "E1026",
        "E1027",
        "E1028",
        "E1029",
        "E1030",
        "E1031",
        "E1032",
        "E1033",
        "E1035",
        "E1036",
        "E1037",
        "E1038",
        "E1039",
        "E1040",
        "E1041",
        "E1042",
        "E1043",
        "E1044",
        "E1045",
        "E1046",
        "E1047",
        "E1048",
        "E1049",
        "E1050",
        "E1051",
        "E1052",
        "E1053",
        "E1054",
        "E1055",
        "E1056",
        "E1057",
        "E1058",
        "E1059",
        "E1060",
        "E1061",
        "E1062",
        "E1063",
        "E1064",
        "E1065",
        "E1066",
        "E1067",
        "E1068",
        "E1069",
        "E1070",
        "E2001",
        "E2002",
        "E2003",
        "E2004",
        "E2005",
        "E2006",
        "E2007",
        "E2008",
        "E2009",
        "E2010",
        "E2011",
        "E2012",
        "E2013",
        "E2014",
        "E2015",
        "E2016",
        "E2017",
        "E2018",
        "E2019",
        "E2020",
        "E2021",
        "E2023",
        "E2024",
        "E2025",
        "E2026",
        "E2027",
        "E2028",
        "E2029",
        "E3001",
        "E3002",
        "E3003"
      ],
      "created": "2024-07-17 14:17:54",
      "modified": "2025-09-12 11:38:26",
      "commits": 45
    },
    {
      "source": "packaging.Rmd",
      "filename": "packaging.html",
      "title": "Packaging odin models",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-11-06 12:10:16",
      "modified": "2024-11-06 12:10:16",
      "commits": 1
    },
    {
      "source": "functions.Rmd",
      "filename": "functions.html",
      "title": "Supported Functions",
      "author": "Rich FitzJohn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "General syntax",
        "Variables",
        "Continuous time models",
        "Basic operations",
        "Conditionals",
        "Operators",
        "Mathematical functions and constants",
        "Arrays",
        "Array size",
        "Special functions for arrays",
        "Distribution functions",
        "Semantics of random number draws",
        "Special functions",
        "Parameters",
        "Data",
        "Interpolation",
        "Restricted names"
      ],
      "created": "2024-09-05 18:19:28",
      "modified": "2026-01-20 12:01:01",
      "commits": 22
    }
  ],
  "_score": 7.682271463859844,
  "_indexed": true,
  "_nocasepkg": "odin2",
  "_universes": [
    "mrc-ide",
    "richfitz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.46",
      "date": "2026-05-07T14:14:45.000Z",
      "distro": "noble",
      "commit": "94e7b52b0a4e50842129472ddd6d6090f649fd4a",
      "fileid": "39d6bb300cea37f3a8377b6e5173397045646f3949f0f26a2ed971627440599d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25500989290"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.46",
      "date": "2026-05-07T14:14:56.000Z",
      "distro": "noble",
      "commit": "94e7b52b0a4e50842129472ddd6d6090f649fd4a",
      "fileid": "5d10c1f7c291a33f38d304b3121d06be09403295ebc08b05262d518219b72757",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25500989290"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.46",
      "date": "2026-05-07T14:14:31.000Z",
      "commit": "94e7b52b0a4e50842129472ddd6d6090f649fd4a",
      "fileid": "e87a412b866cca5c7e1382d9dcdeb199833076e30d432f40d518fd2f91c3b9e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25500989290"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.46",
      "date": "2026-05-07T14:14:28.000Z",
      "commit": "94e7b52b0a4e50842129472ddd6d6090f649fd4a",
      "fileid": "57d5f033499906015bd54bee3ba05f810442d1749a0c5d795b5895aff3969329",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25500989290"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.46",
      "date": "2026-05-07T14:14:13.000Z",
      "commit": "94e7b52b0a4e50842129472ddd6d6090f649fd4a",
      "fileid": "03f84bca084a1a7416c25598a36957ac83362f1319d911d2ea4fff1a8ab9cbd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25500989290"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.46",
      "date": "2026-05-07T14:13:51.000Z",
      "commit": "94e7b52b0a4e50842129472ddd6d6090f649fd4a",
      "fileid": "e36cde25a84206e56d756662b35b2e186595b923e437156a749389910bdc34c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25500989290"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.46",
      "date": "2026-05-07T14:14:30.000Z",
      "commit": "94e7b52b0a4e50842129472ddd6d6090f649fd4a",
      "fileid": "71e7644038aa42ad0274be9dc455bfff047b2ceb2f70e16aee4fa04bec8c99b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25500989290"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.46",
      "date": "2026-05-22T14:37:15.000Z",
      "commit": "94e7b52b0a4e50842129472ddd6d6090f649fd4a",
      "fileid": "143b8a1ed95862c1882d20b88c50b5c048c7b0c45bdd6d3bc549b900b4f62d91",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25500989290"
    }
  ]
}