The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

CRAN Package Check Results for Package powergrid

Last updated on 2026-06-10 23:56:08 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 2.37 61.22 63.59 ERROR
r-devel-linux-x86_64-debian-gcc 0.5.0 1.84 60.57 62.41 OK
r-devel-linux-x86_64-fedora-clang 0.5.0 5.00 164.46 169.46 OK
r-devel-linux-x86_64-fedora-gcc 0.5.0 5.00 178.16 183.16 OK
r-devel-windows-x86_64 0.5.0 4.00 75.00 79.00 ERROR
r-patched-linux-x86_64 0.5.0 2.82 88.35 91.17 OK
r-release-linux-x86_64 0.5.0 2.35 88.36 90.71 OK
r-release-macos-arm64 0.5.0 1.00 27.00 28.00 OK
r-release-macos-x86_64 0.5.0 2.00 100.00 102.00 OK
r-release-windows-x86_64 0.5.0 4.00 106.00 110.00 OK
r-oldrel-macos-arm64 0.5.0 OK
r-oldrel-macos-x86_64 0.5.0 2.00 123.00 125.00 OK
r-oldrel-windows-x86_64 0.5.0 4.00 125.00 129.00 OK

Check Details

Version: 0.5.0
Check: examples
Result: ERROR Running examples in ‘powergrid-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: AddExample > ### Title: Add an example to an existing PowerPlot or GridPlot > ### Aliases: AddExample > > ### ** Examples > > > ## For more examples, see ?PowerPlot > > ## Set up a grid of n, delta and sd: > sse_pars = list( + n = seq(from = 10, to = 60, by = 4), + delta = seq(from = 0.5, to = 1.5, by = 0.1), # effect size + sd = seq(.1, 1.1, .2)) # Standard deviation > ## Define a power function using these parameters: > PowFun <- function(n, delta, sd){ # power for a t-test at alpha = .05 + ptt = power.t.test(n = n/2, delta = delta, sd = sd, + sig.level = 0.05) + return(ptt$power) + } > ## Evaluate PowFun across the grid defined by sse_pars: > power_array = PowerGrid(pars = sse_pars, fun = PowFun, n_iter = NA) > > ## ====================== > ## PowerPlot > ## ====================== > PowerPlot(power_array, + slicer = list(sd = .7), + ) > AddExample(power_array, + slicer = list(sd = .7), # be sure to cut out the same plain as above + example = list(delta = .9), + target_value = .9, + col = 'blue') > AddExample(power_array, + slicer = list(sd = .7), + example = list(delta = c(.7, 1)), # multiple examples + target_value = .9, + col = 'yellow') > ## Careful, you can move the slicer argument to example: > AddExample(power_array, + example = list(delta = 1.2, sd = .7), # delta (x-axis) first + target_value = .9, + col = 'green') > ## Careful, because you can put the wrong value on x-axis! > AddExample(power_array, + example = list(sd = .7, delta = 1.2), # sd first?! + target_value = .9, + col = 'red') > > ## ====================== > ## GridPlot > ## ====================== > GridPlot(power_array, target_value = .9) Warning: The target value wasn't achieved at any of the parameter combinations in x. Therefore, no lines can be drawn. Error in 1:ncol(y_rec) : argument of length 0 Calls: GridPlot Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.5.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘powergrid.Rmd’ using rmarkdown Quitting from powergrid.Rmd:212-216 [GridPlot] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `1:ncol(y_rec)`: ! argument of length 0 --- Backtrace: ▆ 1. └─powergrid::GridPlot(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'powergrid.Rmd' failed with diagnostics: argument of length 0 --- failed re-building ‘powergrid.Rmd’ SUMMARY: processing the following file failed: ‘powergrid.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.5.0
Check: examples
Result: ERROR Running examples in 'powergrid-Ex.R' failed The error most likely occurred in: > ### Name: AddExample > ### Title: Add an example to an existing PowerPlot or GridPlot > ### Aliases: AddExample > > ### ** Examples > > > ## For more examples, see ?PowerPlot > > ## Set up a grid of n, delta and sd: > sse_pars = list( + n = seq(from = 10, to = 60, by = 4), + delta = seq(from = 0.5, to = 1.5, by = 0.1), # effect size + sd = seq(.1, 1.1, .2)) # Standard deviation > ## Define a power function using these parameters: > PowFun <- function(n, delta, sd){ # power for a t-test at alpha = .05 + ptt = power.t.test(n = n/2, delta = delta, sd = sd, + sig.level = 0.05) + return(ptt$power) + } > ## Evaluate PowFun across the grid defined by sse_pars: > power_array = PowerGrid(pars = sse_pars, fun = PowFun, n_iter = NA) > > ## ====================== > ## PowerPlot > ## ====================== > PowerPlot(power_array, + slicer = list(sd = .7), + ) > AddExample(power_array, + slicer = list(sd = .7), # be sure to cut out the same plain as above + example = list(delta = .9), + target_value = .9, + col = 'blue') > AddExample(power_array, + slicer = list(sd = .7), + example = list(delta = c(.7, 1)), # multiple examples + target_value = .9, + col = 'yellow') > ## Careful, you can move the slicer argument to example: > AddExample(power_array, + example = list(delta = 1.2, sd = .7), # delta (x-axis) first + target_value = .9, + col = 'green') > ## Careful, because you can put the wrong value on x-axis! > AddExample(power_array, + example = list(sd = .7, delta = 1.2), # sd first?! + target_value = .9, + col = 'red') > > ## ====================== > ## GridPlot > ## ====================== > GridPlot(power_array, target_value = .9) Warning: The target value wasn't achieved at any of the parameter combinations in x. Therefore, no lines can be drawn. Error in 1:ncol(y_rec) : argument of length 0 Calls: GridPlot Execution halted Flavor: r-devel-windows-x86_64

Version: 0.5.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'powergrid.Rmd' using rmarkdown Quitting from powergrid.Rmd:212-216 [GridPlot] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `1:ncol(y_rec)`: ! argument of length 0 --- Backtrace: ▆ 1. └─powergrid::GridPlot(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'powergrid.Rmd' failed with diagnostics: argument of length 0 --- failed re-building 'powergrid.Rmd' SUMMARY: processing the following file failed: 'powergrid.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.