{
  "_id": "6accb15aa14063b82c3a7fbd",
  "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://ctu-bern.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-10-12 10:02:53 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": "ctu-bern",
  "_type": "src",
  "_file": "powergrid_0.6.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/28342db2d94e4861fe2256c9e38885ea854e2a220e977b70cb83cabf0075c8cb",
  "_filesize": 971422,
  "_sha256": "28342db2d94e4861fe2256c9e38885ea854e2a220e977b70cb83cabf0075c8cb",
  "_expires": "2027-01-20T10:07:19.000Z",
  "_created": "2026-10-12T10:02:53.000Z",
  "_published": "2026-10-12T10:07:21.987Z",
  "_buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/38233512492",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114759610089,
      "time": 216,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11740051738"
    },
    {
      "job": 114759610099,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11740380815"
    },
    {
      "job": 114759610127,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11739712059"
    },
    {
      "job": 114759609999,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11740091377"
    },
    {
      "job": 114758601488,
      "time": 157,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11740355537"
    },
    {
      "job": 114759609943,
      "time": 80,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11739956440"
    },
    {
      "job": 114759610166,
      "time": 68,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11739677017"
    },
    {
      "job": 114759610017,
      "time": 95,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11739198600"
    },
    {
      "job": 114759610027,
      "time": 70,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11739671932"
    }
  ],
  "_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": false,
  "_usedby": 0,
  "_updates": [
    {
      "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.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": 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": 222,
    "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.2552725051033065,
  "_indexed": false,
  "_nocasepkg": "powergrid",
  "_universes": [
    "ctu-bern"
  ],
  "_indexurl": "https://swissclinicaltrialorganisation.r-universe.dev/powergrid",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.3",
      "date": "2026-10-12T10:06:20.000Z",
      "distro": "resolute",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/a6ac11ac681cbdfc64a9ed4f149ae06927b08591f2188063296ef31153be0208",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/38233512492"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.3",
      "date": "2026-10-12T10:04:45.000Z",
      "distro": "resolute",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/8b2a1e6f603dc533809d2bb25e2df1d02793bc5b33780d52cf7cfa2a2349a215",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/38233512492"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.3",
      "date": "2026-10-12T10:04:51.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/e857bdce2266e0f11c5db3013b05bf949fa4e21f8d151efe02ae43226b6cd62a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/38233512492"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.3",
      "date": "2026-10-12T10:04:33.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/deca7e5475b4027db5ea0a816446fe81e845be294b6fedfc083adb9165f20c7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/38233512492"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.3",
      "date": "2026-10-12T10:04:30.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/5d7ffca49951e05a8e8fd8149773c726bf67efad6b237020b0cd6d49adce18f9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/38233512492"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.3",
      "date": "2026-10-12T10:03:51.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/e01dfdb0dd5ed5e4f8c5293210e41f04a21e232e4654b5ca15c4413df7b6fe78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/38233512492"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.3",
      "date": "2026-10-12T10:04:02.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/cebfb4ed45230e219dcf8301807aa9f4d472aef21c813407118743a07ea9b626",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/38233512492"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.3",
      "date": "2026-10-12T10:03:53.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/d6a7531f40490357433ad4701fd3e45c75a8cc029240c1d133238712ae32a8ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/38233512492"
    }
  ]
}