{
  "_id": "6accb13aa14063b82c3a7fa1",
  "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://dcr-unibe-ch.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:03:28 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.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/f539b4f1d98003386b7f7b6850668445823bc2c18d59a7de64693fecbbd63fe6",
  "_filesize": 970608,
  "_sha256": "f539b4f1d98003386b7f7b6850668445823bc2c18d59a7de64693fecbbd63fe6",
  "_expires": "2027-01-20T10:06:48.000Z",
  "_created": "2026-10-12T10:03:28.000Z",
  "_published": "2026-10-12T10:06:50.839Z",
  "_buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/38233472165",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114759847649,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11740286307"
    },
    {
      "job": 114759847550,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11739906846"
    },
    {
      "job": 114759847861,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11740326153"
    },
    {
      "job": 114759847467,
      "time": 136,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11739323670"
    },
    {
      "job": 114758429837,
      "time": 222,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11740440292"
    },
    {
      "job": 114759847546,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11740191452"
    },
    {
      "job": 114759847724,
      "time": 100,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11739896684"
    },
    {
      "job": 114759847617,
      "time": 87,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11739493306"
    },
    {
      "job": 114759847484,
      "time": 96,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11740291147"
    }
  ],
  "_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": 264417472,
    "type": "organization",
    "name": "Department of Clinical Research (DCR)",
    "followers": 3,
    "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": 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": [
    "dcr-unibe-ch"
  ],
  "_indexurl": "https://swissclinicaltrialorganisation.r-universe.dev/powergrid",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.3",
      "date": "2026-10-12T10:05:24.000Z",
      "distro": "resolute",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/eb1d0aa5c4bef644d23800489fbf0e2b80a4e2dafd639116a58d881215b5c65d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/38233472165"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.3",
      "date": "2026-10-12T10:05:36.000Z",
      "distro": "resolute",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/00eae788f649847df673572b3a8c1fbe664a8f1ce019dd41db1380a539c90b9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/38233472165"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.3",
      "date": "2026-10-12T10:05:15.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/9c4b7bf9dfeac69d9b7e5a209873c28df79e48b7449994ceea10a7c952ca61b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/38233472165"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.3",
      "date": "2026-10-12T10:05:36.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/32358653b73f1aac4f98bd8bb43ba05d156f665544e2e8ff2f1526e34dc5d8e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/38233472165"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.3",
      "date": "2026-10-12T10:06:21.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/853ae4fc7aa6cd824256905faa7d8ff552bfc8117e3914aad497d5c591180ece",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/38233472165"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.3",
      "date": "2026-10-12T10:04:42.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/4d9afa61ffe94938c5f847817b73b4cb32443cbe6bfd4f5fa21a4dd607c9eef2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/38233472165"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.3",
      "date": "2026-10-12T10:04:37.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/b03f5242ddec19ac7d94f8b5da28b08bcd51bab59215e1bb273a79ad76f58cb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/38233472165"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.3",
      "date": "2026-10-12T10:04:43.000Z",
      "commit": "42aca3344d74d0fde967c2b6abe570def3c1d3fe",
      "fileid": "https://r2.ropensci.org/da6679c0d365316e27d9642f28e2c2b32832e467289b081cc751a2a9c4edfbdc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/38233472165"
    }
  ]
}