{
  "_id": "6a1f37a3b401979e73428d61",
  "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-05-14 06:19:01 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>",
  "MD5sum": "ef436e99965b9709eeb1480ad87d51bd",
  "_user": "mrc-ide",
  "_type": "src",
  "_file": "first90_1.7.1.tar.gz",
  "_fileid": "22de0e7585fed7a45e6fc51b6fb84419e82f0be895f5d0075aae47c587a5cca1",
  "_filesize": 1661142,
  "_sha256": "22de0e7585fed7a45e6fc51b6fb84419e82f0be895f5d0075aae47c587a5cca1",
  "_created": "2026-05-14T06:19:01.000Z",
  "_published": "2026-06-02T20:05:55.641Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79161446321,
      "time": 141,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7010758271"
    },
    {
      "job": 79161446302,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7010759499"
    },
    {
      "job": 79161447096,
      "time": 176,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7010764546"
    },
    {
      "job": 79161447319,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7010759228"
    },
    {
      "job": 79161446706,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7010838496"
    },
    {
      "job": 79161446702,
      "time": 234,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7010781177"
    },
    {
      "job": 79161446993,
      "time": 86,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7010842899"
    },
    {
      "job": 79161446676,
      "time": 169,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7010766036"
    },
    {
      "job": 79161445745,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988435280"
    },
    {
      "job": 79161445439,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79161446351,
      "time": 153,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7010760894"
    },
    {
      "job": 79161446705,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7010753978"
    },
    {
      "job": 79161445994,
      "time": 119,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7010754261"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25845130529",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 7427899
  },
  "_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",
    "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",
    "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-05-15T05:33:52.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "80702d63f6bcc0497795deff5041b79d94d5e6bc1e240ce09a1571e36c356cef",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25845130529"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.7.1",
      "date": "2026-05-15T05:33:55.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "b58c6328377fadd1aa79f56e4cbf47d40f00137414a1955b35edff48be64e82b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25845130529"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.7.1",
      "date": "2026-05-15T05:34:26.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "153f955087b24859ac03e56eb57becadde7cf1d5bcfde71ba2cb30ecb4d54a4b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25845130529"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.7.1",
      "date": "2026-05-15T05:33:54.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "bfe327532b72d87fa5d1586e675242680b43e1b95d9a6670d450a4caf9d83485",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25845130529"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.7.1",
      "date": "2026-05-15T05:41:18.000Z",
      "arch": "aarch64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "52aa3b867ac859e89fbec65f0b2c204297db5a6a184c004dd2db19612651d8e3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25845130529"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.7.1",
      "date": "2026-05-15T05:35:24.000Z",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "ef2e8bddbe98c871ce7e8331240b7a282bcfa3dbfe43ebce7160940e2a29299d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25845130529"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.7.1",
      "date": "2026-05-15T05:41:42.000Z",
      "arch": "aarch64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "c35720b62e8a7d456ae1137f8463940a23b10affab7493fbe8fde8747a94f5d4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25845130529"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.7.1",
      "date": "2026-05-15T05:34:18.000Z",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "10d25da27e275b54349d7228159a17db189d39a125bc61402ef86bf46954c119",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25845130529"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.7.1",
      "date": "2026-05-15T05:33:23.000Z",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "2e6f04f2804f3ce23bcc3dbcf438924746ce98aec6af75e730319881be286bbd",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25845130529"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.7.1",
      "date": "2026-05-15T05:33:07.000Z",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "0b51cb6fff853b94d446ecea1eda012aa0d9c07d9e2bccb16555827b81c03af1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25845130529"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.7.1",
      "date": "2026-05-15T05:33:06.000Z",
      "arch": "x86_64",
      "commit": "25494ecdcaeb10f90354ad290a7b0bc0f4beccea",
      "fileid": "2eeacdde0c33601d88a6b7b09d45dde38e37fff75336043109b089b61e59b4fe",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrc-ide/actions/runs/25845130529"
    }
  ]
}