* using log directory ‘/srv/hornik/tmp/CRAN_pretest/caroline.Rcheck’ * using R Under development (unstable) (2024-10-18 r87246) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.8 (9) Debian flang-new version 18.1.8 (9) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘caroline/DESCRIPTION’ ... OK * this is package ‘caroline’ version ‘0.9.8’ * checking CRAN incoming feasibility ... [4s/4s] 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking serialization versions ... OK * checking whether package ‘caroline’ can be installed ... [2s/2s] 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [4s/4s] 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 ... [0s/0s] 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 ... [2s/2s] 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 ... [3s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 3 WARNINGs, 4 NOTEs