{
  "_id": "6a1f3170b401979e73427b5f",
  "Package": "NAPrior",
  "Title": "Network Meta-Analytic Predictive Prior for Mid-Trial SoC Changes",
  "Version": "0.2.0",
  "Authors@R": "person(\"Chunyi\", \"Zhang\", , \"czhang12@mdanderson.org\", role = c(\"aut\", \"cre\"))",
  "Description": "Implements the Network meta-Analytic Predictive (NAP)\nprior framework to accommodate changes in the standard of care\n(SoC) during ongoing randomized controlled trials (RCTs). The\nmethod synthesizes pre- and post-change in-trial data by\nleveraging external evidence, particularly head-to-head trials\ncomparing the original and new standards of care, to bridge the\ntwo evidence periods and enable principled borrowing. The\npackage provides utilities to construct NAP-based priors and\nperform Bayesian inference for time-to-event endpoints using\nsummarized trial evidence.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 08:20:48 UTC",
    "User": "root"
  },
  "Author": "Chunyi Zhang [aut, cre]",
  "Maintainer": "Chunyi Zhang <czhang12@mdanderson.org>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-02-14 19:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/NAPrior",
  "RemoteRef": "HEAD",
  "RemoteSha": "805745c80795ab09a78f2bc7138fdfe4757833a4",
  "MD5sum": "5a19db04430df16e874d9e19abee4c52",
  "_user": "cran",
  "_type": "src",
  "_file": "NAPrior_0.2.0.tar.gz",
  "_fileid": "720c2e290725233e0724af5c192c6400bf8772e2c9fd59471346796e766b0330",
  "_filesize": 442810,
  "_sha256": "720c2e290725233e0724af5c192c6400bf8772e2c9fd59471346796e766b0330",
  "_created": "2026-05-15T08:20:48.000Z",
  "_published": "2026-06-02T19:39:28.743Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79156588726,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7012995738"
    },
    {
      "job": 79156589146,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012996756"
    },
    {
      "job": 79156588490,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012962274"
    },
    {
      "job": 79156588402,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367990875"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25907734639",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/NAPrior",
  "_commit": {
    "id": "805745c80795ab09a78f2bc7138fdfe4757833a4",
    "author": "Chunyi Zhang <czhang12@mdanderson.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1771097402
  },
  "_maintainer": {
    "name": "Chunyi Zhang",
    "email": "czhang12@mdanderson.org"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "R2jags",
      "role": "Imports"
    },
    {
      "package": "metafor",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "rjags",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.1",
      "date": "2026-01-20"
    },
    {
      "name": "0.2.0",
      "date": "2026-02-14"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 146,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NAPrior"
  },
  "_searchresults": 0,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NAPrior.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-01-20"
    },
    {
      "version": "0.2.0",
      "date": "2026-02-16"
    }
  ],
  "_exports": [
    "NAP_oc",
    "NAP_posterior",
    "NAP_prior",
    "post_w",
    "tune_param_eNAP"
  ],
  "_help": [
    {
      "page": "NAP_oc",
      "title": "Simulation for operating-characteristics applying NAP-based priors",
      "topics": [
        "NAP_oc"
      ]
    },
    {
      "page": "NAP_posterior",
      "title": "Conduct posterior inference with NAP-based priors",
      "topics": [
        "NAP_posterior"
      ]
    },
    {
      "page": "NAP_prior",
      "title": "NAP_prior: Derive NAP/mNAP/eNAP priors",
      "topics": [
        "NAP_prior"
      ]
    },
    {
      "page": "post_w",
      "title": "Posterior mixture weight calculation",
      "topics": [
        "post_w"
      ]
    },
    {
      "page": "tune_param_eNAP",
      "title": "Calibrate (a, b) for eNAP prior",
      "topics": [
        "tune_param_eNAP"
      ]
    }
  ],
  "_readme": "https://github.com/cran/NAPrior/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "boot",
    "cli",
    "coda",
    "digest",
    "dplyr",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "mathjaxr",
    "Matrix",
    "metadat",
    "metafor",
    "nlme",
    "numDeriv",
    "pbapply",
    "pillar",
    "pkgconfig",
    "purrr",
    "R2jags",
    "R2WinBUGS",
    "R6",
    "rjags",
    "rlang",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary\nJAGS is Just Another Gibbs Sampler.  It is a program for analysis of\nBayesian hierarchical models using Markov Chain Monte Carlo (MCMC)\nsimulation not wholly unlike BUGS.\n\nJAGS was written with three aims in mind:\n* To have an engine for the BUGS language that runs on Unix\n* To be extensible, allowing users to write their own functions,\ndistributions and samplers.\n* To be a plaftorm for experimentation with ideas in Bayesian modelling\n\nThis package contains the 'jags' binary as well as the associated\nshared library modules loaded by the binary."
    },
    {
      "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": "README.Rmd",
      "filename": "README.html",
      "title": "README",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Description",
        "Installation",
        "System requirements",
        "Install and load",
        "Quick start",
        "1) Calibrate the tuning parameters for eNAP prior",
        "2) Construct NAP priors",
        "NAP",
        "mNAP with a fixed weight of 0.5",
        "eNAP without direct data $D_{E,C_2}$ provided",
        "eNAP with direct data $D_{E,C_2}$ provided",
        "3) Simulate operating characteristics",
        "4) Calculate posterior",
        "Core functions",
        "JAGS model specification",
        "Tips & diagnostics",
        "Citing",
        "Maintainer"
      ],
      "created": "2026-01-20 10:40:09",
      "modified": "2026-01-20 10:40:09",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "naprior",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-15T08:22:56.000Z",
      "distro": "noble",
      "commit": "805745c80795ab09a78f2bc7138fdfe4757833a4",
      "fileid": "29b02b77dabacaef176e10a6bbb27862d2362265aaae45b882056baab5e91f82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25907734639"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-15T08:22:58.000Z",
      "distro": "noble",
      "commit": "805745c80795ab09a78f2bc7138fdfe4757833a4",
      "fileid": "7048d6e1110686397c869b6704010e2cd04fa2933605600a3f9cb5c94a901396",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25907734639"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-02T19:39:08.000Z",
      "commit": "805745c80795ab09a78f2bc7138fdfe4757833a4",
      "fileid": "8f3c2e7ec015f42b4dc7d3813d69dfc46733a9b146a6f74fa2cef43ca9b097c2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25907734639"
    }
  ]
}