{
  "_id": "6a495957f6c47c441949db38",
  "Package": "first90",
  "Version": "1.7.1",
  "Title": "The first90 model",
  "Description": "Implements the Shiny90 model for estimating progress\ntowards the UNAIDS \"first 90\" target for HIV awareness of\nstatus in sub-Saharan Africa.",
  "Authors@R": "c(person(given = \"Jeffrey\",\nfamily = \"Eaton\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jeffrey.eaton@imperial.ac.uk\",\ncomment = c(ORCID = \"0000-0001-7728-728X\")),\nperson(given = \"Mathieu\",\nfamily = \"Maheu-Giroux\",\nrole = \"aut\",\nemail = \"mathieu.maheu-giroux@mcgill.ca\"),\nperson(given = \"Katia\",\nfamily = \"Giguère\",\nrole = \"aut\",\nemail = \"katia.giguere@mail.mcgill.ca\"),\nperson(given = \"Roma\",\nfamily = \"Bhatkoti\",\nemail = \"nli0@cdc.gov\",\nrole = \"aut\"))",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "ByteCompile": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "URL": "https://github.com/mrc-ide/first90release,\nhttps://shiny90.unaids.org",
  "BugReports": "https://github.com/mrc-ide/first90release/issues",
  "Repository": "https://mrc-ide.r-universe.dev",
  "Date/Publication": "2024-11-19 09:05:38 UTC",
  "RemoteUrl": "https://github.com/mrc-ide/first90release",
  "RemoteRef": "master",
  "RemoteSha": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-24 00:30:56 UTC",
    "User": "root"
  },
  "Author": "Jeffrey Eaton [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7728-728X>),\nMathieu Maheu-Giroux [aut],\nKatia Giguère [aut],\nRoma Bhatkoti [aut]",
  "Maintainer": "Jeffrey Eaton <jeffrey.eaton@imperial.ac.uk>",
  "_user": "mrc-ide",
  "_type": "src",
  "_file": "first90_1.7.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/98b1f92b5d248c4bd73be2a92704de2b280e883fb5e30be088b29ef130b013ce",
  "_filesize": 1661045,
  "_sha256": "98b1f92b5d248c4bd73be2a92704de2b280e883fb5e30be088b29ef130b013ce",
  "_expires": "2026-10-12T19:04:54.000Z",
  "_created": "2026-06-24T00:30:56.000Z",
  "_published": "2026-07-04T19:04:55.808Z",
  "_jobs": [
    {
      "job": 85158945736,
      "time": 163,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7837111143"
    },
    {
      "job": 85158945825,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7837108333"
    },
    {
      "job": 85158946012,
      "time": 150,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7837108443"
    },
    {
      "job": 85158945948,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7837107949"
    },
    {
      "job": 85158946049,
      "time": 116,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7837119349"
    },
    {
      "job": 85158945809,
      "time": 243,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7837151389"
    },
    {
      "job": 85158945789,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7837120531"
    },
    {
      "job": 85158945677,
      "time": 177,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7837134154"
    },
    {
      "job": 85158945619,
      "time": 176,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7837070226"
    },
    {
      "job": 85158945670,
      "time": 151,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 85158945996,
      "time": 131,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7837103356"
    },
    {
      "job": 85158945990,
      "time": 228,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7837127133"
    },
    {
      "job": 85158946038,
      "time": 115,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7837099347"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/28066535739",
  "_status": "success",
  "_upstream": "https://github.com/mrc-ide/first90release",
  "_commit": {
    "id": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
    "author": "Rob <39248272+r-ash@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #45 from mrc-ide/fix-devl-compilation\n\nUse strict naming for R internal functions to fix compilation R devl",
    "time": 1732007138
  },
  "_maintainer": {
    "name": "Jeffrey Eaton",
    "email": "jeffrey.eaton@imperial.ac.uk",
    "login": "jeffeaton",
    "orcid": "0000-0001-7728-728X",
    "description": "",
    "uuid": 7427899
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "fastmatch",
      "version": ">= 1.1",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "vroom",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "mrc-ide",
  "_selfowned": true,
  "_usedby": 4,
  "_updates": [],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "jeffeaton",
      "count": 86,
      "uuid": 7427899
    },
    {
      "user": "m-maheu-giroux",
      "count": 32,
      "uuid": 36635798
    },
    {
      "user": "hillalex",
      "count": 16,
      "uuid": 6736820
    },
    {
      "user": "r-ash",
      "count": 11,
      "uuid": 39248272
    }
  ],
  "_userbio": {
    "uuid": 25453642,
    "type": "organization",
    "name": "MRC Centre for Global Infectious Disease Analysis",
    "followers": 155,
    "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/first90"
  },
  "_devurl": "https://github.com/mrc-ide/first90release",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/first90.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "add_ss_indices",
    "artcov15to49",
    "combine_inputs",
    "create_hts_param",
    "denom_lifetable",
    "diagnosed",
    "end_of_year",
    "evertest",
    "extract_pjnz",
    "file_in_zip",
    "get_dp_srb",
    "get_dp_tfr",
    "get_dp_totpop",
    "get_out_art",
    "get_out_aware",
    "get_out_evertest",
    "get_out_nbaware",
    "get_out_nbtest",
    "get_out_nbtest_pos",
    "get_out_nbtest_pos_sex",
    "get_out_nbtest_sex",
    "get_out_pregprev",
    "get_pjn_country",
    "get_pjn_region",
    "get_pjnz_summary_data",
    "ll_evertest",
    "ll_hts",
    "ll_prgdat",
    "number_diagnoses",
    "number_retests",
    "number_tests",
    "optimized_par",
    "plot_input_ancpos",
    "plot_input_anctot",
    "plot_input_tot",
    "plot_input_totpos",
    "plot_inputdata",
    "plot_out",
    "plot_out_90s",
    "plot_out_evertest",
    "plot_out_evertest_fbyage",
    "plot_out_evertest_mbyage",
    "plot_out_evertestneg",
    "plot_out_evertestpos",
    "plot_out_nbpostest",
    "plot_out_nbpostest_sex",
    "plot_out_nbtest",
    "plot_out_strat",
    "plot_pjnz",
    "plot_pjnz_inc",
    "plot_pjnz_plhiv",
    "plot_pjnz_pop",
    "plot_pjnz_prv",
    "plot_prv_pos_yld",
    "plot_retest_test_neg",
    "plot_retest_test_pos",
    "pool_prb_dx_one_yr",
    "prb_dx_one_yr",
    "prepare_hts_likdat",
    "prepare_inputs",
    "prepare_inputs_from_extracts",
    "read_country",
    "read_region",
    "select_hts",
    "select_prgmdata",
    "simmod",
    "simul_pool_prb_dx_one_yr",
    "simul.run",
    "simul.sample",
    "simul.test",
    "spectrum_output_table",
    "svy_hts_interface",
    "tab_out_artcov",
    "tab_out_aware",
    "tab_out_evertest",
    "tab_out_nbaware",
    "tab_out_pregprev",
    "total_tests"
  ],
  "_datasets": [
    {
      "name": "theta0",
      "title": "",
      "object": "theta0",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_ss_indices",
      "title": "Add incidences corresponding to state space",
      "topics": [
        "add_ss_indices"
      ]
    },
    {
      "page": "artcov15to49",
      "title": "ART coverage among age 15-49",
      "topics": [
        "artcov15to49"
      ]
    },
    {
      "page": "calc_asfr",
      "title": "Calculate ASFR from TFR and fertility distribution",
      "topics": [
        "calc_asfr"
      ]
    },
    {
      "page": "combine_inputs",
      "title": "Combine PJNZ inputs",
      "topics": [
        "combine_inputs"
      ]
    },
    {
      "page": "create_beers",
      "title": "Beers coefficients to distribute from 5-year to single-year of age",
      "topics": [
        "create_beers"
      ]
    },
    {
      "page": "create_hts_param",
      "title": "Create HIV testing rates from parameter inputs",
      "topics": [
        "create_hts_param"
      ]
    },
    {
      "page": "diagnosed",
      "title": "Proportion diagnosed among HIV+ by age, sex, or HIV status",
      "topics": [
        "diagnosed"
      ]
    },
    {
      "page": "evertest",
      "title": "Proportion ever tested by age, sex, or HIV status",
      "topics": [
        "evertest"
      ]
    },
    {
      "page": "exists_dptag",
      "title": "Internal helper functions",
      "topics": [
        "exists_dptag"
      ]
    },
    {
      "page": "extract_pjnz",
      "title": "Extract outputs from PJNZ needed for first90 model",
      "topics": [
        "extract_pjnz"
      ]
    },
    {
      "page": "get_dp_frr",
      "title": "Extract AIM module parameters",
      "topics": [
        "get_dp_frr"
      ]
    },
    {
      "page": "get_dp_srb",
      "title": "Get sex ratio at birth",
      "topics": [
        "get_dp_srb"
      ]
    },
    {
      "page": "get_dp_Sx",
      "title": "Get mortality probability (Sx) from Spectrum DP file",
      "topics": [
        "get_dp_Sx"
      ]
    },
    {
      "page": "get_dp_tfr",
      "title": "Get age-specific fertility rate by single-year",
      "topics": [
        "get_dp_tfr"
      ]
    },
    {
      "page": "get_dp_totpop",
      "title": "Extract arrays from Spectrum DP file",
      "topics": [
        "get_dp_totpop"
      ]
    },
    {
      "page": "get_pjn_country",
      "title": "Get country name from parsed PJN",
      "topics": [
        "get_pjn_country"
      ]
    },
    {
      "page": "get_pjn_region",
      "title": "Get subnational region from parsed PJN",
      "topics": [
        "get_pjn_region"
      ]
    },
    {
      "page": "number_diagnoses",
      "title": "Number of new diagnoses by age and sex",
      "topics": [
        "number_diagnoses"
      ]
    },
    {
      "page": "number_retests",
      "title": "Calculate number adn proportion of retests conducted or number tested by year funtion based on number test in the outputs.R script",
      "topics": [
        "number_retests"
      ]
    },
    {
      "page": "number_tests",
      "title": "Calculate number of tests conducted or number tested by year",
      "topics": [
        "number_tests"
      ]
    },
    {
      "page": "prepare_inputs",
      "title": "Create model inputs from Spectrum PJNZ",
      "topics": [
        "prepare_inputs"
      ]
    },
    {
      "page": "prepare_inputs_from_extracts",
      "title": "Create model inputs from aggregated Spectrum PJNZ",
      "topics": [
        "prepare_inputs_from_extracts"
      ]
    },
    {
      "page": "select_hts",
      "title": "Process survey data on hiv testing behaviors",
      "topics": [
        "select_hts"
      ]
    },
    {
      "page": "select_prgmdata",
      "title": "Process programmatic data on number of tests",
      "topics": [
        "select_prgmdata"
      ]
    },
    {
      "page": "simmod",
      "title": "Simulate EPP-ASM model",
      "topics": [
        "simmod"
      ]
    },
    {
      "page": "spectrum_output_table",
      "title": "Table to write CSV outputs for Spectrum",
      "topics": [
        "spectrum_output_table"
      ]
    },
    {
      "page": "svy_hts_interface",
      "title": "Function to present the survey data on shinny interface",
      "topics": [
        "svy_hts_interface"
      ]
    }
  ],
  "_readme": "https://github.com/mrc-ide/first90release/raw/master/README.md",
  "_rundeps": [
    "BH",
    "bit",
    "bit64",
    "cli",
    "cpp11",
    "crayon",
    "fastmatch",
    "glue",
    "hms",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mvtnorm",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "Rcpp",
    "rlang",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_score": 3.954242509439325,
  "_indexed": true,
  "_nocasepkg": "first90",
  "_universes": [
    "mrc-ide",
    "jeffeaton"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.7.1",
      "date": "2026-06-24T00:33:38.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "https://r2.ropensci.org/c83da5edeb01369d266e0a3abfca3f6eb297abc28d13b577b9efcc4e9e591b32",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/28066535739"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.7.1",
      "date": "2026-06-24T00:33:23.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "https://r2.ropensci.org/f052a4212a50b19ee6516d0b4622d1d13da698185c818b302548a84325c83315",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/28066535739"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.7.1",
      "date": "2026-06-24T00:33:29.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "https://r2.ropensci.org/a57a9edbc5fa19d06cc4ed52f6723a8a3a196e5b1281263aac1bc2b2f9f8d998",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/28066535739"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.7.1",
      "date": "2026-06-24T00:33:22.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "https://r2.ropensci.org/c8baa76125e4cb8e9692a59c34a1b20da0789ce944242e707dcc5cf1f3850296",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/28066535739"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.7.1",
      "date": "2026-06-24T00:34:16.000Z",
      "arch": "aarch64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "https://r2.ropensci.org/14e599ee7ce7c6bfdab887ad7c6045d353b460b6e53dd7ba912f0386796b7400",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/28066535739"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.7.1",
      "date": "2026-06-24T00:35:34.000Z",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "https://r2.ropensci.org/2cb5b37d20388970e6be1dd5657ba7c40988a92d8795f755cb185a7a83dfdd57",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/28066535739"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.7.1",
      "date": "2026-06-24T00:34:15.000Z",
      "arch": "aarch64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "https://r2.ropensci.org/efbf4fc84e10e9beeb27d2bcb35a856bb2f5658de67176f70f60787ecd6c33ea",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/28066535739"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.7.1",
      "date": "2026-06-24T00:34:55.000Z",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "https://r2.ropensci.org/0d17765ef9ba48970f304134bf4e85140b7748039ce1ba8994702baf905e9718",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/28066535739"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.7.1",
      "date": "2026-06-24T00:32:30.000Z",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "https://r2.ropensci.org/66fbe1d09b9d0e6e78a8a1364ceb390c8cf2bb78968d473b5a664c5ccc9a21b7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/28066535739"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.7.1",
      "date": "2026-06-24T00:33:34.000Z",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "https://r2.ropensci.org/f874f0a9308f331265070313c5d42549550ea24cf59f15354eef53a78e1133c2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/28066535739"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.7.1",
      "date": "2026-06-24T00:32:29.000Z",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "https://r2.ropensci.org/7593f9c8c682e767f395beeb064901bc818512e9901b5f70c902d272c305fe06",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/28066535739"
    }
  ]
}