* using log directory 'd:/RCompile/CRANincoming/R-devel/windex.Rcheck' * using R Under development (unstable) (2025-02-04 r87685 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'windex/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'windex' version '2.1.0' * checking CRAN incoming feasibility ... NOTE Maintainer: 'Kevin Arbuckle ' No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: c(person(given = "Kevin", family = "Arbuckle", role = c("aut", "cre"), email = "kevin.arbuckle@swansea.ac.uk"), person(given = "Amanda", family = "Minter", role = "aut")) 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 'windex' 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 barplot.logreg: no visible global function definition for 'barplot' Undefined global functions or variables: barplot Consider adding importFrom("graphics", "barplot") to your NAMESPACE file. * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: richYuleInputs.Rd: richness.yule.test Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... WARNING Bad \usage lines found in Rd file 'barplot.logreg.Rd': barplot.logreg<-function(mod,parIndex=2,yName="response", xLevels=paste(c(1:length(c(1,parIndex)))),main="",...) 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 ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... ERROR Running examples in 'windex-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: barplot.logreg > ### Title: Plots a barplot from logistic regression parameter estimates > ### Aliases: barplot.logreg > > ### ** Examples > > bitten<-sample(c(0,1),100,replace=T,prob=c(0.4,0.6)) Error in sample.int(length(x), size, replace, prob) : T used instead of TRUE Calls: sample -> sample.int Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 WARNING, 3 NOTEs