* using log directory ‘/data/localhost/ripley/R/packages/tests-donttest/stratifyR.Rcheck’ * using R Under development (unstable) (2026-08-25 r90447) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2) GNU Fortran (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-08-26 06:27:54 UTC * checking for file ‘stratifyR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘stratifyR’ version ‘1.0-5’ * package encoding: UTF-8 * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘stratifyR’ can be installed ... [11s/66s] OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * 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 ... [3s/19s] OK * checking whether the package can be loaded with stated dependencies ... [3s/14s] OK * checking whether the package can be unloaded cleanly ... [3s/13s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s/19s] OK * checking whether the namespace can be unloaded cleanly ... [3s/21s] OK * checking loading without being on the library search path ... [3s/20s] 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 ... [18s/135s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [3s/18s] OK * checking examples with --run-donttest ... [21s/161s] ERROR Running examples in ‘stratifyR-Ex.R’ failed The error most likely occurred in: > ### Name: strata.data > ### Title: Stratification of Univariate Survey Population Using the Data > ### Aliases: strata.data > > ### ** Examples > > ## No test: > data <- rweibull(1000, shape=2, scale = 1.5) > hist(data) > obj <- strata.data(data, h = 2, n=300) Warning in checkparamlist(arg_startfix$start.arg, arg_startfix$fix.arg, : Some parameter names have no starting/fixed value but have a default value: mean. The program is running, it'll take some time! > summary(obj) ================================================================================ Stratification summary -------------------------------------------------------------------------------- Strata (h): 2 n: 300 N: 1000 Data range: [0.0125, 3.8635] (d = 3.8510) Best-fit distribution: weibull Parameter estimate(s): shape : 2.01406 scale : 1.49256 -------------------------------------------------------------------------------- Strata OSB Wh Vh WhSh nh Nh fh 1 1.32 0.53 0.11 0.173 130 527 0.25 2 3.86 0.47 0.23 0.227 170 473 0.36 Total 1.00 0.34 0.400 300 1,000 0.30 ================================================================================ > #------------------------------------------------------------- > data(anaemia) > Iron <- anaemia$Iron > res <- strata.data(Iron, h = 2, n=350) Warning in checkparamlist(arg_startfix$start.arg, arg_startfix$fix.arg, : Some parameter names have no starting/fixed value but have a default value: mean. The program is running, it'll take some time! > summary(res) ================================================================================ Stratification summary -------------------------------------------------------------------------------- Strata (h): 2 n: 350 N: 724 Data range: [1.5000, 34.7000] (d = 33.2000) Best-fit distribution: weibull Parameter estimate(s): shape : 2.14505 scale : 13.7916 -------------------------------------------------------------------------------- Strata OSB Wh Vh WhSh nh Nh fh 1 12.25 0.55 8.16 1.574 156 399 0.39 2 34.7 0.45 19.12 1.963 194 325 0.60 Total 1.00 27.28 3.537 350 724 0.48 ================================================================================ > #------------------------------------------------------------- > data(sugarcane) > Production <- sugarcane$Production > hist(Production) > res <- strata.data(Production, h = 2, n=1000) Warning in checkparamlist(arg_startfix$start.arg, arg_startfix$fix.arg, : Some parameter names have no starting/fixed value but have a default value: mean. The program is running, it'll take some time! > summary(res) ================================================================================ Stratification summary -------------------------------------------------------------------------------- Strata (h): 2 n: 1000 N: 13894 Data range: [0.4200, 1570.3800] (d = 1569.9600) Best-fit distribution: gamma Parameter estimate(s): shape : 1.5203 rate : 0.00922615 -------------------------------------------------------------------------------- Strata OSB Wh Vh WhSh nh Nh fh 1 186.8 0.66 2,587.14 33.457 423 9,139 0.05 2 1570.38 0.34 17,849.57 45.723 577 4,755 0.12 Total 1.00 20,436.70 79.180 1,000 13,894 0.07 ================================================================================ > #------------------------------------------------------------- > #The function be dynamically used to visualize the the strata boundaries, > #for 2 strata, over the density (or observations) of the "mag" variable > #from the quakes data (with purrr and ggplot2 packages loaded). > output <- quakes %>% + pluck("mag") %>% + strata.data(h = 2, n = 300) Error in quakes %>% pluck("mag") %>% strata.data(h = 2, n = 300) : could not find function "%>%" Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [2m/11m] OK * checking PDF version of manual ... [4s/20s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-donttest/stratifyR.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 27:50.98, 246.92 + 39.88