{
  "_id": "6a11c4e9acfb0bcc41cffc15",
  "Package": "odin",
  "Title": "ODE Generation and Integration",
  "Version": "1.5.12",
  "Authors@R": "c(person(\"Rich\", \"FitzJohn\", role = c(\"aut\", \"cre\"),\nemail = \"rich.fitzjohn@gmail.com\"),\nperson(\"Thibaut\", \"Jombart\", role = \"ctb\"),\nperson(\"Imperial College of Science, Technology and Medicine\",\nrole = \"cph\"))",
  "Description": "Generate systems of ordinary differential equations (ODE)\nand integrate them, using a domain specific language (DSL). The\nDSL uses R's syntax, but compiles to C in order to efficiently\nsolve the system.  A solver is not provided, but instead\ninterfaces to the packages 'deSolve' and 'dde' are generated.\nWith these, while solving the differential equations, no\nallocations are done and the calculations remain entirely in\ncompiled code.  Alternatively, a model can be transpiled to R\nfor use in contexts where a C compiler is not present.  After\ncompilation, models can be inspected to return information\nabout parameters and outputs, or intermediate values after\ncalculations. 'odin' is not targeted at any particular domain\nand is suitable for any system that can be expressed primarily\nas mathematical expressions.  Additional support is provided\nfor working with delays (delay differential equations, DDE),\nusing interpolated functions during interpolation, and for\nintegrating quantities that represent arrays.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/mrc-ide/odin",
  "BugReports": "https://github.com/mrc-ide/odin/issues",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.2.3",
  "Roxygen": "list(old_usage = TRUE, markdown = TRUE)",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Repository": "https://fastverse.r-universe.dev",
  "Date/Publication": "2026-01-15 17:26:10 UTC",
  "RemoteUrl": "https://github.com/mrc-ide/odin",
  "RemoteRef": "HEAD",
  "RemoteSha": "d8ff02081c1d5873563b99edbbcf060ede061d32",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 15:13:51 UTC",
    "User": "root"
  },
  "Author": "Rich FitzJohn [aut, cre],\nThibaut Jombart [ctb],\nImperial College of Science, Technology and Medicine [cph]",
  "Maintainer": "Rich FitzJohn <rich.fitzjohn@gmail.com>",
  "MD5sum": "01c9ef9b7c36222ebc9c9bf671ccee08",
  "_user": "fastverse",
  "_type": "src",
  "_file": "odin_1.5.12.tar.gz",
  "_fileid": "a3f46df71144f0cc587eb47d9c89b9bb52782fae5b000fd4d78a3ac7b8ff987c",
  "_filesize": 3653896,
  "_sha256": "a3f46df71144f0cc587eb47d9c89b9bb52782fae5b000fd4d78a3ac7b8ff987c",
  "_created": "2026-05-23T15:13:51.000Z",
  "_published": "2026-05-23T15:16:57.714Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77530373450,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7177780062"
    },
    {
      "job": 77530373477,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7177777376"
    },
    {
      "job": 77530373483,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7177773640"
    },
    {
      "job": 77530373468,
      "time": 88,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7177773963"
    },
    {
      "job": 77530203786,
      "time": 188,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7177766070"
    },
    {
      "job": 77530373445,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7177775452"
    },
    {
      "job": 77530373467,
      "time": 133,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7177778127"
    },
    {
      "job": 77530373470,
      "time": 106,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7177775594"
    },
    {
      "job": 77530373484,
      "time": 118,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7177776792"
    }
  ],
  "_buildurl": "https://github.com/r-universe/fastverse/actions/runs/26336191411",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mrc-ide/odin",
  "_commit": {
    "id": "d8ff02081c1d5873563b99edbbcf060ede061d32",
    "author": "Mantra <mantrakusumgar@outlook.com>",
    "committer": "Mantra <mantrakusumgar@outlook.com>",
    "message": "bump version\n",
    "time": 1768497970
  },
  "_maintainer": {
    "name": "Rich FitzJohn",
    "email": "rich.fitzjohn@gmail.com",
    "login": "richfitz",
    "mastodon": "@richfitz@fosstodon.org",
    "description": "",
    "uuid": 1558093
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "cinterpolate",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "deSolve",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "ring",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "V8",
      "role": "Suggests"
    },
    {
      "package": "dde",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "jsonvalidate",
      "version": ">= 1.1.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mockery",
      "role": "Suggests"
    },
    {
      "package": "pkgbuild",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "mrc-ide",
  "_selfowned": false,
  "_usedby": 6,
  "_updates": [
    {
      "week": "2026-03",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.5.12",
      "date": "2026-01-15"
    }
  ],
  "_topics": [
    "infrastructure"
  ],
  "_stars": 106,
  "_contributors": [
    {
      "user": "richfitz",
      "count": 1468,
      "uuid": 1558093
    },
    {
      "user": "weshinsley",
      "count": 46,
      "uuid": 9009312
    },
    {
      "user": "thibautjombart",
      "count": 15,
      "uuid": 10757154
    },
    {
      "user": "r-ash",
      "count": 10,
      "uuid": 39248272
    },
    {
      "user": "m-kusumgar",
      "count": 8,
      "uuid": 98405247
    },
    {
      "user": "hillalex",
      "count": 5,
      "uuid": 6736820
    },
    {
      "user": "emmalrussell",
      "count": 4,
      "uuid": 44669576
    },
    {
      "user": "jennybc",
      "count": 1,
      "uuid": 599454
    }
  ],
  "_userbio": {
    "uuid": 105517888,
    "type": "organization",
    "name": "fastverse",
    "description": "An Extensible Suite of High-Performance and Low-Dependency Packages for Statistical Computing and Data Manipulation in R"
  },
  "_downloads": {
    "count": 1123,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/odin"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/mrc-ide/odin",
  "_searchresults": 306,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/odin.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mrc-ide/odin",
  "_realowner": "mrc-ide",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2019-07-02"
    },
    {
      "version": "1.0.8",
      "date": "2020-10-28"
    },
    {
      "version": "1.2.0",
      "date": "2021-07-07"
    },
    {
      "version": "1.2.1",
      "date": "2021-07-14"
    },
    {
      "version": "1.2.4",
      "date": "2022-04-28"
    },
    {
      "version": "1.2.5",
      "date": "2023-10-02"
    },
    {
      "version": "1.2.6",
      "date": "2024-09-23"
    },
    {
      "version": "1.2.7",
      "date": "2025-02-07"
    }
  ],
  "_exports": [
    "can_compile",
    "odin",
    "odin_",
    "odin_build",
    "odin_ir",
    "odin_ir_deserialise",
    "odin_js_bundle",
    "odin_js_versions",
    "odin_options",
    "odin_package",
    "odin_parse",
    "odin_parse_",
    "odin_validate"
  ],
  "_help": [
    {
      "page": "can_compile",
      "title": "Test if compilation is possible",
      "topics": [
        "can_compile"
      ]
    },
    {
      "page": "odin",
      "title": "Create an odin model",
      "topics": [
        "odin",
        "odin_"
      ]
    },
    {
      "page": "odin_build",
      "title": "Build an odin model generator from its IR",
      "topics": [
        "odin_build"
      ]
    },
    {
      "page": "odin_ir",
      "title": "Return detailed information about an odin model",
      "topics": [
        "odin_ir"
      ]
    },
    {
      "page": "odin_ir_deserialise",
      "title": "Deserialise odin's IR",
      "topics": [
        "odin_ir_deserialise"
      ]
    },
    {
      "page": "odin_js_bundle",
      "title": "Create a bundle of an odin model",
      "topics": [
        "odin_js_bundle"
      ]
    },
    {
      "page": "odin_js_versions",
      "title": "Report JS versions",
      "topics": [
        "odin_js_versions"
      ]
    },
    {
      "page": "odin_options",
      "title": "Odin options",
      "topics": [
        "odin_options"
      ]
    },
    {
      "page": "odin_package",
      "title": "Create odin model in a package",
      "topics": [
        "odin_package"
      ]
    },
    {
      "page": "odin_parse",
      "title": "Parse an odin model",
      "topics": [
        "odin_parse",
        "odin_parse_"
      ]
    },
    {
      "page": "odin_validate",
      "title": "Validate an odin model",
      "topics": [
        "odin_validate"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mrc-ide/odin/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/mrc-ide/odin/raw/HEAD/README.md",
  "_rundeps": [
    "cinterpolate",
    "deSolve",
    "digest",
    "glue",
    "jsonlite",
    "R6",
    "ring",
    "withr"
  ],
  "_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"
      ],
      "created": "2023-03-02 13:53:36",
      "modified": "2023-03-02 13:53:36",
      "commits": 1
    },
    {
      "source": "guide.Rmd",
      "filename": "guide.html",
      "title": "Guide to odin docs",
      "author": "Rich FitzJohn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The packages",
        "Documentation",
        "The TypeScript ecosystem",
        "Roadmap"
      ],
      "created": "2023-08-09 08:22:53",
      "modified": "2023-08-09 08:22:53",
      "commits": 1
    },
    {
      "source": "odin.Rmd",
      "filename": "odin.html",
      "title": "odin",
      "author": "Rich FitzJohn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Single variable: Logistic growth",
        "Specifying parameters",
        "More than one variable: the Lorenz attractor",
        "Delay models",
        "Arrays",
        "Generalised Lotka-Volterra model",
        "Interpolating functions"
      ],
      "created": "2016-03-09 11:26:30",
      "modified": "2023-05-03 10:59:44",
      "commits": 20
    },
    {
      "source": "discrete.Rmd",
      "filename": "discrete.html",
      "title": "odin discrete models",
      "author": "Thibaut Jombart, Rich FitzJohn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Discrete compartmental models in a nutshell",
        "From continuous to discrete time",
        "Stochastic processes",
        "Binomial distribution",
        "Poisson distribution",
        "Multinomial distribution",
        "Implementation using odin",
        "Deterministic SIR model",
        "Stochastic SIR model",
        "A stochastic SEIRDS model"
      ],
      "created": "2018-03-01 17:10:38",
      "modified": "2022-10-26 13:14:09",
      "commits": 15
    },
    {
      "source": "functions.Rmd",
      "filename": "functions.html",
      "title": "odin functions",
      "author": "Rich FitzJohn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Basic operators",
        "Array support",
        "Operators",
        "Mathematical operators",
        "Stochastic models"
      ],
      "created": "2020-05-26 14:50:20",
      "modified": "2022-10-26 13:14:09",
      "commits": 6
    }
  ],
  "_score": 10.05971760179741,
  "_indexed": false,
  "_nocasepkg": "odin",
  "_universes": [
    "fastverse"
  ],
  "_indexurl": "https://mrc-ide.r-universe.dev/odin",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.12",
      "date": "2026-05-23T15:16:04.000Z",
      "distro": "noble",
      "commit": "d8ff02081c1d5873563b99edbbcf060ede061d32",
      "fileid": "7ebf39e1e1d7edf325a652a7e887ec2a27c688793818d3ca87ac81137bc4342b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/26336191411"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.12",
      "date": "2026-05-23T15:15:39.000Z",
      "distro": "noble",
      "commit": "d8ff02081c1d5873563b99edbbcf060ede061d32",
      "fileid": "4fdde8e6579f57d378c323659a48cde53ffa37dd9e0b0681505fa1647af2843f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/26336191411"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.12",
      "date": "2026-05-23T15:15:12.000Z",
      "commit": "d8ff02081c1d5873563b99edbbcf060ede061d32",
      "fileid": "944777c1dcdcbd21cf2b089924e784c2ce85e3603ccce3de007cbd6f918f826c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/26336191411"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.12",
      "date": "2026-05-23T15:15:14.000Z",
      "commit": "d8ff02081c1d5873563b99edbbcf060ede061d32",
      "fileid": "20dbcc48a68e709c7c0d228e6859644df5300891c2b1b36a5325a6998485b975",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/26336191411"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.12",
      "date": "2026-05-23T15:15:54.000Z",
      "commit": "d8ff02081c1d5873563b99edbbcf060ede061d32",
      "fileid": "8ea5ba1d8bdab771bcd1a0529fb664a34f83b8b7486a9f4efc151247bf74ae73",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/26336191411"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.12",
      "date": "2026-05-23T15:15:21.000Z",
      "commit": "d8ff02081c1d5873563b99edbbcf060ede061d32",
      "fileid": "394bcd66d6e1a5306cd2e531f36b388b11a428ec56fb7505de0f3a8de1927ae3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/26336191411"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.12",
      "date": "2026-05-23T15:15:07.000Z",
      "commit": "d8ff02081c1d5873563b99edbbcf060ede061d32",
      "fileid": "93703dced306a365570ed79ee937d3f19bdae6c377cf9bfe3b1584e7fef7f579",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/26336191411"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.12",
      "date": "2026-05-23T15:15:08.000Z",
      "commit": "d8ff02081c1d5873563b99edbbcf060ede061d32",
      "fileid": "c18ec3ffe79ffe9e74436391b7a35f456beeb2090eb8b801cf79af75bc2ef262",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/26336191411"
    }
  ]
}