CRAN Package Check Results for Package powergrid

Last updated on 2026-08-03 12:51:54 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 2.42 62.05 64.47 ERROR
r-devel-linux-x86_64-debian-gcc 0.6.2 2.08 63.75 65.83 NOTE
r-devel-linux-x86_64-fedora-clang 0.6.2 99.83 OK
r-devel-linux-x86_64-fedora-gcc 0.6.2 66.70 OK
r-devel-windows-x86_64 0.5.0 4.00 76.00 80.00 ERROR
r-patched-linux-x86_64 0.5.0 2.69 91.55 94.24 OK
r-release-linux-x86_64 0.5.0 2.11 89.70 91.81 OK
r-release-macos-arm64 0.6.2 1.00 35.00 36.00 OK
r-release-macos-x86_64 0.6.2 3.00 130.00 133.00 OK
r-release-windows-x86_64 0.6.2 6.00 119.00 125.00 OK
r-oldrel-macos-arm64 0.6.2 1.00 30.00 31.00 OK
r-oldrel-macos-x86_64 0.6.2 2.00 121.00 123.00 OK
r-oldrel-windows-x86_64 0.5.0 4.00 121.00 125.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.6.2
Check: for new files in some other directories
Result: NOTE Found the following files/directories: ‘~/tmp/scratch/Rtmp01Oxi5’ ‘~/tmp/scratch/Rtmp02Ahil’ ‘~/tmp/scratch/Rtmp1Att08’ ‘~/tmp/scratch/Rtmp2BlHAu’ ‘~/tmp/scratch/Rtmp2vTmrZ’ ‘~/tmp/scratch/Rtmp30nnil’ ‘~/tmp/scratch/Rtmp3JJIFa’ ‘~/tmp/scratch/Rtmp3JLhVM’ ‘~/tmp/scratch/Rtmp3QYWPK’ ‘~/tmp/scratch/Rtmp4AJAUS’ ‘~/tmp/scratch/Rtmp4MPCKZ’ ‘~/tmp/scratch/Rtmp4Pcxyb’ ‘~/tmp/scratch/Rtmp4vthpF’ ‘~/tmp/scratch/Rtmp577ypu’ ‘~/tmp/scratch/Rtmp5F49wu’ ‘~/tmp/scratch/Rtmp5xhmRB’ ‘~/tmp/scratch/Rtmp6hu4ez’ ‘~/tmp/scratch/Rtmp7tqvol’ ‘~/tmp/scratch/Rtmp8fxPd9’ ‘~/tmp/scratch/Rtmp8yYSrr’ ‘~/tmp/scratch/Rtmp90D4kq’ ‘~/tmp/scratch/Rtmp9d4zlN’ ‘~/tmp/scratch/Rtmp9ho7NI’ ‘~/tmp/scratch/Rtmp9uS9p6’ ‘~/tmp/scratch/RtmpBEZf7R’ ‘~/tmp/scratch/RtmpC4hmig’ ‘~/tmp/scratch/RtmpCIx3zq’ ‘~/tmp/scratch/RtmpCynwRv’ ‘~/tmp/scratch/RtmpDoEtuO’ ‘~/tmp/scratch/RtmpDzgnWT’ ‘~/tmp/scratch/RtmpE2uHFV’ ‘~/tmp/scratch/RtmpEOBqQa’ ‘~/tmp/scratch/RtmpESyO0g’ ‘~/tmp/scratch/RtmpFQPtoz’ ‘~/tmp/scratch/RtmpFeAw2W’ ‘~/tmp/scratch/RtmpFoDcgE’ ‘~/tmp/scratch/RtmpG04xCA’ ‘~/tmp/scratch/RtmpGQZPK8’ ‘~/tmp/scratch/RtmpGW9ujK’ ‘~/tmp/scratch/RtmpHpFXbc’ ‘~/tmp/scratch/RtmpIjcLfl’ ‘~/tmp/scratch/RtmpK1wA9i’ ‘~/tmp/scratch/RtmpLL8FGG’ ‘~/tmp/scratch/RtmpLeGFkK’ ‘~/tmp/scratch/RtmpLjaoqz’ ‘~/tmp/scratch/RtmpLjc3EU’ ‘~/tmp/scratch/RtmpM8jI37’ ‘~/tmp/scratch/RtmpMDs6zp’ ‘~/tmp/scratch/RtmpMZcBOY’ ‘~/tmp/scratch/RtmpMbfxzV’ ‘~/tmp/scratch/RtmpNCjUtT’ ‘~/tmp/scratch/RtmpOjWuIP’ ‘~/tmp/scratch/RtmpR1rKgM’ ‘~/tmp/scratch/RtmpRqCskV’ ‘~/tmp/scratch/RtmpS2T3N0’ ‘~/tmp/scratch/RtmpTPV90H’ ‘~/tmp/scratch/RtmpTyuMO3’ ‘~/tmp/scratch/RtmpUfA1T9’ ‘~/tmp/scratch/RtmpUycEdI’ ‘~/tmp/scratch/RtmpVQKZtm’ ‘~/tmp/scratch/RtmpVYY2C8’ ‘~/tmp/scratch/RtmpWUpd8m’ ‘~/tmp/scratch/RtmpX5zggF’ ‘~/tmp/scratch/RtmpXNIAzk’ ‘~/tmp/scratch/RtmpXRfe36’ ‘~/tmp/scratch/RtmpYGC8J8’ ‘~/tmp/scratch/RtmpYXg15u’ ‘~/tmp/scratch/RtmpZ2FaNJ’ ‘~/tmp/scratch/RtmpZBFulY’ ‘~/tmp/scratch/RtmpZJKoVB’ ‘~/tmp/scratch/RtmpZuTNnA’ ‘~/tmp/scratch/RtmpbVb34D’ ‘~/tmp/scratch/RtmpbaODXq’ ‘~/tmp/scratch/RtmpbuP5ht’ ‘~/tmp/scratch/Rtmpc0bdXN’ ‘~/tmp/scratch/RtmpcT9xHF’ ‘~/tmp/scratch/RtmpczTxmD’ ‘~/tmp/scratch/RtmpdIJcAm’ ‘~/tmp/scratch/RtmpdSJWvr’ ‘~/tmp/scratch/Rtmpdry53E’ ‘~/tmp/scratch/Rtmpe1XsFO’ ‘~/tmp/scratch/RtmpeQt0MS’ ‘~/tmp/scratch/RtmpfTqFGH’ ‘~/tmp/scratch/RtmpfUoiSn’ ‘~/tmp/scratch/RtmpgPEgiU’ ‘~/tmp/scratch/RtmpgZtp9H’ ‘~/tmp/scratch/RtmpgaOBqe’ ‘~/tmp/scratch/RtmphUyEfZ’ ‘~/tmp/scratch/RtmpiAvsrz’ ‘~/tmp/scratch/RtmpiLrkb4’ ‘~/tmp/scratch/RtmpiOTN2c’ ‘~/tmp/scratch/RtmpiXpNnH’ ‘~/tmp/scratch/RtmpicpqaD’ ‘~/tmp/scratch/Rtmpj8VQhO’ ‘~/tmp/scratch/RtmpjIpazj’ ‘~/tmp/scratch/RtmpjyaL3D’ ‘~/tmp/scratch/Rtmpk5K2dx’ ‘~/tmp/scratch/RtmplVB4Um’ ‘~/tmp/scratch/RtmplYYpc2’ ‘~/tmp/scratch/RtmplxAu80’ ‘~/tmp/scratch/RtmpmPATN6’ ‘~/tmp/scratch/RtmpmUpFhR’ ‘~/tmp/scratch/RtmpnVaVla’ ‘~/tmp/scratch/RtmpnVpWgy’ ‘~/tmp/scratch/Rtmpo3JvKs’ ‘~/tmp/scratch/RtmpoLx9jh’ ‘~/tmp/scratch/RtmpoWxtHB’ ‘~/tmp/scratch/RtmpogLeYJ’ ‘~/tmp/scratch/RtmppMc3BO’ ‘~/tmp/scratch/RtmppP9r5C’ ‘~/tmp/scratch/RtmppWly1b’ ‘~/tmp/scratch/RtmprObylK’ ‘~/tmp/scratch/RtmprkxqDw’ ‘~/tmp/scratch/Rtmpt6qotc’ ‘~/tmp/scratch/RtmptvH02n’ ‘~/tmp/scratch/Rtmpu4ZBow’ ‘~/tmp/scratch/RtmpuIjrPR’ ‘~/tmp/scratch/RtmpvIADBD’ ‘~/tmp/scratch/RtmpvWQpXQ’ ‘~/tmp/scratch/RtmpvaEdNU’ ‘~/tmp/scratch/RtmpweMLxM’ ‘~/tmp/scratch/RtmpwiBD6V’ ‘~/tmp/scratch/RtmpxM03N1’ ‘~/tmp/scratch/RtmpxsNFVz’ ‘~/tmp/scratch/Rtmpxt4Dvq’ ‘~/tmp/scratch/RtmpxxR9CC’ ‘~/tmp/scratch/RtmpybXi65’ ‘~/tmp/scratch/RtmpyjNJfx’ ‘~/tmp/scratch/RtmpyySKOF’ ‘~/tmp/scratch/RtmpzLoVH4’ ‘~/tmp/scratch/RtmpzXAPUS’ ‘~/tmp/scratch/xvfb-run.1FMEjr’ ‘~/tmp/scratch/xvfb-run.1ba0Lp’ ‘~/tmp/scratch/xvfb-run.3hhmZF’ ‘~/tmp/scratch/xvfb-run.49ckXQ’ ‘~/tmp/scratch/xvfb-run.6eMqSR’ ‘~/tmp/scratch/xvfb-run.78ox3s’ ‘~/tmp/scratch/xvfb-run.7AGvfd’ ‘~/tmp/scratch/xvfb-run.82Miy5’ ‘~/tmp/scratch/xvfb-run.9yzjb7’ ‘~/tmp/scratch/xvfb-run.ABvTzl’ ‘~/tmp/scratch/xvfb-run.AqxCgh’ ‘~/tmp/scratch/xvfb-run.CVUAYq’ ‘~/tmp/scratch/xvfb-run.F0KiCe’ ‘~/tmp/scratch/xvfb-run.HmRjGQ’ ‘~/tmp/scratch/xvfb-run.JDQiYy’ ‘~/tmp/scratch/xvfb-run.KbiJDx’ ‘~/tmp/scratch/xvfb-run.LhgAmA’ ‘~/tmp/scratch/xvfb-run.LxWJRa’ ‘~/tmp/scratch/xvfb-run.M1xRWX’ ‘~/tmp/scratch/xvfb-run.MWlw0q’ ‘~/tmp/scratch/xvfb-run.N0zeno’ ‘~/tmp/scratch/xvfb-run.NCxiMD’ ‘~/tmp/scratch/xvfb-run.OfnyVg’ ‘~/tmp/scratch/xvfb-run.PkiyZz’ ‘~/tmp/scratch/xvfb-run.QmLIN5’ ‘~/tmp/scratch/xvfb-run.RaiT8Y’ ‘~/tmp/scratch/xvfb-run.SDzNZU’ ‘~/tmp/scratch/xvfb-run.SkaOuv’ ‘~/tmp/scratch/xvfb-run.Tq49Ql’ ‘~/tmp/scratch/xvfb-run.X40GZ7’ ‘~/tmp/scratch/xvfb-run.YJLiim’ ‘~/tmp/scratch/xvfb-run.YakWic’ ‘~/tmp/scratch/xvfb-run.ZtUuTY’ ‘~/tmp/scratch/xvfb-run.dbmylP’ ‘~/tmp/scratch/xvfb-run.fzN4A0’ ‘~/tmp/scratch/xvfb-run.iVnuId’ ‘~/tmp/scratch/xvfb-run.mVGThh’ ‘~/tmp/scratch/xvfb-run.mmqwls’ ‘~/tmp/scratch/xvfb-run.nwDhsO’ ‘~/tmp/scratch/xvfb-run.oTUuWt’ ‘~/tmp/scratch/xvfb-run.rS8J6N’ ‘~/tmp/scratch/xvfb-run.s5yW0M’ ‘~/tmp/scratch/xvfb-run.sBqax8’ ‘~/tmp/scratch/xvfb-run.uEL5dv’ ‘~/tmp/scratch/xvfb-run.wZK8ez’ ‘~/tmp/scratch/xvfb-run.wk6t9J’ ‘~/tmp/scratch/xvfb-run.wxzTSi’ ‘~/tmp/scratch/xvfb-run.xGP1oG’ ‘~/tmp/scratch/xvfb-run.zqK7Zb’ Flavor: r-devel-linux-x86_64-debian-gcc

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