* using log directory 'd:/Rcompile/CRANpkg/local/2.14/RSA.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 'RSA/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RSA' version '0.4' * 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 whether package 'RSA' 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 RSA: no visible global function definition for 'paste0' RSA.ST: no visible global function definition for 'paste0' add.variables: no visible global function definition for 'paste0' anovaList: no visible global function definition for 'paste0' demoRSA: no visible global function definition for 'paste0' getPar: no visible global function definition for 'paste0' plotRSA: 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 examples ... ERROR Running examples in 'RSA-Ex.R' failed The error most likely occurred in: > ### Name: RSA > ### Title: Performs several RSA model tests on a data set with two > ### predictors > ### Aliases: RSA > > ### ** Examples > > # Compute response surface from a fake data set > set.seed(0xBEEF) > n <- 300 > err <- 15 > x <- rnorm(n, 0, 5) > y <- rnorm(n, 0, 5) > df <- data.frame(x, y) > df <- within(df, { + diff <- x-y + absdiff <- abs(x-y) + sqdiff <- (x-y)^2 + z.diff <- diff + rnorm(n, 0, err) + z.abs <- absdiff + rnorm(n, 0, err) + z.sq <- sqdiff + rnorm(n, 0, err) + z.add <- diff + 0.4*x + rnorm(n, 0, err) + z.complex <- 0.4*x + - 0.2*x*y + + 0.1*x^2 - 0.03*y^2 + rnorm(n, 0, err) + }) > > r1 <- RSA(z.sq~x*y, df) Error in add.variables(formula, data.frame(data.matrix(df))) : could not find function "paste0" Calls: RSA -> add.variables Execution halted