{
  "_id": "6ad1e452a6a61792ed76bdd4",
  "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-10-16 08:42:39 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",
  "_user": "cran",
  "_type": "src",
  "_file": "NAPrior_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/2d3ca33a8830ac3b53654a3dcd5d7c07076a53d698058838e4283fb2db6e133c",
  "_filesize": 443764,
  "_sha256": "2d3ca33a8830ac3b53654a3dcd5d7c07076a53d698058838e4283fb2db6e133c",
  "_expires": "2027-01-24T08:46:04.000Z",
  "_created": "2026-10-16T08:42:39.000Z",
  "_published": "2026-10-16T08:46:10.593Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38875027827",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116889594385,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12035206943"
    },
    {
      "job": 116889594503,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12034664308"
    },
    {
      "job": 116888037218,
      "time": 249,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12035505458"
    },
    {
      "job": 116889594281,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12035645414"
    },
    {
      "job": 116889594368,
      "time": 96,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12034758980"
    },
    {
      "job": 116889594261,
      "time": 97,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12035660413"
    }
  ],
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 631,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 223,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NAPrior"
  },
  "_searchresults": 0,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NAPrior.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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.2604.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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-10-16T08:44:45.000Z",
      "distro": "resolute",
      "commit": "805745c80795ab09a78f2bc7138fdfe4757833a4",
      "fileid": "https://r2.ropensci.org/480078a05dac671bffbeeeaf9e7b151714810e6bc8ec35f6ec102ae55307aa81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38875027827"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-16T08:45:04.000Z",
      "distro": "resolute",
      "commit": "805745c80795ab09a78f2bc7138fdfe4757833a4",
      "fileid": "https://r2.ropensci.org/902d7106dfd343ae8b1ec1b8e10a47b6669c7b21c03ace078f7a01819ef84ddd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38875027827"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-16T08:44:38.000Z",
      "commit": "805745c80795ab09a78f2bc7138fdfe4757833a4",
      "fileid": "https://r2.ropensci.org/081d91e735da758e7bb4bfee07fb11338a5199c55bf461a2198d9661bd5e2950",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38875027827"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-16T08:43:53.000Z",
      "commit": "805745c80795ab09a78f2bc7138fdfe4757833a4",
      "fileid": "https://r2.ropensci.org/253731729c73a87db64b15b6e6420767b8ea81bdbcc36852be650c1164df667b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38875027827"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-16T08:43:55.000Z",
      "commit": "805745c80795ab09a78f2bc7138fdfe4757833a4",
      "fileid": "https://r2.ropensci.org/72693df6f8095234bbcff361d36985eb50cbe6260dab274f1c3be06a073905fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38875027827"
    }
  ]
}