{
  "_id": "6a4fb3e8c30f0868bbf1e833",
  "Package": "WSPsignal",
  "Title": "Weibull Shape Parameter Tests for Signal Detection",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Julia\", \"Dyck\", , \"j.dyck@uni-bielefeld.de\", role = \"cre\"),\nperson(\"Julia\", \"Dyck\", role = \"aut\"),\nperson(\"Odile\", \"Sauzet\", role = \"aut\")\n)",
  "Description": "Implementation of Bayesian and frequentist Weibull Shape\nParameter (WSP) tests for signal detection in pharmacovigilance\nbased on right-censored time-to-event data to flag associations\nbetween drugs and adverse events. The WSP test is based on the\nassumption of constant hazard reflected by a Weibull type\ndistribution with shape parameters equal to one. Based on the\nshape parameter estimates (posterior distribution or point\nestimate), the WSP test method performs a hypothesis test on\neach shape parameter and combines them to a decision on the\npresence of a signal. Methods described in Sauzet and Cornelius\n(2022) <doi:10.3389/fphar.2022.889088>, Sauzet et al. (2024)\n<doi:10.1007/s40264-024-01460-2>, and Dyck and Sauzet (2025)\n<doi:10.48550/arXiv.2412.05463>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "RdMacros": "Rdpack",
  "LazyData": "true",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-09 14:30:05 UTC",
    "User": "root"
  },
  "Author": "Julia Dyck [cre], Julia Dyck [aut], Odile Sauzet [aut]",
  "Maintainer": "Julia Dyck <j.dyck@uni-bielefeld.de>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-09 08:54:33 UTC",
  "RemoteUrl": "https://github.com/cran/WSPsignal",
  "RemoteRef": "HEAD",
  "RemoteSha": "58165735aa7acf22e485b5b01996f410852c1720",
  "_user": "cran",
  "_type": "src",
  "_file": "WSPsignal_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/0a3b90e09964ef261c77550e9c9c28d2117c2b53f188b77d831fcf0eb308a9e6",
  "_filesize": 591093,
  "_sha256": "0a3b90e09964ef261c77550e9c9c28d2117c2b53f188b77d831fcf0eb308a9e6",
  "_expires": "2026-10-17T14:44:54.000Z",
  "_created": "2026-07-09T14:30:05.000Z",
  "_published": "2026-07-09T14:44:56.602Z",
  "_jobs": [
    {
      "job": 86145645015,
      "time": 536,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8201832560"
    },
    {
      "job": 86145645026,
      "time": 538,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8201831888"
    },
    {
      "job": 86145644895,
      "time": 514,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8201822152"
    },
    {
      "job": 86145644941,
      "time": 549,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8201838167"
    },
    {
      "job": 86142395368,
      "time": 793,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8201552750"
    },
    {
      "job": 86145644854,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29025047283",
  "_status": "success",
  "_upstream": "https://github.com/cran/WSPsignal",
  "_commit": {
    "id": "58165735aa7acf22e485b5b01996f410852c1720",
    "author": "Julia Dyck <j.dyck@uni-bielefeld.de>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0\n",
    "time": 1783587273
  },
  "_maintainer": {
    "name": "Julia Dyck",
    "email": "j.dyck@uni-bielefeld.de",
    "login": "julia-dyck",
    "description": "Research Associate and PhD Student in Statistics",
    "uuid": 104134759
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.18.0",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.4.0",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "HDInterval",
      "role": "Imports"
    },
    {
      "package": "ROCR",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2026-07-09"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "julia-dyck",
      "count": 1,
      "uuid": 104134759
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 617,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/WSPsignal"
  },
  "_searchresults": 1,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/WSPsignal.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-07-09"
    }
  ],
  "_exports": [
    "bwsp_model",
    "bwsp_test",
    "dpgw",
    "eval.calc_perf",
    "eval.eff_sample_sizes",
    "eval.execution_times",
    "eval.non_conv_cases",
    "eval.rank_auc",
    "eval.roc_curve",
    "fwsp_model",
    "fwsp_test",
    "hpgw",
    "plot_pgw",
    "ppgw",
    "qpgw",
    "rpgw",
    "sim.datagen_tte",
    "sim.merge_results",
    "sim.priors_template",
    "sim.run",
    "sim.run_parallel",
    "sim.setup_sim_pars",
    "spgw",
    "tte2priordat"
  ],
  "_datasets": [
    {
      "name": "muscu",
      "title": "Simulated musculoskeletal pain time-to-event dataset",
      "object": "muscu",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "status"
      ],
      "rows": 19777,
      "table": true,
      "tojson": true
    },
    {
      "name": "muscu2",
      "title": "Simulated musculoskeletal pain time-to-event dataset",
      "object": "muscu2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "status"
      ],
      "rows": 1208,
      "table": true,
      "tojson": true
    },
    {
      "name": "tte",
      "title": "test time-to-event dataset",
      "object": "tte",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "status"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "WSPsignal-package",
      "title": "The 'WSPsignal' package.",
      "topics": [
        "WSPsignal-package",
        "WSPsignal"
      ]
    },
    {
      "page": "bwsp_model",
      "title": "Fit Bayesian model to time-to-event data",
      "topics": [
        "bwsp_model"
      ]
    },
    {
      "page": "bwsp_test",
      "title": "Bayesian Weibull Shape Parameter Test",
      "topics": [
        "bwsp_test"
      ]
    },
    {
      "page": "eval.calc_perf",
      "title": "Compute performance metrics for WSP test configurations",
      "topics": [
        "eval.calc_perf"
      ]
    },
    {
      "page": "eval.eff_sample_sizes",
      "title": "Evaluate effective sample sizes",
      "topics": [
        "eval.eff_sample_sizes"
      ]
    },
    {
      "page": "eval.execution_times",
      "title": "Evaluate execution times",
      "topics": [
        "eval.execution_times"
      ]
    },
    {
      "page": "eval.non_conv_cases",
      "title": "Evaluate number of non-convergence cases",
      "topics": [
        "eval.non_conv_cases"
      ]
    },
    {
      "page": "eval.rank_auc",
      "title": "Ranking of WSP test configurations",
      "topics": [
        "eval.rank_auc"
      ]
    },
    {
      "page": "eval.roc_curve",
      "title": "Plot ROC curves for top WSP test specifications",
      "topics": [
        "eval.roc_curve"
      ]
    },
    {
      "page": "fwsp_model",
      "title": "Fit frequentist model to time-to-event data",
      "topics": [
        "fwsp_model"
      ]
    },
    {
      "page": "fwsp_test",
      "title": "Frequentist Weibull Shape Parameter Test",
      "topics": [
        "fwsp_test"
      ]
    },
    {
      "page": "muscu",
      "title": "Simulated musculoskeletal pain time-to-event dataset",
      "topics": [
        "muscu"
      ]
    },
    {
      "page": "muscu2",
      "title": "Simulated musculoskeletal pain time-to-event dataset",
      "topics": [
        "muscu2"
      ]
    },
    {
      "page": "pgw",
      "title": "The power generalized Weibull distribution",
      "topics": [
        "dpgw",
        "hpgw",
        "pgw",
        "ppgw",
        "qpgw",
        "rpgw",
        "spgw"
      ]
    },
    {
      "page": "plot_pgw",
      "title": "Plot functions of the power generalized Weibull distribution",
      "topics": [
        "plot_pgw"
      ]
    },
    {
      "page": "sim.datagen_tte",
      "title": "Generate simulated time-to-event data",
      "topics": [
        "sim.datagen_tte"
      ]
    },
    {
      "page": "sim.merge_results",
      "title": "Merge result table batches from simulation study",
      "topics": [
        "sim.merge_results"
      ]
    },
    {
      "page": "sim.priors_template",
      "title": "Template for prior specification in simulation study",
      "topics": [
        "sim.priors_template"
      ]
    },
    {
      "page": "sim.run",
      "title": "Run simulation",
      "topics": [
        "sim.run"
      ]
    },
    {
      "page": "sim.run_parallel",
      "title": "Run simulation (in parallel)",
      "topics": [
        "sim.run_parallel"
      ]
    },
    {
      "page": "sim.setup_sim_pars",
      "title": "Set up simulation parameters",
      "topics": [
        "sim.setup_sim_pars"
      ]
    },
    {
      "page": "tte",
      "title": "test time-to-event dataset",
      "topics": [
        "tte"
      ]
    },
    {
      "page": "tte2priordat",
      "title": "Prior and data setup for Bayesian survival model fitting",
      "topics": [
        "tte2priordat"
      ]
    }
  ],
  "_readme": "https://github.com/cran/WSPsignal/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "bitops",
    "callr",
    "caTools",
    "checkmate",
    "cli",
    "codetools",
    "cpp11",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "farver",
    "furrr",
    "future",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gplots",
    "gridExtra",
    "gtable",
    "gtools",
    "HDInterval",
    "inline",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "loo",
    "magrittr",
    "Matrix",
    "matrixStats",
    "numDeriv",
    "otel",
    "parallelly",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "rlang",
    "ROCR",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "survival",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "wspsignal",
  "_universes": [
    "cran",
    "julia-dyck"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-09T14:38:14.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "58165735aa7acf22e485b5b01996f410852c1720",
      "fileid": "https://r2.ropensci.org/47f1634def7b7b3e4454ad5737120cda41f4ae71d755f690b4928db09a62003b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29025047283"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-09T14:37:38.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "58165735aa7acf22e485b5b01996f410852c1720",
      "fileid": "https://r2.ropensci.org/3e28c10c665f2dba06cb13c2c658d0524361e896eac69e085f4eeab8e60d59ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29025047283"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-09T14:37:52.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "58165735aa7acf22e485b5b01996f410852c1720",
      "fileid": "https://r2.ropensci.org/d285e805a0e24e49c56dfa34af07eaff8dce4bd5bf197e6106b2eaae303aa7cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29025047283"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-09T14:37:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "58165735aa7acf22e485b5b01996f410852c1720",
      "fileid": "https://r2.ropensci.org/0f3215d194ca8a5756163b4f8b4dcdc963a7f8444ced1acdfc139fea3cc78654",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29025047283"
    }
  ]
}