* using log directory 'd:/Rcompile/CRANpkg/local/2.4/tradeCosts.Rcheck' * using R version 2.4.1 (2006-12-18) * checking for file 'tradeCosts/DESCRIPTION' ... OK * this is package 'tradeCosts' version '0.1-0' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'tradeCosts' can be installed ... 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 syntax errors ... OK * checking R files for non-ASCII characters ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the name space can be loaded with stated dependencies ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * creating tradeCosts-Ex.R ... OK * checking examples ... ERROR Running examples in 'tradeCosts-Ex.R' failed. The error most likely occurred in: > ### * analyze.trade.costs > > flush(stderr()); flush(stdout()) > > ### Name: analyze.trade.costs > ### Title: User-level function to perform basic trade cost analysis. > ### Aliases: analyze.trade.costs > > > ### ** Examples > > data(dynamic.mar.2007) > data(trade.mar.2007) > data(static.mar.2007) > analyze.trade.costs(trade.mar.2007, dynamic.mar.2007, + static.mar.2007, num.trades = 3, out.fmt = "text") Trade Cost Analysis Error in min(..., na.rm = na.rm) : invalid 'type' (character) of argument Execution halted