{
  "_id": "6a50d39c89c83ec243a31126",
  "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",
  "Roxygen": "list(markdown = TRUE)",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "RdMacros": "Rdpack",
  "LazyData": "true",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://julia-dyck.r-universe.dev",
  "Date/Publication": "2026-07-02 08:40:54 UTC",
  "RemoteUrl": "https://github.com/julia-dyck/wspsignal",
  "RemoteRef": "HEAD",
  "RemoteSha": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-10 10:42:58 UTC",
    "User": "root"
  },
  "Author": "Julia Dyck [cre],\nJulia Dyck [aut],\nOdile Sauzet [aut]",
  "Maintainer": "Julia Dyck <j.dyck@uni-bielefeld.de>",
  "_user": "julia-dyck",
  "_type": "src",
  "_file": "WSPsignal_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c8f96e5ffebb21488ef7faea73d8dee947079fc823193bc21889a7b7a4255692",
  "_filesize": 590364,
  "_sha256": "c8f96e5ffebb21488ef7faea73d8dee947079fc823193bc21889a7b7a4255692",
  "_expires": "2026-10-18T11:12:26.000Z",
  "_created": "2026-07-10T10:42:58.000Z",
  "_published": "2026-07-10T11:12:28.500Z",
  "_jobs": [
    {
      "job": 86344446005,
      "time": 490,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8225489343"
    },
    {
      "job": 86344446016,
      "time": 541,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8225504303"
    },
    {
      "job": 86344446011,
      "time": 502,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8225493396"
    },
    {
      "job": 86344446043,
      "time": 583,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8225517833"
    },
    {
      "job": 86344446031,
      "time": 374,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8225442657"
    },
    {
      "job": 86344446018,
      "time": 673,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8225544693"
    },
    {
      "job": 86344446023,
      "time": 492,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8225484299"
    },
    {
      "job": 86344446020,
      "time": 1417,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8225807452"
    },
    {
      "job": 86342219333,
      "time": 798,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8225325264"
    },
    {
      "job": 86344445980,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 86344446030,
      "time": 795,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8225589914"
    },
    {
      "job": 86344446047,
      "time": 803,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8225592880"
    },
    {
      "job": 86344446064,
      "time": 835,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8225603689"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/julia-dyck/actions/runs/29086750013",
  "_status": "success",
  "_upstream": "https://github.com/julia-dyck/wspsignal",
  "_commit": {
    "id": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
    "author": "jdyck <j.dyck@uni-bielefeld.de>",
    "committer": "jdyck <j.dyck@uni-bielefeld.de>",
    "message": "reroxygenized sim.run.R\n",
    "time": 1782981654
  },
  "_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": "julia-dyck",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-29",
      "n": 8
    },
    {
      "week": "2025-30",
      "n": 9
    },
    {
      "week": "2025-31",
      "n": 10
    },
    {
      "week": "2025-41",
      "n": 4
    },
    {
      "week": "2025-42",
      "n": 18
    },
    {
      "week": "2025-43",
      "n": 10
    },
    {
      "week": "2025-44",
      "n": 3
    },
    {
      "week": "2025-47",
      "n": 11
    },
    {
      "week": "2025-48",
      "n": 6
    },
    {
      "week": "2025-49",
      "n": 4
    },
    {
      "week": "2025-50",
      "n": 13
    },
    {
      "week": "2025-51",
      "n": 10
    },
    {
      "week": "2026-02",
      "n": 15
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 4
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 5
    },
    {
      "week": "2026-08",
      "n": 7
    },
    {
      "week": "2026-10",
      "n": 3
    },
    {
      "week": "2026-11",
      "n": 4
    },
    {
      "week": "2026-12",
      "n": 9
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 8
    },
    {
      "week": "2026-17",
      "n": 8
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 7
    },
    {
      "week": "2026-20",
      "n": 13
    },
    {
      "week": "2026-22",
      "n": 14
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "corresponding_to_BPgWSP_preprint",
      "date": "2025-10-10"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "julia-dyck",
      "count": 578,
      "uuid": 104134759
    }
  ],
  "_userbio": {
    "uuid": 104134759,
    "type": "user",
    "name": "Julia Dyck",
    "followers": 7,
    "description": "Research Associate and PhD Student in Statistics"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/WSPsignal"
  },
  "_devurl": "https://github.com/julia-dyck/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"
  ],
  "_homeurl": "https://github.com/julia-dyck/wspsignal",
  "_realowner": "julia-dyck",
  "_cranurl": true,
  "_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/julia-dyck/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": 4.204119982655925,
  "_indexed": true,
  "_nocasepkg": "wspsignal",
  "_universes": [
    "julia-dyck"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-10T10:50:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
      "fileid": "https://r2.ropensci.org/486b894958ed083fc3a771fee6dab6f7424ecad4be7846051529dc9dbd0f6c8e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/julia-dyck/actions/runs/29086750013"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-10T10:50:30.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
      "fileid": "https://r2.ropensci.org/b954337bedb642dd023fbab7eb43ad50fe58fa3c52dbc181c857e978b6211634",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/julia-dyck/actions/runs/29086750013"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-10T10:50:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
      "fileid": "https://r2.ropensci.org/201d21a38359cf2cfc44e5673790a0f36dc0ca408c322484462ce5c52d0f1bc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/julia-dyck/actions/runs/29086750013"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-10T10:51:01.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
      "fileid": "https://r2.ropensci.org/1abfe90eb1eceffdfc14f2a83ab8d7f88e716e989bc9a46dc3f2e74019787c4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/julia-dyck/actions/runs/29086750013"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-10T10:50:06.000Z",
      "arch": "aarch64",
      "commit": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
      "fileid": "https://r2.ropensci.org/4da0fe879035baf2415b72392d9e6838ae6a4c5bc94cd6301bb2365e294077fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/julia-dyck/actions/runs/29086750013"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-10T10:51:10.000Z",
      "arch": "x86_64",
      "commit": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
      "fileid": "https://r2.ropensci.org/c6d21c9b60af9ef1aaca907d3c829fc4d0fb404534d32ea4de7cb68500e6b677",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/julia-dyck/actions/runs/29086750013"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-10T10:50:52.000Z",
      "arch": "aarch64",
      "commit": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
      "fileid": "https://r2.ropensci.org/9edb4bf77c3148f486220a75c83d53a37c14aeb0cb2978fdf28ca953f155bdbb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/julia-dyck/actions/runs/29086750013"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-10T10:54:04.000Z",
      "arch": "x86_64",
      "commit": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
      "fileid": "https://r2.ropensci.org/e74a3477e42223888942d1ebce71fd0a2c8a295b8dade7ebdfa64abfe0fdd441",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/julia-dyck/actions/runs/29086750013"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-10T10:50:42.000Z",
      "arch": "x86_64",
      "commit": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
      "fileid": "https://r2.ropensci.org/ccf70494bdb3c028c2d33d76cf0297a461ca6d088f1e431368709326d039cda2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/julia-dyck/actions/runs/29086750013"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-10T10:50:22.000Z",
      "arch": "x86_64",
      "commit": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
      "fileid": "https://r2.ropensci.org/7f2bef111404fdde475d992572f37eee2296a8a951590dafed50598fbeec8035",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/julia-dyck/actions/runs/29086750013"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-10T10:50:26.000Z",
      "arch": "x86_64",
      "commit": "4ca15907854b119b089cf581dd4bf11da43a9a7e",
      "fileid": "https://r2.ropensci.org/eeeebe2c7f45b9e65bf1dc34d86c5620868001c29a6c07469110582a66592b3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/julia-dyck/actions/runs/29086750013"
    }
  ]
}