{
  "_id": "6a621a3c35834fefe99ec841",
  "Package": "powergrid",
  "Title": "Power Analysis Across a Grid of Assumptions",
  "Version": "0.6.1",
  "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://dcr-unibe-ch.r-universe.dev",
  "Date/Publication": "2026-07-23 12:37:36 UTC",
  "RemoteUrl": "https://github.com/SwissClinicalTrialOrganisation/powergrid",
  "RemoteRef": "HEAD",
  "RemoteSha": "c8317c9f3a477d1b4d9b4fa456f22efcdd981fea",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-23 13:39:08 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": "dcr-unibe-ch",
  "_type": "src",
  "_file": "powergrid_0.6.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/4f7b65a727834f2cca82efd5669be039215f7f3542d02be5ab2963652b7a028b",
  "_filesize": 969454,
  "_sha256": "4f7b65a727834f2cca82efd5669be039215f7f3542d02be5ab2963652b7a028b",
  "_expires": "2026-10-31T13:42:19.000Z",
  "_created": "2026-07-23T13:39:08.000Z",
  "_published": "2026-07-23T13:42:20.793Z",
  "_jobs": [
    {
      "job": 89222802600,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8565593739"
    },
    {
      "job": 89222802460,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8565592925"
    },
    {
      "job": 89222802411,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8565571224"
    },
    {
      "job": 89222802439,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8565573040"
    },
    {
      "job": 89221775443,
      "time": 234,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8565512782"
    },
    {
      "job": 89222802433,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8565569197"
    },
    {
      "job": 89222802520,
      "time": 108,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8565573100"
    },
    {
      "job": 89222802483,
      "time": 92,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8565562919"
    },
    {
      "job": 89222802490,
      "time": 97,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8565566717"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/30011849942",
  "_status": "success",
  "_upstream": "https://github.com/SwissClinicalTrialOrganisation/powergrid",
  "_commit": {
    "id": "c8317c9f3a477d1b4d9b4fa456f22efcdd981fea",
    "author": "Richard Allen <richard.allen@usb.ch>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #74 from allenr-CH/main\n\nUpdate news file with changes in for version 0.6.0 and 0.6.1",
    "time": 1784810256
  },
  "_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": false,
  "_usedby": 0,
  "_updates": [
    {
      "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
    },
    {
      "week": "2026-30",
      "n": 3
    }
  ],
  "_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"
    },
    {
      "name": "v0.6.1",
      "date": "2026-07-23"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "gillesdutilh",
      "count": 377,
      "uuid": 45421065
    },
    {
      "user": "allenr-ch",
      "count": 81,
      "uuid": 208921946
    },
    {
      "user": "aghaynes",
      "count": 10,
      "uuid": 6594028
    }
  ],
  "_userbio": {
    "uuid": 264417472,
    "type": "organization",
    "name": "Department of Clinical Research (DCR)",
    "followers": 2,
    "description": "As the University of Bern's Department of Clinical Research, we offer clinical researchers full support from study design to study conduct."
  },
  "_downloads": {
    "count": 144,
    "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/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.447158031342219,
  "_indexed": false,
  "_nocasepkg": "powergrid",
  "_universes": [
    "dcr-unibe-ch"
  ],
  "_indexurl": "https://swissclinicaltrialorganisation.r-universe.dev/powergrid",
  "_previous": "0.6.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.1",
      "date": "2026-07-23T13:41:23.000Z",
      "distro": "resolute",
      "commit": "c8317c9f3a477d1b4d9b4fa456f22efcdd981fea",
      "fileid": "https://r2.ropensci.org/37fce3fa0f363c5593a06a95cfe8f1835dc418f834a67154e4dd51081072e216",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/30011849942"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.1",
      "date": "2026-07-23T13:41:28.000Z",
      "distro": "resolute",
      "commit": "c8317c9f3a477d1b4d9b4fa456f22efcdd981fea",
      "fileid": "https://r2.ropensci.org/906de726b0a3940a309cf34a3c196a654423ea0941f4a380df8fe2bbe4308031",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/30011849942"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.1",
      "date": "2026-07-23T13:40:50.000Z",
      "commit": "c8317c9f3a477d1b4d9b4fa456f22efcdd981fea",
      "fileid": "https://r2.ropensci.org/b561aeed32911e1cdb6f5a99e0351a87451a6e4db4de3a1169863902e8b68d43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/30011849942"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.1",
      "date": "2026-07-23T13:40:53.000Z",
      "commit": "c8317c9f3a477d1b4d9b4fa456f22efcdd981fea",
      "fileid": "https://r2.ropensci.org/a1bd26c2c857ba34af49a34add5713be3297ecd3e4808e1715f98e29ebcbfd77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/30011849942"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.1",
      "date": "2026-07-23T13:41:08.000Z",
      "commit": "c8317c9f3a477d1b4d9b4fa456f22efcdd981fea",
      "fileid": "https://r2.ropensci.org/003d1fc8c0901f05ce4979df31baed2eb5de72dae03f2ea122185a569298174c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/30011849942"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.1",
      "date": "2026-07-23T13:40:40.000Z",
      "commit": "c8317c9f3a477d1b4d9b4fa456f22efcdd981fea",
      "fileid": "https://r2.ropensci.org/370f4b21b1256ea8eb1d8c9ab949282ddc19cb3474ad84a9a589124b669519d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/30011849942"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.1",
      "date": "2026-07-23T13:40:18.000Z",
      "commit": "c8317c9f3a477d1b4d9b4fa456f22efcdd981fea",
      "fileid": "https://r2.ropensci.org/2dfdc962bd23627fa8da5b6e4bf2781919e1adc8b369d56aa027074450a832af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/30011849942"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.1",
      "date": "2026-07-23T13:40:22.000Z",
      "commit": "c8317c9f3a477d1b4d9b4fa456f22efcdd981fea",
      "fileid": "https://r2.ropensci.org/f8e0e01fdc67cd62d869e07c71fa25f4a273894aa06e5c5355be2b1f0e3d685f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/30011849942"
    }
  ]
}