* using log directory 'd:/RCompile/CRANincoming/R-devel/caroline.Rcheck' * using R Under development (unstable) (2024-10-18 r87246 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'caroline/DESCRIPTION' ... OK * this is package 'caroline' version '0.9.8' * checking CRAN incoming feasibility ... NOTE Maintainer: 'David Schruth ' No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "David", family = "Schruth", role = c("aut", "cre"), email = "code@anthropoidea.org") as necessary. * 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 'caroline' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... 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 ... NOTE plot.sparge: no visible global function definition for 'as.formula' plot.sparge: no visible global function definition for 'legend' plot.sparge: no visible global function definition for 'gray' plot.sparge: no visible global function definition for 'pgeom' Undefined global functions or variables: as.formula gray legend pgeom Consider adding importFrom("grDevices", "gray") importFrom("graphics", "legend") importFrom("stats", "as.formula", "pgeom") to your NAMESPACE file. * checking Rd files ... WARNING checkRd: (5) plot.sparge.Rd:17: \item in \arguments must have non-empty label checkRd: (5) plot.sparge.Rd:18: \item in \arguments must have non-empty label * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'plot.sparge.Rd': \examples lines wider than 100 characters: distros <- list(Uni05 = (1:100)/21, Norm = rnorm(100), `5T` = rt(100, df = 5), Gam2 = rgamma(100, shape = 2)) plot.sparge(x, out.range=range(ToothGrowth$len), col = supp.colors[sup], cpd=pds[sup], horiz=F, add=news[sup], cpw=.2, These lines will be truncated in the PDF manual. * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING Undocumented code objects: 'sparge.' All user-level objects in a package should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... WARNING Undocumented arguments in Rd file 'plot.sparge.Rd' 'out.range' 'cat.nms' Functions with \usage entries need to have the appropriate \alias entries, and all their arguments documented. The \usage entries must correspond to syntactically valid R code. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking Rd contents ... NOTE Argument items with no description in Rd file 'plot.sparge.Rd': '' '' 'cpw' * checking for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in 'caroline-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: plot.sparge > ### Title: Visually compare all points from different univariate > ### distributions > ### Aliases: plot.sparge sparge sparge.plot > > ### ** Examples > > > N=300 > x=lapply(sample(1:5), function(avg) (rnorm(N,avg))) > plot.sparge(x, col=rep('blue',length(x)), main='sparge plots:\nfor distributional comparison') > > ## four random distributrions (from the 'boxplot' examples) > distros <- list(Uni05 = (1:100)/21, Norm = rnorm(100), `5T` = rt(100, df = 5), Gam2 = rgamma(100, shape = 2)) > plot.sparge(distros, ylab='distribution',xlab='') > > > # three more random distributions (from the 'sinaplot' examples) > bimodal <- c(rnorm(300, -2, 0.6), rnorm(300, 2, 0.6)) > uniform <- runif(500, -4, 4) > normal <- rnorm(800,0,3) > distributions <- list(uniform = uniform, bimodal = bimodal, normal = normal) > plot.sparge(distributions, ylab='distribution',xlab='') > > > ## effect of supplemental dosage on Guinea Pig tooth length (from the 'boxplot' examples) > supplements <- levels(ToothGrowth$supp) > supp.colors <- nv(c("orange", "yellow"), supplements) > pds <- nv(c(-.1,.1), supplements) > news <- nv(c(F,T),supplements) Error in is.data.frame(x) : F used instead of FALSE Calls: nv -> is.data.frame Execution halted * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 3 WARNINGs, 4 NOTEs