{
  "_id": "6ab2670a3d719c1f8408d250",
  "Package": "powergrid",
  "Title": "Power Analysis Across a Grid of Assumptions",
  "Version": "0.6.3",
  "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",
  "RoxygenNote": "7.3.3",
  "Repository": "https://swissclinicaltrialorganisation.r-universe.dev",
  "Date/Publication": "2026-08-13 14:56:19 UTC",
  "RemoteUrl": "https://github.com/swissclinicaltrialorganisation/powergrid",
  "RemoteRef": "HEAD",
  "RemoteSha": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-22 11:28:17 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>",
  "_user": "swissclinicaltrialorganisation",
  "_type": "src",
  "_file": "powergrid_0.6.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/aa3f06e35fcc58872d2c14a0c89d75bb7c6520020da0cb72047afe80105893ac",
  "_filesize": 971764,
  "_sha256": "aa3f06e35fcc58872d2c14a0c89d75bb7c6520020da0cb72047afe80105893ac",
  "_expires": "2026-12-31T11:31:20.000Z",
  "_created": "2026-09-22T11:28:17.000Z",
  "_published": "2026-09-22T11:31:22.323Z",
  "_jobs": [
    {
      "job": 106725694709,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10691477560"
    },
    {
      "job": 106725694806,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10692125804"
    },
    {
      "job": 106725694704,
      "time": 112,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10692380476"
    },
    {
      "job": 106725694831,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10691557386"
    },
    {
      "job": 106724857849,
      "time": 170,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10692005373"
    },
    {
      "job": 106725694661,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10692025706"
    },
    {
      "job": 106725694931,
      "time": 91,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10691507359"
    },
    {
      "job": 106725694880,
      "time": 95,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10692090621"
    },
    {
      "job": 106725694897,
      "time": 96,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10691382485"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/swissclinicaltrialorganisation/actions/runs/35721361502",
  "_status": "success",
  "_upstream": "https://github.com/swissclinicaltrialorganisation/powergrid",
  "_commit": {
    "id": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
    "author": "Richard Allen <richard.allen@usb.ch>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #78 from allenr-CH/main\n\nAdd news of progress bar to v0.6.0 news",
    "time": 1786632979
  },
  "_maintainer": {
    "name": "Gilles Dutilh",
    "email": "info@gillesdutilh.com",
    "orcid": "0000-0002-6719-2508"
  },
  "_distro": "resolute",
  "_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": true,
  "_usedby": 0,
  "_updates": [
    {
      "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
    },
    {
      "week": "2026-30",
      "n": 3
    },
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-33",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.5.1",
      "date": "2025-09-30"
    },
    {
      "name": "v0.6.1",
      "date": "2026-07-23"
    },
    {
      "name": "v0.6.3",
      "date": "2026-08-12"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "gillesdutilh",
      "count": 400,
      "uuid": 45421065
    },
    {
      "user": "allenr-ch",
      "count": 84,
      "uuid": 208921946
    },
    {
      "user": "aghaynes",
      "count": 10,
      "uuid": 6594028
    }
  ],
  "_userbio": {
    "uuid": 44496957,
    "type": "organization",
    "name": "Swiss Clinical Trial Organisation",
    "followers": 19,
    "description": "The Swiss Clinical Trial Organisation (SCTO) is the central cooperation platform for patient-oriented clinical research in Switzerland."
  },
  "_downloads": {
    "count": 212,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/powergrid"
  },
  "_devurl": "https://github.com/swissclinicaltrialorganisation/powergrid",
  "_searchresults": 10,
  "_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/powergrid.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/swissclinicaltrialorganisation/powergrid",
  "_realowner": "swissclinicaltrialorganisation",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.0",
      "date": "2025-10-03"
    },
    {
      "version": "0.6.2",
      "date": "2026-07-31"
    }
  ],
  "_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": "2026-08-04 14:51:55",
      "commits": 10
    }
  ],
  "_score": 5.342422680822207,
  "_indexed": true,
  "_nocasepkg": "powergrid",
  "_universes": [
    "swissclinicaltrialorganisation"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.3",
      "date": "2026-09-22T11:30:23.000Z",
      "distro": "resolute",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/a5365cfcca0361604399f84f643ee4379a09b66dd18b06c141192d72393b7800",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissclinicaltrialorganisation/actions/runs/35721361502"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.3",
      "date": "2026-09-22T11:30:32.000Z",
      "distro": "resolute",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/c64732e4ef01f9ef6933c0fdca08dc9bce8a75a76d667f7078d1d7da4c78259f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissclinicaltrialorganisation/actions/runs/35721361502"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.3",
      "date": "2026-09-22T11:30:05.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/3279d4091fd552038750361908d0960434afc72288368004103af85a2b11cc11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissclinicaltrialorganisation/actions/runs/35721361502"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.3",
      "date": "2026-09-22T11:29:54.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/d15f66e0ab469d94df29c1e8772e9415b5fc4c171fffb27a7163d385f71ebfb2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissclinicaltrialorganisation/actions/runs/35721361502"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.3",
      "date": "2026-09-22T11:30:22.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/d816d4ac8498449b3bb59c5b96668b12047af13c3859392407e27c0abf08074e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/swissclinicaltrialorganisation/actions/runs/35721361502"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.3",
      "date": "2026-09-22T11:29:21.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/55c55275ea9064e18ca291c72860244a71e478da4c374e04b13fe17a0ceb1143",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissclinicaltrialorganisation/actions/runs/35721361502"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.3",
      "date": "2026-09-22T11:29:25.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/69308e44e6c2c9e97badbb1862ae7626e3cc59bec39f8e48ce73e7b75f012073",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissclinicaltrialorganisation/actions/runs/35721361502"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.3",
      "date": "2026-09-22T11:29:26.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/058f28507e2217037c8e32ac7c400c84e778391e1832af0af1bfbc200ec3e736",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/swissclinicaltrialorganisation/actions/runs/35721361502"
    }
  ]
}