* using log directory 'd:/Rcompile/CRANpkg/local/2.14/candisc.Rcheck' * using R version 2.14.2 (2012-02-29) * using platform: i386-pc-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'candisc/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'candisc' version '0.6-3' * 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 whether package 'candisc' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for portable file names ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R 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 for unstated 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 stars: no visible global function definition for 'paste0' * checking Rd files ... OK * checking Rd metadata ... 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 data for ASCII and uncompressed saves ... OK * checking examples ... ERROR Running examples in 'candisc-Ex.R' failed The error most likely occurred in: > ### Name: cancor > ### Title: Canonical Correlation Analysis > ### Aliases: cancor cancor.default cancor.formula print.cancor > ### summary.cancor coef.cancor scores scores.cancor > ### Keywords: multivariate > > ### ** Examples > > data(Rohwer, package="heplots") > X <- as.matrix(Rohwer[,6:10]) # the PA tests > Y <- as.matrix(Rohwer[,3:5]) # the aptitude/ability variables > > # visualize the correlation matrix using corrplot() > if (require(corrplot)) { + M <- cor(cbind(X,Y)) + corrplot(M, method="ellipse", order="hclust", addrect=2, addCoef.col="black") + } Loading required package: corrplot > > > (cc <- cancor(X, Y, set.names=c("PA", "Ability"))) Canonical correlation analysis of: 5 PA variables: n, s, ns, na, ss with 3 Ability variables: SAT, PPVT, Raven Error in stars(pct, width = min(30, stwidth)) : could not find function "paste0" Calls: print -> print.cancor -> stars Execution halted