{
  "_id": "6ae1f0bd8d250e7ad09ee5e5",
  "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://openpharma.r-universe.dev",
  "Date/Publication": "2026-09-28 15:35:50 UTC",
  "RemoteUrl": "https://github.com/openpharma/simaerep",
  "RemoteRef": "HEAD",
  "RemoteSha": "7956f45393ec0959241e1ee13fadaa64d62510f9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-28 12:19:03 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>",
  "_user": "openpharma",
  "_type": "src",
  "_file": "simaerep_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/933045ee22e8fa5674d7be7978b0f7cea33eb31dec1aac527960ce4200435b50",
  "_filesize": 694837,
  "_sha256": "933045ee22e8fa5674d7be7978b0f7cea33eb31dec1aac527960ce4200435b50",
  "_expires": "2027-02-05T12:54:17.000Z",
  "_created": "2026-10-28T12:19:03.000Z",
  "_published": "2026-10-28T12:55:25.462Z",
  "_upstream": "https://github.com/openpharma/simaerep",
  "_status": "success",
  "_maintainer": {
    "name": "Bjoern Koneswarakantha",
    "email": "bjoern.koneswarakantha@roche.com",
    "login": "erblast",
    "orcid": "0000-0003-4585-7799",
    "description": "",
    "uuid": 14346503
  },
  "_jobs": [
    {
      "job": 122811322473,
      "time": 252,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12816165365"
    },
    {
      "job": 122811322562,
      "time": 229,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12814853294"
    },
    {
      "job": 122811322474,
      "time": 2073,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12817132896"
    },
    {
      "job": 122811322507,
      "time": 188,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12815222637"
    },
    {
      "job": 122809548306,
      "time": 228,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12815276806"
    },
    {
      "job": 122811322727,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12814409778"
    },
    {
      "job": 122811322606,
      "time": 190,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12814843146"
    },
    {
      "job": 122811322842,
      "time": 197,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12814897882"
    },
    {
      "job": 122811322698,
      "time": 203,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12815252680"
    }
  ],
  "_buildurl": "https://github.com/r-universe/openpharma/actions/runs/40686297052",
  "_commit": {
    "id": "7956f45393ec0959241e1ee13fadaa64d62510f9",
    "author": "Björn Oettinghaus <bjoern.koneswarakantha@roche.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #101 from openpharma/erblast-patch-3\n\nUpdate validation.yml",
    "time": 1790609750
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-44",
      "n": 3
    },
    {
      "week": "2026-40",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-09-28"
    }
  ],
  "_topics": [
    "ae-reporting",
    "clinical-trials"
  ],
  "_stars": 28,
  "_contributors": [
    {
      "user": "erblast",
      "count": 126,
      "uuid": 14346503
    },
    {
      "user": "rolletta",
      "count": 37,
      "uuid": 195782149
    },
    {
      "user": "asher-torok",
      "count": 7,
      "uuid": 218302425
    },
    {
      "user": "fcollinbi",
      "count": 1,
      "uuid": 147627887
    }
  ],
  "_userbio": {
    "uuid": 8436743,
    "type": "organization",
    "name": "openpharma",
    "followers": 269,
    "description": "Further precompetitive collaboration in life sciences"
  },
  "_downloads": {
    "count": 314,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/simaerep"
  },
  "_devurl": "https://github.com/openpharma/simaerep",
  "_pkgdown": "https://openpharma.github.io/simaerep/",
  "_searchresults": 21,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/simaerep.html",
    "LICENSE"
  ],
  "_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.246498580795802,
  "_indexed": true,
  "_nocasepkg": "simaerep",
  "_universes": [
    "openpharma",
    "erblast"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-28T12:21:32.000Z",
      "distro": "resolute",
      "commit": "7956f45393ec0959241e1ee13fadaa64d62510f9",
      "fileid": "https://r2.ropensci.org/b20c49e05bf8fae786163d2386ada0194f676c3591a0a86b64504616ed086fe3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/40686297052"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-28T12:21:31.000Z",
      "distro": "resolute",
      "commit": "7956f45393ec0959241e1ee13fadaa64d62510f9",
      "fileid": "https://r2.ropensci.org/6740526af0f94715b1baf452cd8a2318e1c9dab9f3c2f224f7991e80751b9ff8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/40686297052"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-28T12:52:30.000Z",
      "commit": "7956f45393ec0959241e1ee13fadaa64d62510f9",
      "fileid": "https://r2.ropensci.org/002417085dec6e75fdd21933e617dd2983de7c613709864357524171d0809e10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/40686297052"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-28T12:20:56.000Z",
      "commit": "7956f45393ec0959241e1ee13fadaa64d62510f9",
      "fileid": "https://r2.ropensci.org/1bb9cb940b0c08f96ec76831fae543f7ca6ab67dc2b8482caa65b15e242bcbdf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/40686297052"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-28T12:21:31.000Z",
      "commit": "7956f45393ec0959241e1ee13fadaa64d62510f9",
      "fileid": "https://r2.ropensci.org/b84a6feaf3d44002f714a8b151d737e4896d6c00246cafa078b562a52e8b28b9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/40686297052"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-28T12:20:34.000Z",
      "commit": "7956f45393ec0959241e1ee13fadaa64d62510f9",
      "fileid": "https://r2.ropensci.org/d079e964a9a2989185a734effc7641347c7d2e3627702b204d4fac2f9221c78f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/40686297052"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-28T12:20:23.000Z",
      "commit": "7956f45393ec0959241e1ee13fadaa64d62510f9",
      "fileid": "https://r2.ropensci.org/d51558b3691d3a7e577427a792616a6fb73c38c241d534ff3a8420a3b620db33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/40686297052"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-28T12:20:25.000Z",
      "commit": "7956f45393ec0959241e1ee13fadaa64d62510f9",
      "fileid": "https://r2.ropensci.org/42d56ca5a97c12e94a03768a89064572ab7ab685b1c768b3b54fbd186501e4e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openpharma/actions/runs/40686297052"
    }
  ]
}