{
  "_id": "6a33fd743efcd9bda43b90a0",
  "Package": "powergrid",
  "Title": "Power Analysis Across a Grid of Assumptions",
  "Version": "0.6.0",
  "Authors@R": "c(\nperson(given = \"Gilles\",\nfamily = \"Dutilh\", email = \"info@gillesdutilh.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-6719-2508\")),\nperson(given = \"Richard Charles\",\nfamily = \"Allen\", email = \"richardcharles.allen@usb.ch\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0001-6012-7888\"))\n)",
  "Description": "Evaluate a function across a grid of parameters. The\nfunction may be evaluated once, or many times for simulation.\nParallel computing is facilitated. Utilities aim at performing\nanalyses of power and sample size, allowing for easy search of\nminimum n (or min/max of any other parameter) to achieve a\ndesired minimal level of power (or maximum of any other\nobjective). Plotting functions are included that present the\ndependency of n and power in relation to further assumptions.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/SwissClinicalTrialOrganisation/powergrid",
  "BugReports": "https://github.com/SwissClinicalTrialOrganisation/powergrid/issues",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://ctu-bern.r-universe.dev",
  "Date/Publication": "2026-06-18 13:37:36 UTC",
  "RemoteUrl": "https://github.com/SwissClinicalTrialOrganisation/powergrid",
  "RemoteRef": "HEAD",
  "RemoteSha": "261aafca60643fcb9d9bd21ddf0631c339a463bd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-18 14:09:47 UTC",
    "User": "root"
  },
  "Author": "Gilles Dutilh [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6719-2508>),\nRichard Charles Allen [aut] (ORCID:\n<https://orcid.org/0000-0001-6012-7888>)",
  "Maintainer": "Gilles Dutilh <info@gillesdutilh.com>",
  "MD5sum": "550e3588121cf5c772b20f0479aeaf15",
  "_user": "ctu-bern",
  "_type": "src",
  "_file": "powergrid_0.6.0.tar.gz",
  "_fileid": "c9f806a20a9a608d72e2edfa16d200c1d96f816b3aa424d2b10eb0a586e843ca",
  "_filesize": 977871,
  "_sha256": "c9f806a20a9a608d72e2edfa16d200c1d96f816b3aa424d2b10eb0a586e843ca",
  "_created": "2026-06-18T14:09:47.000Z",
  "_published": "2026-06-18T14:15:16.338Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82150795500,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7725921508"
    },
    {
      "job": 82150795495,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7725921985"
    },
    {
      "job": 82150795559,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7725984687"
    },
    {
      "job": 82150795609,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7725935643"
    },
    {
      "job": 82150213039,
      "time": 153,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7725848931"
    },
    {
      "job": 82150795521,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7725901606"
    },
    {
      "job": 82150795667,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7725896919"
    },
    {
      "job": 82150795597,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7725902840"
    },
    {
      "job": 82150795562,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7725904997"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27765269598",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/SwissClinicalTrialOrganisation/powergrid",
  "_commit": {
    "id": "261aafca60643fcb9d9bd21ddf0631c339a463bd",
    "author": "Gilles Dutilh <45421065+gillesdutilh@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #72 from gillesdutilh/main\n\nFixed passing on of summary_function argument",
    "time": 1781789856
  },
  "_maintainer": {
    "name": "Gilles Dutilh",
    "email": "info@gillesdutilh.com",
    "orcid": "0000-0002-6719-2508"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "version": ">= 1.11.2",
      "role": "Suggests"
    },
    {
      "package": "future",
      "version": ">= 1.33.2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "progressr",
      "role": "Suggests"
    }
  ],
  "_owner": "swissclinicaltrialorganisation",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-25",
      "n": 1
    },
    {
      "week": "2025-26",
      "n": 2
    },
    {
      "week": "2025-28",
      "n": 12
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2025-35",
      "n": 5
    },
    {
      "week": "2025-36",
      "n": 50
    },
    {
      "week": "2025-37",
      "n": 33
    },
    {
      "week": "2025-38",
      "n": 5
    },
    {
      "week": "2025-39",
      "n": 5
    },
    {
      "week": "2025-40",
      "n": 9
    },
    {
      "week": "2025-41",
      "n": 2
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-24",
      "n": 2
    },
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2025-09-10"
    },
    {
      "name": "v0.3.0",
      "date": "2025-09-11"
    },
    {
      "name": "v0.4.0",
      "date": "2025-09-16"
    },
    {
      "name": "v0.5.1",
      "date": "2025-09-30"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "gillesdutilh",
      "count": 377,
      "uuid": 45421065
    },
    {
      "user": "allenr-ch",
      "count": 71,
      "uuid": 208921946
    },
    {
      "user": "aghaynes",
      "count": 10,
      "uuid": 6594028
    }
  ],
  "_userbio": {
    "uuid": 45794307,
    "type": "organization",
    "name": "CTU Bern",
    "followers": 14,
    "description": "CTU Bern is the Clinical Trials Unit of the Faculty of Medicine and the Department of Clinical Research of the University of Bern"
  },
  "_downloads": {
    "count": 161,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/powergrid"
  },
  "_devurl": "https://github.com/swissclinicaltrialorganisation/powergrid",
  "_searchresults": 10,
  "_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/powergrid.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/swissclinicaltrialorganisation/powergrid",
  "_realowner": "swissclinicaltrialorganisation",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.0",
      "date": "2025-10-03"
    }
  ],
  "_exports": [
    "AddExample",
    "ArraySlicer",
    "Example",
    "FindTarget",
    "GridPlot",
    "PowerDF",
    "PowerGrid",
    "PowerPlot",
    "Refine",
    "SummarizeIterations"
  ],
  "_help": [
    {
      "page": "sub-.power_array",
      "title": "indexing with [ ] for class 'power_array' [ ]: R:%20",
      "topics": [
        "[.power_array"
      ]
    },
    {
      "page": "AddExample",
      "title": "Add an example to an existing PowerPlot or GridPlot",
      "topics": [
        "AddExample"
      ]
    },
    {
      "page": "ArraySlicer",
      "title": "Cut slice from array (typically of class 'power_array')",
      "topics": [
        "ArraySlicer"
      ]
    },
    {
      "page": "CheckArrayDim",
      "title": "Check the dimensions of a power array",
      "topics": [
        "CheckArrayDim"
      ]
    },
    {
      "page": "EnsureSingleFunOut",
      "title": "Ensure a power_array has only a single fun_out value",
      "topics": [
        "EnsureSingleFunOut"
      ]
    },
    {
      "page": "EnsureSummarized",
      "title": "Ensure a power_array is summarized",
      "topics": [
        "EnsureSummarized"
      ]
    },
    {
      "page": "Example",
      "title": "Find combination of parameters required for achieving a desired power (or other objective).",
      "topics": [
        "Example"
      ]
    },
    {
      "page": "FindTarget",
      "title": "Find requirements for target power (or other objective)",
      "topics": [
        "FindTarget"
      ]
    },
    {
      "page": "GridPlot",
      "title": "Plot requirements for achieving a target power as a function of assumptions about two parameters",
      "topics": [
        "GridPlot"
      ]
    },
    {
      "page": "PowerDF",
      "title": "Transform power_array into power_df",
      "topics": [
        "PowerDF"
      ]
    },
    {
      "page": "PowerGrid",
      "title": "Evaluate function (iteratively) at a grid of input arguments",
      "topics": [
        "PowerGrid"
      ]
    },
    {
      "page": "PowerPlot",
      "title": "Plot the relation between assumed parameters and requirements for achieving a target power (or other objective)",
      "topics": [
        "PowerPlot"
      ]
    },
    {
      "page": "print.power_array",
      "title": "print",
      "topics": [
        "print.power_array"
      ]
    },
    {
      "page": "print.power_example",
      "title": "Print example",
      "topics": [
        "print.power_example"
      ]
    },
    {
      "page": "Refine",
      "title": "Refine or extend the result of PowerGrid",
      "topics": [
        "Refine"
      ]
    },
    {
      "page": "SummarizeIterations",
      "title": "Summary of object that has individual iterations saved.",
      "topics": [
        "SummarizeIterations"
      ]
    },
    {
      "page": "summary.power_array",
      "title": "Summary of power_grid object.",
      "topics": [
        "summary.power_array"
      ]
    },
    {
      "page": "summary.power_example",
      "title": "Print contents of an example",
      "topics": [
        "summary.power_example"
      ]
    }
  ],
  "_readme": "https://github.com/SwissClinicalTrialOrganisation/powergrid/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "powergrid.Rmd",
      "filename": "powergrid.html",
      "title": "powergrid",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Functions covered",
        "Outline",
        "Technical example",
        "Now, forget about FindTarget!",
        "Four use cases",
        "Power and sample size for a t-test",
        "Calculate and inspect",
        "Focus on an example situation",
        "Draw a figure with example",
        "Why target, not power?",
        "More elaborate exploration of power",
        "GridPlot",
        "Power evaluation using simulation and resampling",
        "Target a maximum CI95-width",
        "Find the upper bound"
      ],
      "created": "2025-03-27 18:31:56",
      "modified": "2025-10-01 10:24:58",
      "commits": 9
    }
  ],
  "_score": 5.230448921378274,
  "_indexed": false,
  "_nocasepkg": "powergrid",
  "_universes": [
    "ctu-bern"
  ],
  "_indexurl": "https://swissclinicaltrialorganisation.r-universe.dev/powergrid",
  "_previous": "0.5.2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-06-18T14:12:04.000Z",
      "distro": "noble",
      "commit": "261aafca60643fcb9d9bd21ddf0631c339a463bd",
      "fileid": "393ee48a2ec59c4cc4ba823752ece1a500a9fcadb8a3ded492c02a4924d0f118",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27765269598"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-06-18T14:12:04.000Z",
      "distro": "noble",
      "commit": "261aafca60643fcb9d9bd21ddf0631c339a463bd",
      "fileid": "47b5b3e2080a836ed54697e1f1b866b0c7d546adcc6f23c51bbc6ceb867bad43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27765269598"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-06-18T14:14:33.000Z",
      "commit": "261aafca60643fcb9d9bd21ddf0631c339a463bd",
      "fileid": "cefa684ae0c29b0f0de0a9e3322576272b845357b37113048d1eb0ff42601ca5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27765269598"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-06-18T14:12:43.000Z",
      "commit": "261aafca60643fcb9d9bd21ddf0631c339a463bd",
      "fileid": "42a8b74e08a8a5373482afeddf65fc4f560f6a71972df1d99a629b7e46ed38f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27765269598"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.0",
      "date": "2026-06-18T14:11:51.000Z",
      "commit": "261aafca60643fcb9d9bd21ddf0631c339a463bd",
      "fileid": "1601398710388632f9bbedd0181a075cc669e79fc4791aa2bec0ff70a5bc24fb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27765269598"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-06-18T14:11:03.000Z",
      "commit": "261aafca60643fcb9d9bd21ddf0631c339a463bd",
      "fileid": "2776f87088ec422f570a2438fdf8530e4538fc32e0e5c0d1c5878ac87b0a7142",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27765269598"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-06-18T14:11:16.000Z",
      "commit": "261aafca60643fcb9d9bd21ddf0631c339a463bd",
      "fileid": "b10a70005fc186fe2ce87830bd3f9e5189d6ee76425ccfc60a05b552d1e570c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27765269598"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-06-18T14:11:09.000Z",
      "commit": "261aafca60643fcb9d9bd21ddf0631c339a463bd",
      "fileid": "b06dd1a031d951279d38319c93dee911e874db560382eceeb8a5f3d5edaccb68",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27765269598"
    }
  ]
}