{
  "_id": "6a154520acfb0bcc41d571a3",
  "Package": "simaerep",
  "Title": "Detect Clinical Trial Sites Over- or Under-Reporting Clinical\nEvents",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(given = \"Bjoern\",\nfamily = \"Koneswarakantha\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"bjoern.koneswarakantha@roche.com\",\ncomment = c(ORCID = \"0000-0003-4585-7799\")),\nperson(\"F. Hoffmann-La Roche Ltd\",\nrole = c(\"cph\"))\n)",
  "Description": "Monitoring reporting rates of subject-level clinical\nevents (e.g. adverse events, protocol deviations) reported by\nclinical trial sites is an important aspect of risk-based\nquality monitoring strategy. Sites that are under-reporting or\nover-reporting events can be detected using bootstrap\nsimulations during which patients are redistributed between\nsites. Site-specific distributions of event reporting rates are\ngenerated that are used to assign probabilities to the observed\nreporting rates. (Koneswarakantha 2024\n<doi:10.1007/s43441-024-00631-8>).",
  "URL": "https://openpharma.github.io/simaerep/,\nhttps://github.com/openpharma/simaerep/",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Language": "en-US",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://pharmaverse.r-universe.dev",
  "Date/Publication": "2025-10-28 11:20:32 UTC",
  "RemoteUrl": "https://github.com/openpharma/simaerep",
  "RemoteRef": "HEAD",
  "RemoteSha": "06b10e9388ef1185480be0a75783d79f1d9a1fac",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-26 06:54:40 UTC",
    "User": "root"
  },
  "Author": "Bjoern Koneswarakantha [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-4585-7799>),\nF. Hoffmann-La Roche Ltd [cph]",
  "Maintainer": "Bjoern Koneswarakantha <bjoern.koneswarakantha@roche.com>",
  "MD5sum": "81c4bb4b25cb174b27c111af90a61d6b",
  "_user": "pharmaverse",
  "_type": "src",
  "_file": "simaerep_1.0.0.tar.gz",
  "_fileid": "d65ef50ba3b280b7a03858dd51f9a99301285bc215fcbfa94d278fb3156f490a",
  "_filesize": 694890,
  "_sha256": "d65ef50ba3b280b7a03858dd51f9a99301285bc215fcbfa94d278fb3156f490a",
  "_created": "2026-05-26T06:54:40.000Z",
  "_published": "2026-05-26T07:00:48.931Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77822699629,
      "time": 266,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7210744216"
    },
    {
      "job": 77822699592,
      "time": 297,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210751773"
    },
    {
      "job": 77822699594,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7210710866"
    },
    {
      "job": 77822699611,
      "time": 193,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210724691"
    },
    {
      "job": 77822236049,
      "time": 216,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210675728"
    },
    {
      "job": 77822699588,
      "time": 160,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210716594"
    },
    {
      "job": 77822699608,
      "time": 216,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7210731067"
    },
    {
      "job": 77822699606,
      "time": 237,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7210736834"
    },
    {
      "job": 77822699596,
      "time": 239,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210737504"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26437060724",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/openpharma/simaerep",
  "_commit": {
    "id": "06b10e9388ef1185480be0a75783d79f1d9a1fac",
    "author": "Björn Oettinghaus <bjoern.koneswarakantha@roche.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #98 from openpharma/60_can_docs\n\ncran comments",
    "time": 1761650432
  },
  "_maintainer": {
    "name": "Bjoern Koneswarakantha",
    "email": "bjoern.koneswarakantha@roche.com",
    "login": "erblast",
    "orcid": "0000-0003-4585-7799",
    "description": "",
    "uuid": 14346503
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "cowplot",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "version": ">= 0.2.1",
      "role": "Imports"
    },
    {
      "package": "progressr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "dbplyr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "lintr",
      "role": "Suggests"
    },
    {
      "package": "DBI",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "ggExtra",
      "role": "Suggests"
    }
  ],
  "_owner": "openpharma",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 3
    }
  ],
  "_tags": [],
  "_topics": [
    "ae-reporting",
    "clinical-trials"
  ],
  "_stars": 27,
  "_contributors": [
    {
      "user": "erblast",
      "count": 119,
      "uuid": 14346503
    },
    {
      "user": "rolletta",
      "count": 37,
      "uuid": 195782149
    },
    {
      "user": "asher-torok",
      "count": 7,
      "uuid": 218302425
    },
    {
      "user": "fcollinbi",
      "count": 1,
      "uuid": 147627887
    }
  ],
  "_userbio": {
    "uuid": 84541169,
    "type": "organization",
    "name": "pharmaverse"
  },
  "_downloads": {
    "count": 209,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/simaerep"
  },
  "_devurl": "https://github.com/openpharma/simaerep",
  "_pkgdown": "https://openpharma.github.io/simaerep/",
  "_searchresults": 20,
  "_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/simaerep.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/openpharma/simaerep",
  "_realowner": "openpharma",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.2",
      "date": "2023-02-25"
    },
    {
      "version": "0.4.3",
      "date": "2023-03-03"
    },
    {
      "version": "0.5.0",
      "date": "2024-04-03"
    },
    {
      "version": "0.6.0",
      "date": "2024-09-30"
    },
    {
      "version": "0.7.0",
      "date": "2025-04-09"
    },
    {
      "version": "1.0.0",
      "date": "2025-10-28"
    }
  ],
  "_exports": [
    "%>%",
    "check_df_visit",
    "eval_sites",
    "get_cum_mean_event_dev",
    "get_portf_config",
    "get_portf_event_rates",
    "orivisit",
    "plot_dots",
    "plot_sim_example",
    "plot_sim_examples",
    "purrr_bar",
    "sim_inframe",
    "sim_out",
    "sim_sites",
    "sim_test_data_patient",
    "sim_test_data_portfolio",
    "sim_test_data_study",
    "simaerep",
    "simaerep_classic",
    "simaerep_inframe",
    "site_aggr",
    "with_progress_cnd"
  ],
  "_help": [
    {
      "page": "get_cum_mean_event_dev",
      "title": "Get cumulative mean event development",
      "topics": [
        "get_cum_mean_event_dev"
      ]
    },
    {
      "page": "get_portf_config",
      "title": "Get Portfolio Configuration",
      "topics": [
        "get_portf_config"
      ]
    },
    {
      "page": "get_portf_event_rates",
      "title": "Get Portfolio Event Rates Calculates mean event rates per study and visit in a df_visit simaerep input dataframe.",
      "topics": [
        "get_portf_event_rates"
      ]
    },
    {
      "page": "orivisit",
      "title": "create orivisit object",
      "topics": [
        "orivisit"
      ]
    },
    {
      "page": "plot_dots",
      "title": "Plots AE per site as dots.",
      "topics": [
        "plot_dots"
      ]
    },
    {
      "page": "plot_sim_example",
      "title": "Plot simulation example.",
      "topics": [
        "plot_sim_example"
      ]
    },
    {
      "page": "plot.simaerep",
      "title": "plot AE under-reporting simulation results",
      "topics": [
        "plot.simaerep"
      ]
    },
    {
      "page": "purrr_bar",
      "title": "Execute a purrr or furrr function with a progress bar.",
      "topics": [
        "purrr_bar"
      ]
    },
    {
      "page": "sim_inframe",
      "title": "Calculate prob for study sites using table operations",
      "topics": [
        "sim_inframe"
      ]
    },
    {
      "page": "sim_out",
      "title": "simulate under-reporting",
      "topics": [
        "sim_out"
      ]
    },
    {
      "page": "sim_sites",
      "title": "Calculate prob_lower and poisson.test pvalue for study sites.",
      "topics": [
        "sim_sites"
      ]
    },
    {
      "page": "sim_test_data_portfolio",
      "title": "Simulate Portfolio Test Data",
      "topics": [
        "sim_test_data_portfolio"
      ]
    },
    {
      "page": "sim_test_data_study",
      "title": "simulate study test data",
      "topics": [
        "sim_test_data_study"
      ]
    },
    {
      "page": "simaerep",
      "title": "Create simaerep object",
      "topics": [
        "simaerep",
        "simaerep_classic",
        "simaerep_inframe"
      ]
    },
    {
      "page": "site_aggr",
      "title": "Aggregate from visit to site level.",
      "topics": [
        "site_aggr"
      ]
    },
    {
      "page": "with_progress_cnd",
      "title": "Conditional 'with_progress'.",
      "topics": [
        "with_progress_cnd"
      ]
    }
  ],
  "_pkglogo": "https://github.com/openpharma/simaerep/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/openpharma/simaerep/raw/HEAD/README.md",
  "_rundeps": [
    "blob",
    "cli",
    "codetools",
    "cowplot",
    "cpp11",
    "DBI",
    "dbplyr",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "forcats",
    "furrr",
    "future",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "highr",
    "isoband",
    "knitr",
    "labeling",
    "lifecycle",
    "listenv",
    "magrittr",
    "parallelly",
    "pillar",
    "pkgconfig",
    "progressr",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 5.385606273598313,
  "_indexed": false,
  "_nocasepkg": "simaerep",
  "_universes": [
    "pharmaverse"
  ],
  "_indexurl": "https://openpharma.r-universe.dev/simaerep",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-26T06:57:31.000Z",
      "distro": "noble",
      "commit": "06b10e9388ef1185480be0a75783d79f1d9a1fac",
      "fileid": "0299b8e819dd1d2bd60928e8eabaacfc6ac67e36c04c97c20f641d64a80cdde5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26437060724"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-26T06:57:55.000Z",
      "distro": "noble",
      "commit": "06b10e9388ef1185480be0a75783d79f1d9a1fac",
      "fileid": "4f5aa06f097fc0f3413a5180c2d61e200a2cbe125a5a3e131e0b077c79d0f079",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26437060724"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-26T06:56:08.000Z",
      "commit": "06b10e9388ef1185480be0a75783d79f1d9a1fac",
      "fileid": "79ade5f566b48727d97501889d895d0715506efd5d81aa3dd48e56d32de010e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26437060724"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-26T06:56:40.000Z",
      "commit": "06b10e9388ef1185480be0a75783d79f1d9a1fac",
      "fileid": "6cb56e3860c03832706f096404d07c90b51b6a7f3a7fc1029d4937bef0cc7966",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26437060724"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-26T06:57:40.000Z",
      "commit": "06b10e9388ef1185480be0a75783d79f1d9a1fac",
      "fileid": "332195f5cf4752481cb91a4b27541ed48fe9d0132be68b1ff2ebea5f712d2956",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26437060724"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-26T06:56:07.000Z",
      "commit": "06b10e9388ef1185480be0a75783d79f1d9a1fac",
      "fileid": "749c5733e7e87218b9add74d6bc6bcbee226ec9fe27887b1cf21dd56eeac3072",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26437060724"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-26T06:56:39.000Z",
      "commit": "06b10e9388ef1185480be0a75783d79f1d9a1fac",
      "fileid": "d858a314e43559a47500079d8ed1a1c816dfd50629bbbe9aec597cf245e688db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26437060724"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-26T06:56:36.000Z",
      "commit": "06b10e9388ef1185480be0a75783d79f1d9a1fac",
      "fileid": "f1c4c268f7f54e9e32146357b60537afcd503e8e7bc2e10c101918e089bbc785",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26437060724"
    }
  ]
}