- using R version 2.11.0 Under development (unstable) (2010-02-01 r51089)
- using session charset: UTF-8
- checking for file 'portfolio/DESCRIPTION' ... OK
- this is package 'portfolio' version '0.4-4'
- checking package name space information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking for executable files ... OK
- checking whether package 'portfolio' can be installed ... WARNING
Found the following significant warnings:
Warning: ./man/portfolio-class.Rd:74: unknown macro '\begin'
Warning: ./man/portfolio-class.Rd:75: unknown macro '\item'
Warning: ./man/portfolio-class.Rd:78: unknown macro '\item'
Warning: ./man/portfolio-class.Rd:80: unknown macro '\item'
Warning: ./man/portfolio-class.Rd:83: unknown macro '\item'
Warning: ./man/portfolio-class.Rd:87: unknown macro '\end'
See http://www.r-project.org/nosvn/R.check/r-devel-linux-ix86/portfolio-00install.html for details.
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... 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 name space can be loaded with stated dependencies ... OK
- checking whether the name space 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 ... OK
- checking Rd files ... WARNING
prepare_Rd: portfolio-class.Rd:74: unknown macro '\begin'
prepare_Rd: portfolio-class.Rd:75: unknown macro '\item'
prepare_Rd: portfolio-class.Rd:78: unknown macro '\item'
prepare_Rd: portfolio-class.Rd:80: unknown macro '\item'
prepare_Rd: portfolio-class.Rd:83: unknown macro '\item'
prepare_Rd: portfolio-class.Rd:87: unknown macro '\end'
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... WARNING
S4 class codoc mismatches from documentation object 'matchedPortfolio-class':
Slots for class 'matchedPortfolio'
Code: formula matches method omitted.control omitted.treatment
original
Docs: formula matches original
S4 class codoc mismatches from documentation object 'tradelist-class':
Slots for class 'tradelist'
Code: actual candidates chunk.usd chunks chunks.actual data final
id.var mv.long.orig mv.short.orig price.var rank.gain.min
rank.sorts ranks regions restricted restrictions sorts swaps
swaps.actual target.equity tca to.equity trade.usd.min turnover
type unrestricted verbose
Docs: actual candidates chunk.usd chunks chunks.actual data final
id.var mv.long.orig mv.short.orig rank.sorts ranks regions
restricted restrictions sorts swaps swaps.actual target.equity
tca to.equity trade.usd.min turnover type unrestricted
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking data for non-ASCII characters ... OK
- checking examples ... OK
- checking tests ... ERROR
Running the tests in 'tests/df.category.mean.test.R' failed.
Last 13 lines of output:
>
> ## Invalid input: list contains non-data.frame objects
>
> trial.2 <- try(
+ portfolio:::.df.category.mean(matrix(), array(), data.frame(),
+ by.var = "by.var"), silent = TRUE
+ )
>
> if(class(trial.2) == "try-error"){
+ stopifnot(
+ as.logical(grep("Error.*is\.data\.frame",trial.2[1]))
Error: '\.' is an unrecognized escape in character string starting "Error.*is\."
Execution halted