* using log directory 'd:/RCompile/CRANincoming/R-devel/extraSuperpower.Rcheck' * using R Under development (unstable) (2025-06-05 r88281 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'extraSuperpower/DESCRIPTION' ... OK * this is package 'extraSuperpower' version '0.1.0.001' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Louis Macias ' New submission Version contains leading zeroes (0.1.0.001) Non-FOSS package license (`use_mit_license()`) Authors@R field should be a call to person(), or combine such calls. The Title field should be in title case. Current version is: 'Inspired by package Superpower, this package calculates power for two-way factorial designs' In title case that is: 'Inspired by Package Superpower, this Package Calculates Power for Two-Way Factorial Designs' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'extraSuperpower' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... WARNING Non-standard license specification: `use_mit_license()` Standardizable: FALSE * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [13s] NOTE exact_twoway_anova_power : calcpow: no visible global function definition for 'qf' exact_twoway_anova_power : calcpow: no visible global function definition for 'pf' gencorrelationmat: no visible global function definition for 'is' genvecs: no visible binding for global variable 'refmean' genvecs: no visible global function definition for 'is' graph_twoway_assumptions : plotmeans_sd: no visible binding for global variable '.data' graph_twoway_assumptions : plotmeans_sd: no visible binding for global variable 'y' graph_twoway_assumptions : plotmeans_sd: no visible binding for global variable 'sd' plot_powercurves: no visible binding for global variable 'n' plot_powercurves: no visible binding for global variable 'power' plot_powercurves: no visible binding for global variable 'effect' plot_powercurves: no visible binding for global variable 'mean.group.size' plot_powercurves: no visible binding for global variable 'lower.bound.ci' plot_powercurves: no visible binding for global variable 'upper.bound.ci' summarySE : : no visible global function definition for 'sd' summarySE: no visible global function definition for 'qt' twoway_simulation_independent: no visible binding for global variable 'rnorm' twoway_simulation_testing: no visible global function definition for 'as.formula' twoway_simulation_testing: no visible global function definition for 'capture.output' twoway_simulation_testing: no visible global function definition for 'qnorm' Undefined global functions or variables: .data as.formula capture.output effect is lower.bound.ci mean.group.size n pf power qf qnorm qt refmean rnorm sd upper.bound.ci y Consider adding importFrom("methods", "is") importFrom("stats", "as.formula", "pf", "power", "qf", "qnorm", "qt", "rnorm", "sd") importFrom("utils", "capture.output") to your NAMESPACE file (and ensure that your DESCRIPTION Imports field contains 'methods'). * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'calculate_mean_matrix.Rd': \examples lines wider than 100 characters: effects_treat_time <- calculate_mean_matrix(refmean = refmean, fAeffect = treateff, fBeffect = timeeff, nlfA = treatgroups, nlfB = time ... [TRUNCATED] independent_experiment <- twoway_simulation_independent(group_size = n, matrices_obj = effects_treat_time) ## Repeated measures design, suppose subjects from 4 independent treatment groups measured at 5 different timepoints. ## We use the same parameters as the independent design example, except we add within factor level correlation and we specify that fact ... [TRUNCATED] effects_treat_time <- calculate_mean_matrix(refmean = refmean, fAeffect = treateff, fBeffect = timeeff, nlfA = treatgroups, nlfB = tim ... [TRUNCATED] rho = rho, withinf = withinf, label_list = list(treatment=letters[1:treatgroups], time=1:timepoints)) repeatedmeasures_experiment <- twoway_simulation_correlated(group_size = n, matrices_obj = effects_treat_time) Rd file 'effsize.Rd': \examples lines wider than 100 characters: effects_treat_time <- calculate_mean_matrix(refmean = refmean, nlfA = treatgroups, nlfB = timepoints, fAeffect = treateff, fBeffect = t ... [TRUNCATED] cellswithinteraction <- matrix(c(rep(2,3), 3:5), 3,2) #second level of factor A interacts with 3rd, 4th and 5th level of factor B effects_treat_time_interact <- calculate_mean_matrix(refmean = refmean, nlfA = treatgroups, nlfB = timepoints, fAeffect = treateff, fBe ... [TRUNCATED] Rd file 'exact_twoway_anova_power.Rd': \examples lines wider than 100 characters: cellswithinteraction <- matrix(c(rep(2,3), 3:5), 3,2) #second level of factor A interacts with 3rd, 4th and 5th level of factor B effects_treat_time_interact <- calculate_mean_matrix(refmean = refmean, nlfA = treatgroups, nlfB = timepoints, fAeffect = treateff, fBeffect = timeeff, label_list = list(treatment=letters[1:treatgroups], time=1:timepoints), Rd file 'simulate_twoway_nrange.Rd': \examples lines wider than 100 characters: effects_treat_time <- calculate_mean_matrix(refmean = refmean, fAeffect = treateff, fBeffect = timeeff, nlfA = treatgroups, nlfB = time ... [TRUNCATED] Rd file 'test_power_overkn.Rd': \examples lines wider than 100 characters: indep_matrix <- calculate_mean_matrix(refmean = refmean, fAeffect = treateff, fBeffect = timeeff, nlfA = treatgroups, nlfB = timepoints ... [TRUNCATED] indep_skewsim <- simulate_twoway_nrange(indep_matrix, seq(6, 12, 2), distribution = "skewed", skewness = 1.8) Rd file 'twoway_simulation_correlated.Rd': \examples lines wider than 100 characters: ## Repeated measures design, suppose subjects from 4 independent treatment groups measured at 5 different timepoints. rho = rho, withinf = withinf, label_list = list(treatment=letters[1:treatgroups], time=1:timepoints)) repeatedmeasures_experiment <- twoway_simulation_correlated(group_size = n, matrices_obj = effects_treat_time) Rd file 'twoway_simulation_independent.Rd': \examples lines wider than 100 characters: effects_treat_time <- calculate_mean_matrix(refmean = refmean, fAeffect = treateff, fBeffect = timeeff, nlfA = treatgroups, nlfB = time ... [TRUNCATED] independent_experiment <- twoway_simulation_independent(group_size = n, matrices_obj = effects_treat_time) Rd file 'twoway_simulation_testing.Rd': \examples lines wider than 100 characters: effects_treat_time <- calculate_mean_matrix(refmean = refmean, fAeffect = treateff, fBeffect = timeeff, These lines will be truncated in the PDF manual. * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [227s] NOTE Examples with CPU (user + system) or elapsed time > 10s user system elapsed plot_powercurves 114.08 2.71 117.03 twoway_simulation_testing 50.53 1.04 51.61 test_power_overkn 46.57 1.40 48.01 * checking for unstated dependencies in 'tests' ... OK * checking tests ... [542s] OK Running 'testthat.R' [542s] * checking for unstated dependencies in vignettes ... NOTE '::' or ':::' import not declared from: 'devtools' * checking package vignettes ... OK * checking re-building of vignette outputs ... [257s] OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 1 WARNING, 5 NOTEs