* using log directory 'd:/Rcompile/CRANpkg/local/2.13/tawny.Rcheck' * using R version 2.13.2 (2011-09-30) * using platform: i386-pc-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'tawny/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'tawny' version '2.0.2' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'tawny' 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 plotDivergenceLimit.kl: no visible binding for global variable 'KullbackLeibler' * 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 'tawny-Ex.R' failed The error most likely occurred in: > ### Name: getPortfolioReturns > ### Title: Utility functions for creating portfolios of returns and other > ### functions > ### Aliases: getIndexComposition getPortfolioReturns ensure > ### Keywords: ts > > ### ** Examples > > # This is autorun outside of examples > tawny:::.init() > > # Get a portfolio > h <- getPortfolioReturns(c('A','AA','AAPL'), obs=150) INFO [2012-02-25 15:49:27] Binding A for [2011-07-11,2012-02-24] Warning in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m, : cannot open: HTTP status was '404 Not Found' Error in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m, : cannot open URL 'http://chart.yahoo.com/table.csv?s=AA&a=6&b=11&c=2011&d=1&e=25&f=2012&g=d&q=q&y=0&z=AA&x=.csv' Calls: getPortfolioReturns ... getSymbols -> do.call -> getSymbols.yahoo -> download.file Execution halted