{
  "_id": "6a1ffaa9b401979e73444802",
  "Package": "seroreconstruct",
  "Type": "Package",
  "Title": "Reconstructing Antibody Dynamics to Estimate the Risk of\nInfluenza Virus Infection",
  "Version": "1.1.5",
  "Authors@R": "c(person(given = \"Tim\",\nfamily = \"Tsang\",\nrole = c(\"aut\", \"cre\"),\nemail = \"timkltsang@gmail.com\",\ncomment = c(ORCID = \"0000-0001-5037-6776\")))",
  "Maintainer": "Tim Tsang <timkltsang@gmail.com>",
  "Description": "A Bayesian framework for inferring influenza infection\nstatus from serial antibody measurements. Jointly estimates\nseason-specific infection probabilities, antibody boosting and\nwaning after infection, and baseline hemagglutination\ninhibition (HAI) titer distributions via Markov chain Monte\nCarlo (MCMC). Supports multi-season analysis and subgroup\ncomparisons via a group_by interface. See Tsang et al. (2022)\n<doi:10.1038/s41467-022-29310-8> for methodological details.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "TRUE",
  "URL": "https://github.com/timktsang/seroreconstruct",
  "BugReports": "https://github.com/timktsang/seroreconstruct/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "SystemRequirements": "TBB",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "make",
  "Repository": "https://timktsang.r-universe.dev",
  "Date/Publication": "2026-03-30 14:58:43 UTC",
  "RemoteUrl": "https://github.com/timktsang/seroreconstruct",
  "RemoteRef": "HEAD",
  "RemoteSha": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-03 09:50:01 UTC",
    "User": "root"
  },
  "Author": "Tim Tsang [aut, cre] (ORCID: <https://orcid.org/0000-0001-5037-6776>)",
  "MD5sum": "0a1f3647636150a6144c02361cad220f",
  "_user": "timktsang",
  "_type": "src",
  "_file": "seroreconstruct_1.1.5.tar.gz",
  "_fileid": "136ce66529f05dbef9735a3db9173c20020958b56c20f8725e2ee6c06252c727",
  "_filesize": 950013,
  "_sha256": "136ce66529f05dbef9735a3db9173c20020958b56c20f8725e2ee6c06252c727",
  "_created": "2026-06-03T09:50:01.000Z",
  "_published": "2026-06-03T09:58:01.407Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79267166029,
      "time": 166,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381300013"
    },
    {
      "job": 79267165886,
      "time": 186,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381306635"
    },
    {
      "job": 79267165889,
      "time": 158,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381297789"
    },
    {
      "job": 79267165942,
      "time": 165,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381298636"
    },
    {
      "job": 79267166094,
      "time": 164,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381290697"
    },
    {
      "job": 79267166018,
      "time": 398,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381379023"
    },
    {
      "job": 79267166153,
      "time": 202,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381299957"
    },
    {
      "job": 79267166146,
      "time": 428,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381378427"
    },
    {
      "job": 79266509067,
      "time": 219,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381231855"
    },
    {
      "job": 79267166013,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381278546"
    },
    {
      "job": 79267165968,
      "time": 166,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381299456"
    },
    {
      "job": 79267165863,
      "time": 231,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381324192"
    },
    {
      "job": 79267165872,
      "time": 145,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381290778"
    }
  ],
  "_buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/timktsang/seroreconstruct",
  "_commit": {
    "id": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
    "author": "Tim Tsang <timtsang@connect.hku.hk>",
    "committer": "Tim Tsang <timtsang@connect.hku.hk>",
    "message": "Bump to v1.1.5 for CRAN resubmission\n",
    "time": 1774882723
  },
  "_maintainer": {
    "name": "Tim Tsang",
    "email": "timkltsang@gmail.com",
    "login": "timktsang",
    "description": "Assistant Professor, School of Public Health, The University of Hong Kong",
    "uuid": 27651606,
    "orcid": "0000-0001-5037-6776"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.9",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "timktsang",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 7
    },
    {
      "week": "2026-13",
      "n": 22
    },
    {
      "week": "2026-14",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "timktsang",
      "count": 34,
      "uuid": 27651606
    }
  ],
  "_userbio": {
    "uuid": 27651606,
    "type": "user",
    "name": "Tim Tsang",
    "description": "Assistant Professor, School of Public Health, The University of Hong Kong"
  },
  "_downloads": {
    "count": 132,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/seroreconstruct"
  },
  "_devurl": "https://github.com/timktsang/seroreconstruct",
  "_searchresults": 5,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_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/readme.html",
    "extra/readme.md",
    "extra/seroreconstruct.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/timktsang/seroreconstruct",
  "_realowner": "timktsang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1.5",
      "date": "2026-04-03"
    }
  ],
  "_exports": [
    "output_model_estimate",
    "plot_boosting",
    "plot_diagnostics",
    "plot_infection_prob",
    "plot_trajectory",
    "plot_waning",
    "sero_reconstruct",
    "simulate_data",
    "table_infections",
    "table_parameters"
  ],
  "_datasets": [
    {
      "name": "flu_activity",
      "title": "Example of flu activity data",
      "object": "flu_activity",
      "class": [
        "data.frame"
      ],
      "fields": [
        "h1.activity"
      ],
      "rows": 2738,
      "table": true,
      "tojson": true
    },
    {
      "name": "inputdata",
      "title": "Example of input data",
      "object": "inputdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age_group",
        "start_time",
        "end_time",
        "time1",
        "time2",
        "time3",
        "HAI_titer_1",
        "HAI_titer_2",
        "HAI_titer3"
      ],
      "rows": 1753,
      "table": true,
      "tojson": true
    },
    {
      "name": "para1",
      "title": "Example of parameter vector for the main model",
      "object": "para1",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "para2",
      "title": "Example of parameter vector for the baseline HAI titer for the main model",
      "object": "para2",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "sub-sub-.seroreconstruct_multi",
      "title": "Subset a seroreconstruct_multi object",
      "topics": [
        "[[.seroreconstruct_multi"
      ]
    },
    {
      "page": "flu_activity",
      "title": "Example of flu activity data",
      "concept": [
        "example_data"
      ],
      "topics": [
        "flu_activity"
      ]
    },
    {
      "page": "inputdata",
      "title": "Example of input data",
      "concept": [
        "inputdata"
      ],
      "topics": [
        "inputdata"
      ]
    },
    {
      "page": "output_model_estimate",
      "title": "Extract the model estimates from the fitted MCMC",
      "topics": [
        "output_model_estimate"
      ]
    },
    {
      "page": "para1",
      "title": "Example of parameter vector for the main model",
      "concept": [
        "example_data"
      ],
      "topics": [
        "para1"
      ]
    },
    {
      "page": "para2",
      "title": "Example of parameter vector for the baseline HAI titer for the main model",
      "concept": [
        "example_data"
      ],
      "topics": [
        "para2"
      ]
    },
    {
      "page": "plot_boosting",
      "title": "Plot posterior boosting distributions",
      "topics": [
        "plot_boosting"
      ]
    },
    {
      "page": "plot_diagnostics",
      "title": "MCMC diagnostic plots",
      "topics": [
        "plot_diagnostics"
      ]
    },
    {
      "page": "plot_infection_prob",
      "title": "Plot infection probabilities (forest plot)",
      "topics": [
        "plot_infection_prob"
      ]
    },
    {
      "page": "plot_trajectory",
      "title": "Plot antibody trajectory with model fit",
      "topics": [
        "plot_trajectory"
      ]
    },
    {
      "page": "plot_waning",
      "title": "Plot posterior waning curves",
      "topics": [
        "plot_waning"
      ]
    },
    {
      "page": "print.seroreconstruct_fit",
      "title": "Print method for seroreconstruct_fit",
      "topics": [
        "print.seroreconstruct_fit"
      ]
    },
    {
      "page": "print.seroreconstruct_joint",
      "title": "Print method for seroreconstruct_joint",
      "topics": [
        "print.seroreconstruct_joint"
      ]
    },
    {
      "page": "print.seroreconstruct_multi",
      "title": "Print method for seroreconstruct_multi",
      "topics": [
        "print.seroreconstruct_multi"
      ]
    },
    {
      "page": "print.summary.seroreconstruct_fit",
      "title": "Print method for summary.seroreconstruct_fit",
      "topics": [
        "print.summary.seroreconstruct_fit"
      ]
    },
    {
      "page": "print.summary.seroreconstruct_joint",
      "title": "Print method for summary.seroreconstruct_joint",
      "topics": [
        "print.summary.seroreconstruct_joint"
      ]
    },
    {
      "page": "print.summary.seroreconstruct_multi",
      "title": "Print method for summary.seroreconstruct_multi",
      "topics": [
        "print.summary.seroreconstruct_multi"
      ]
    },
    {
      "page": "sero_reconstruct",
      "title": "Run the MCMC for the Bayesian model",
      "topics": [
        "sero_reconstruct"
      ]
    },
    {
      "page": "simulate_data",
      "title": "Simulation of the dataset of the Bayesian model",
      "topics": [
        "simulate_data"
      ]
    },
    {
      "page": "summary.seroreconstruct_fit",
      "title": "Summary method for seroreconstruct_fit",
      "topics": [
        "summary.seroreconstruct_fit"
      ]
    },
    {
      "page": "summary.seroreconstruct_joint",
      "title": "Summary method for seroreconstruct_joint",
      "topics": [
        "summary.seroreconstruct_joint"
      ]
    },
    {
      "page": "summary.seroreconstruct_multi",
      "title": "Summary method for seroreconstruct_multi",
      "topics": [
        "summary.seroreconstruct_multi"
      ]
    },
    {
      "page": "table_infections",
      "title": "Per-individual infection estimates",
      "topics": [
        "table_infections"
      ]
    },
    {
      "page": "table_parameters",
      "title": "Summary table of model parameters with credible intervals",
      "topics": [
        "table_parameters"
      ]
    }
  ],
  "_readme": "https://github.com/timktsang/seroreconstruct/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Getting Started with seroreconstruct",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Input data",
        "Fitting the model",
        "Viewing results",
        "Visualization",
        "MCMC diagnostics",
        "Antibody trajectories",
        "Boosting and waning",
        "Infection probabilities",
        "Tables",
        "Subgroup analysis",
        "Joint model with shared parameters",
        "Simulation",
        "Citation"
      ],
      "created": "2026-03-23 08:05:26",
      "modified": "2026-03-30 14:22:23",
      "commits": 4
    },
    {
      "source": "methodology.Rmd",
      "filename": "methodology.html",
      "title": "Statistical Methodology",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model overview",
        "Notation",
        "Antibody dynamics model",
        "Measurement error model",
        "Infection risk model",
        "Prior distributions",
        "MCMC implementation",
        "Convergence diagnostics",
        "Recommendations for production analyses",
        "Parameter layout",
        "Shared parameter models",
        "References"
      ],
      "created": "2026-03-23 08:05:26",
      "modified": "2026-03-23 08:56:06",
      "commits": 2
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "seroreconstruct",
  "_universes": [
    "timktsang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.5",
      "date": "2026-06-03T09:52:38.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
      "fileid": "fa640873d58017b1086e0f4509ccc2dbdebf3bf3cc50f7fae4d26ebb30bcd95f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.5",
      "date": "2026-06-03T09:52:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
      "fileid": "d882c909bbd73d950127bcd4e465a53ff5fdd420e8b2023688b5e40f605257ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.5",
      "date": "2026-06-03T09:52:32.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
      "fileid": "c3b111f0e00c2a71a81679e7225ae357063eca6bbd2c74af189367538761e734",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.5",
      "date": "2026-06-03T09:52:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
      "fileid": "713c5652feeb8dca3ebf4bfff18f7b0cfef81c51add11f1a1a4b38838df05d74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.5",
      "date": "2026-06-03T09:52:15.000Z",
      "arch": "aarch64",
      "commit": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
      "fileid": "1a831fda609f79f7191151e857a1dd4018865715e6c116d69d42b64ee505d5b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.5",
      "date": "2026-06-03T09:54:53.000Z",
      "arch": "x86_64",
      "commit": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
      "fileid": "24c906d2f0ee9a1e7b62fb61aae50e18e7645fcc7a18718c548d9eac20d0ebb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.5",
      "date": "2026-06-03T09:52:19.000Z",
      "arch": "aarch64",
      "commit": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
      "fileid": "0d31863ce89e2f78a1679a1666059fbfd86a1a75b7b51e491b5631645510f027",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.5",
      "date": "2026-06-03T09:53:59.000Z",
      "arch": "x86_64",
      "commit": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
      "fileid": "48de841dadb772cbe5cbbd966cd2264642fe3bb75a2b4418ced69f8f15134f79",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.5",
      "date": "2026-06-03T09:52:17.000Z",
      "arch": "emscripten",
      "commit": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
      "fileid": "e94ea71cc972f4d0aaffc1aca6dc068b7d0862c4bf97cddcef4f1d88e5403b26",
      "status": "success",
      "buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.5",
      "date": "2026-06-03T09:51:36.000Z",
      "arch": "x86_64",
      "commit": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
      "fileid": "73d0e095bf3e9c8f089f3974144bc2a1673fd48af6f0e255b90289478a2f3056",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.5",
      "date": "2026-06-03T09:52:17.000Z",
      "arch": "x86_64",
      "commit": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
      "fileid": "169c98b40558ad89b353caff1be4aebd73dba35d1572a23ba80734637a943461",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.5",
      "date": "2026-06-03T09:51:22.000Z",
      "arch": "x86_64",
      "commit": "5bb6441eaa4450489fb61eb116899b5f455dd7b0",
      "fileid": "57be4746b0176069ce873d530b9c4d00560693d3be76f8f086f66da0658e1a7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timktsang/actions/runs/26876881847"
    }
  ]
}