- using R Under development (unstable) (2012-02-27 r58511)
- using platform: x86_64-pc-mingw32 (64-bit)
- using session charset: ISO8859-1
- checking for file 'TradeStrategyAnalyzer/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'TradeStrategyAnalyzer' version '1.0'
- 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 'TradeStrategyAnalyzer' 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
- loading checks for arch 'i386'
** 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
- loading checks for arch 'x64'
** 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
File 'TradeStrategyAnalyzer/R/OnLoad.R':
.onLoad calls:
require(DBI)
require(RSQLite)
require(stats)
require(RJSONIO)
require(googleVis)
require(ggplot2)
require(digest)
Package startup functions should not change the search path.
See section 'Good practice' in ?.onAttach.
portfolioHoldingSummaryChart: no visible global function definition for
'alpha'
portfolioHoldingSummaryChart: no visible binding for global variable
'id'
stockCorrPairsCartesianChart: warning in facet_grid(CORRGRP ~ ., scale
= "free_y"): partial argument match of 'scale' to 'scales'
- 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 sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking examples ...
** running examples for arch 'i386' ... OK
** running examples for arch 'x64' ... OK
- checking for unstated dependencies in tests ... OK
- checking tests ...
** running tests for arch 'i386' ERROR
Running the tests in 'tests/TestEndToEnd.R' failed.
Last 13 lines of output:
> # with caption
> yrng <- range(sumHoldings$x)
> xrng <- range(sumHoldings$txdate)
> caption <- "Overall Returns:"
> for (i in 1:nrow(portfoliosData)) {
+ text <- paste(portfoliosData$ALGORITHM[i]," ",round(portfoliosData$PERFORMANCE[i],2),"%",sep="")
+ caption <- paste(caption,text,sep="\n")
+ }
> portfolioHoldingSummaryChart(sumHoldings,portfoliosData,xrng,yrng,caption)
Error in do.call("layer", list(mapping = mapping, data = data, stat = stat, :
could not find function "alpha"
Calls: portfolioHoldingSummaryChart ... geom_smooth -> <Anonymous> -> <Anonymous> -> do.call
Execution halted
** running tests for arch 'x64' ERROR
Running the tests in 'tests/TestEndToEnd.R' failed.
Last 13 lines of output:
> # with caption
> yrng <- range(sumHoldings$x)
> xrng <- range(sumHoldings$txdate)
> caption <- "Overall Returns:"
> for (i in 1:nrow(portfoliosData)) {
+ text <- paste(portfoliosData$ALGORITHM[i]," ",round(portfoliosData$PERFORMANCE[i],2),"%",sep="")
+ caption <- paste(caption,text,sep="\n")
+ }
> portfolioHoldingSummaryChart(sumHoldings,portfoliosData,xrng,yrng,caption)
Error in do.call("layer", list(mapping = mapping, data = data, stat = stat, :
could not find function "alpha"
Calls: portfolioHoldingSummaryChart ... geom_smooth -> <Anonymous> -> <Anonymous> -> do.call
Execution halted