{
  "_id": "6a27f70724555f66ed54ddb7",
  "Package": "leapfrog",
  "Title": "Multistate Population Projection Model for Demographic and HIV\nEstimation",
  "Version": "0.1.10",
  "Authors@R": "c(\nperson(given = \"Jeffrey\",\nfamily = \"Imai-Eaton\",\nrole = c(\"aut\"),\nemail = \"jeffrey.eaton@imperial.ac.uk\",\ncomment = c(ORCID = \"0000-0001-7728-728X\")),\nperson(given = \"Magdalene\",\nfamily = \"Walters\",\nrole = c(\"aut\"),\nemail = \"m.walters@imperial.ac.uk\"),\nperson(given = \"Robert\",\nfamily = \"Ashton\",\nrole = c(\"aut\", \"cre\"),\nemail = \"robertashton94@gmail.com\"),\nperson(given = \"Mantra\",\nfamily = \"Kusumgar\",\nrole = c(\"aut\"),\nemail = \"m.kusumgar@imperial.ac.uk\"))",
  "Description": "Leapfrog is a multistate population projection model for\nestimating population, demographic indicators, and HIV\nepidemic. The model combines a standard cohort component model\nof population projection (CCMPP) with a multistate model for\nHIV infection, disease progression, and treatment. Statistical\ntools are implemented for joint inference from multiple\ndemographic and epidemiologic data sources.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/hivtools/leapfrog",
  "BugReports": "https://github.com/hivtools/leapfrog/issues",
  "Config/testthat/edition": "3",
  "Config/build/extra-sources": "configure*, ../leapfrog-core/include/*",
  "Additional_repositories": "https://hivtools.r-universe.dev,\nhttps://mrc-ide.r-universe.dev",
  "Remotes": [
    "rlglaubius/SpectrumUtils",
    ""
  ],
  "VignetteBuilder": "knitr",
  "Repository": "https://hivtools.r-universe.dev",
  "Date/Publication": "2026-06-09 08:29:37 UTC",
  "RemoteUrl": "https://github.com/hivtools/leapfrog",
  "RemoteRef": "r-release",
  "RemoteSha": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
  "RemoteSubdir": "leapfrogr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-09 11:09:19 UTC",
    "User": "root"
  },
  "Author": "Jeffrey Imai-Eaton [aut] (ORCID:\n<https://orcid.org/0000-0001-7728-728X>),\nMagdalene Walters [aut],\nRobert Ashton [aut, cre],\nMantra Kusumgar [aut]",
  "Maintainer": "Robert Ashton <robertashton94@gmail.com>",
  "MD5sum": "f45dcfc3882a63552d809bac9ccf5a8e",
  "_user": "hivtools",
  "_type": "src",
  "_file": "leapfrog_0.1.10.tar.gz",
  "_fileid": "14246e24b1156bc33691ee7f3d914382912c0f33f3aec3ccd5ae24998121da11",
  "_filesize": 6023101,
  "_sha256": "14246e24b1156bc33691ee7f3d914382912c0f33f3aec3ccd5ae24998121da11",
  "_created": "2026-06-09T11:09:19.000Z",
  "_published": "2026-06-09T11:20:39.064Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80308512397,
      "time": 185,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7505960945"
    },
    {
      "job": 80308512392,
      "time": 207,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7505967684"
    },
    {
      "job": 80308512467,
      "time": 217,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7505971481"
    },
    {
      "job": 80308512452,
      "time": 203,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7505965946"
    },
    {
      "job": 80308512502,
      "time": 147,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7505959904"
    },
    {
      "job": 80308512491,
      "time": 377,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7506103784"
    },
    {
      "job": 80308512480,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7506001851"
    },
    {
      "job": 80308512477,
      "time": 266,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7506067459"
    },
    {
      "job": 80307539100,
      "time": 330,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7505895064"
    },
    {
      "job": 80308512353,
      "time": 165,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7505953260"
    },
    {
      "job": 80308512433,
      "time": 195,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7505963628"
    },
    {
      "job": 80308512362,
      "time": 140,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7505944327"
    },
    {
      "job": 80308512377,
      "time": 180,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7505959274"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hivtools/leapfrog",
  "_commit": {
    "id": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
    "author": "r-ash <39248272+r-ash@users.noreply.github.com>",
    "committer": "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>",
    "message": "chore: bundle leapfrog-core headers for release\n",
    "time": 1780993777
  },
  "_maintainer": {
    "name": "Robert Ashton",
    "email": "robertashton94@gmail.com",
    "login": "r-ash",
    "description": "🚀 Senior Software Engineer @ Avenir Health 🛠️ Building tools and web applications for epidemiologists and public health program planners",
    "uuid": 39248272
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "beers",
      "role": "Imports"
    },
    {
      "package": "hdf5r",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "pjnz",
      "version": ">= 0.0.3",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "abind",
      "role": "Suggests"
    },
    {
      "package": "docopt",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "plyr",
      "role": "Suggests"
    },
    {
      "package": "RcppEigen",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "SpectrumUtils",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    }
  ],
  "_owner": "hivtools",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 3
    },
    {
      "week": "2025-25",
      "n": 2
    },
    {
      "week": "2025-26",
      "n": 3
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 5
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 4
    },
    {
      "week": "2025-45",
      "n": 5
    },
    {
      "week": "2025-46",
      "n": 5
    },
    {
      "week": "2025-47",
      "n": 2
    },
    {
      "week": "2025-51",
      "n": 7
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 4
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 10
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 4
    },
    {
      "week": "2026-24",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2025-07-23"
    },
    {
      "name": "v0.1.0-2",
      "date": "2025-07-23"
    },
    {
      "name": "v1.0.0",
      "date": "2025-11-12"
    },
    {
      "name": "v1.0.1",
      "date": "2026-02-05"
    },
    {
      "name": "v1.0.1.9000",
      "date": "2026-03-25"
    },
    {
      "name": "v1.0.1.9001",
      "date": "2026-03-25"
    },
    {
      "name": "v1.0.1.9002",
      "date": "2026-04-09"
    },
    {
      "name": "v1.0.2",
      "date": "2026-04-27"
    },
    {
      "name": "v1.0.3",
      "date": "2026-05-13"
    },
    {
      "name": "v1.0.4",
      "date": "2026-06-04"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "r-ash",
      "count": 610,
      "uuid": 39248272
    },
    {
      "user": "m-kusumgar",
      "count": 227,
      "uuid": 98405247
    },
    {
      "user": "mwalte10",
      "count": 146,
      "uuid": 24323420
    },
    {
      "user": "jeffeaton",
      "count": 54,
      "uuid": 7427899
    },
    {
      "user": "richfitz",
      "count": 15,
      "uuid": 1558093
    }
  ],
  "_userbio": {
    "uuid": 172818267,
    "type": "organization",
    "name": "HIV Tools",
    "description": "Tools developed for UNAIDS HIV response"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/leapfrog"
  },
  "_devurl": "https://github.com/hivtools/leapfrog",
  "_searchresults": 18,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/leapfrog.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "get_leapfrog_ss",
    "get_state_space",
    "get_time_slice",
    "list_model_configurations",
    "process_parameters_to_cpp",
    "process_parameters_to_r",
    "process_pjnz",
    "read_parameters",
    "run_model",
    "run_model_from_state",
    "run_model_single_year",
    "save_parameters"
  ],
  "_help": [
    {
      "page": "beers_open_ended",
      "title": "Beers Ordinary Graduation with Open-Ended Age Group",
      "topics": [
        "beers_open_ended"
      ]
    },
    {
      "page": "get_leapfrog_ss",
      "title": "Get the state space dimensions for a particular model configuration",
      "topics": [
        "get_leapfrog_ss"
      ]
    },
    {
      "page": "get_state_space",
      "title": "Run leapfrog model fit",
      "topics": [
        "get_state_space"
      ]
    },
    {
      "page": "get_time_slice",
      "title": "Slice a single year from model state",
      "topics": [
        "get_time_slice"
      ]
    },
    {
      "page": "list_model_configurations",
      "title": "List the avaialble model configurations",
      "topics": [
        "list_model_configurations"
      ]
    },
    {
      "page": "process_parameters_to_cpp",
      "title": "Process parameters and convert from 1 based indexing in R to 0 based indexing in C++. Also add in any defaults/extra parameters, e.g. 'h_art_stage_dur'.",
      "topics": [
        "process_parameters_to_cpp"
      ]
    },
    {
      "page": "process_parameters_to_r",
      "title": "Process parameters and convert from 0 based indexing for C++ to 1 based indexing in R.",
      "topics": [
        "process_parameters_to_r"
      ]
    },
    {
      "page": "process_pjnz",
      "title": "Prepare inputs from Spectrum PJNZ",
      "topics": [
        "process_pjnz"
      ]
    },
    {
      "page": "read_parameters",
      "title": "Read parameters from HDF5 file format. This implicitly processes the parameters from C++ 0 based indexing to R 1 based indexing.",
      "topics": [
        "read_parameters"
      ]
    },
    {
      "page": "run_model",
      "title": "Run leapfrog model fit",
      "topics": [
        "run_model"
      ]
    },
    {
      "page": "run_model_from_state",
      "title": "Run leapfrog model fit from initial state",
      "topics": [
        "run_model_from_state"
      ]
    },
    {
      "page": "run_model_single_year",
      "title": "Run leapfrog model fit for a single year",
      "topics": [
        "run_model_single_year"
      ]
    },
    {
      "page": "save_parameters",
      "title": "Save parameters to HDF5 file format. This implicitly processes the parameters to C++ 0 based indexing.",
      "topics": [
        "save_parameters"
      ]
    }
  ],
  "_readme": "https://github.com/hivtools/leapfrog/raw/r-release/leapfrogr/README.md",
  "_rundeps": [
    "beers",
    "bit",
    "bit64",
    "cli",
    "hdf5r",
    "magrittr",
    "pjnz",
    "R6",
    "Rcpp",
    "rlang"
  ],
  "_sysdeps": [
    {
      "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"
    }
  ],
  "_vignettes": [
    {
      "source": "development.Rmd",
      "filename": "development.html",
      "title": "Developing leapfrog",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Prerequisite",
        "Initial setup",
        "Structure",
        "Model variants",
        "State saving",
        "Modifying config to add new input, output or intermediate data",
        "Config structure",
        "Adding a new model variant"
      ],
      "created": "2025-11-20 18:15:01",
      "modified": "2026-03-24 11:49:13",
      "commits": 5
    },
    {
      "source": "variables.Rmd",
      "filename": "variables.html",
      "title": "Variable naming conventions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Leapfrog naming rules",
        "Rules for unpacking structs",
        "Leaptfrog to Leapfrog glossary",
        "State space",
        "Loop variable convention",
        "Key indices in state space or other options controlling fit",
        "Input data",
        "Outputs",
        "Intermediate data"
      ],
      "created": "2025-11-20 18:15:01",
      "modified": "2026-06-01 14:35:48",
      "commits": 2
    }
  ],
  "_score": 5.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "leapfrog",
  "_universes": [
    "hivtools",
    "r-ash"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-06-09T11:12:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
      "fileid": "35375e25a450d5abb6d99b95a100ca92129cb336881d05048d71c22a9fefe454",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-06-09T11:12:56.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
      "fileid": "eda26cc3eaefd8c543e9f19054495b309922a7feb8259d21a50fd65d1180a84d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-06-09T11:13:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
      "fileid": "61967be7339c8cd049a73b80fad3401d496b21756958e77f4e194bab70378f5a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-06-09T11:12:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
      "fileid": "62812249bdc0a25d6bc669d8cbbc68a356ee7099a599b2bc196fdc6b1d38fdcb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-06-09T11:12:29.000Z",
      "arch": "aarch64",
      "commit": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
      "fileid": "dc851c606321703a26d0753432f65e8afc22e5b30c011e536795fda1c437e466",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-06-09T11:17:58.000Z",
      "arch": "x86_64",
      "commit": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
      "fileid": "ac2d0a8c5e4c4598e3a0b45d16efa961ddab961e7fd077446045220cb29ed428",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-06-09T11:14:45.000Z",
      "arch": "aarch64",
      "commit": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
      "fileid": "5ded0acd3144215d78adff444fcfb9c04c2a2bcc3a00ed6c2c2e53712f3067db",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-06-09T11:17:03.000Z",
      "arch": "x86_64",
      "commit": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
      "fileid": "fe4e8ee011f5aa9560fc349cc09978cb76fad4cc2b9fed7873049a569a9458fb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.10",
      "date": "2026-06-09T11:12:35.000Z",
      "arch": "emscripten",
      "commit": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
      "fileid": "ef6bc958a1b6663302f01f5ecc8ef801e55d73879ade34bf12829eafdb273a55",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-06-09T11:11:57.000Z",
      "arch": "x86_64",
      "commit": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
      "fileid": "213dc0b08f579c293bcb8c7e0b03d96a60aefdb3d69c838d59bd0e3933188d18",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-06-09T11:11:39.000Z",
      "arch": "x86_64",
      "commit": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
      "fileid": "4571d2da0395b8b1148b2fe7a74c6c0186491240cbd9123018ac1e938b4455bf",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-06-09T11:11:54.000Z",
      "arch": "x86_64",
      "commit": "060e66e6a9336b436a796306ffb1f3bffb6c0ac0",
      "fileid": "3c6f4aa68f3da8a99e103b713887a488bbaf65bb594974a1f3212bc545b2abc3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hivtools/actions/runs/27201825825"
    }
  ]
}