CRAN Package Check Results for Package portfolioSim

Last updated on 2015-01-30 09:54:28.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2-7 1.59 21.02 22.60 ERROR --no-vignettes
r-devel-linux-x86_64-debian-gcc 0.2-7 1.55 20.93 22.48 ERROR --no-vignettes
r-devel-linux-x86_64-fedora-clang 0.2-7 245.72 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2-7 233.12 NOTE
r-devel-osx-x86_64-clang 0.2-7 226.32 NOTE
r-devel-windows-ix86+x86_64 0.2-7 8.00 40.00 48.00 ERROR
r-patched-linux-x86_64 0.2-7 1.67 22.98 24.65 NOTE --no-vignettes
r-patched-solaris-sparc 0.2-7 3424.80 NOTE
r-patched-solaris-x86 0.2-7 586.40 NOTE
r-release-linux-ix86 0.2-7 2.13 30.08 32.21 NOTE --no-vignettes
r-release-linux-x86_64 0.2-7 1.63 23.67 25.30 NOTE --no-vignettes
r-release-osx-x86_64-mavericks 0.2-7 NOTE
r-release-osx-x86_64-snowleopard 0.2-7 ERROR
r-release-windows-ix86+x86_64 0.2-7 6.00 461.00 467.00 NOTE
r-oldrel-windows-ix86+x86_64 0.2-7 6.00 475.00 481.00 NOTE

Check Details

Version: 0.2-7
Flags: --no-vignettes
Check: dependencies in R code
Result: NOTE
    'library' or 'require' call to ‘methods’ which was already attached by Depends.
     Please remove these calls from your code.
    Packages in Depends field not imported from:
     ‘lattice’ ‘methods’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.2-7
Flags: --no-vignettes
Check: R code for possible problems
Result: NOTE
    File ‘portfolioSim/R/AllClasses.R’:
     .onLoad calls:
     require(methods)
    
    Package startup functions should not change the search path.
    See section ‘Good practice’ in '?.onAttach'.
    
    plot,simResult-missing: no visible global function definition for
     ‘xyplot’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-ix86, r-release-linux-x86_64

Version: 0.2-7
Flags: --no-vignettes
Check: tests
Result: ERROR
    Running the tests in ‘tests/stiFromSignal.getSimTrades.test.R’ failed.
    Last 13 lines of output:
     Loading required package: nlme
     >
     > load("stiFromSignal.getSimTrades.test.RData")
     >
     > ## save(stiFS.1, stiFS.2, stiFS.3, env.1, env.2, holdings.1, holdings.2, sd.1, sd.2, sd.3, truth.1, truth.2, truth.3, truth.4, truth.5, file = "stiFromSignal.getSimTrades.test.RData", compress = TRUE)
     >
     > ## No holdings, no target
     >
     > result.1 <- getSimTrades(stiFS.1, period = 1, holdings = new("portfolio"), sim.data = sd.1, verbose = FALSE)
     Error in .nextMethod(.Object = .Object, orig = orig, target = target, :
     invalid names for slots of class "tradelist": orig, target
     Calls: getSimTrades ... initialize -> .local -> callNextMethod -> .nextMethod
     Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.2-7
Check: dependencies in R code
Result: NOTE
    'library' or 'require' call to ‘methods’ which was already attached by Depends.
     Please remove these calls from your code.
    Packages in Depends field not imported from:
     ‘lattice’ ‘methods’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-osx-x86_64-clang, r-devel-windows-ix86+x86_64

Version: 0.2-7
Check: R code for possible problems
Result: NOTE
    File ‘portfolioSim/R/AllClasses.R’:
     .onLoad calls:
     require(methods)
    
    Package startup functions should not change the search path.
    See section ‘Good practice’ in '?.onAttach'.
    
    plot,simResult-missing: no visible global function definition for
     ‘xyplot’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64

Version: 0.2-7
Check: tests
Result: ERROR
    Running the tests in 'tests/stiFromSignal.getSimTrades.test.R' failed.
    Last 13 lines of output:
     Loading required package: nlme
     >
     > load("stiFromSignal.getSimTrades.test.RData")
     >
     > ## save(stiFS.1, stiFS.2, stiFS.3, env.1, env.2, holdings.1, holdings.2, sd.1, sd.2, sd.3, truth.1, truth.2, truth.3, truth.4, truth.5, file = "stiFromSignal.getSimTrades.test.RData", compress = TRUE)
     >
     > ## No holdings, no target
     >
     > result.1 <- getSimTrades(stiFS.1, period = 1, holdings = new("portfolio"), sim.data = sd.1, verbose = FALSE)
     Error in .nextMethod(.Object = .Object, orig = orig, target = target, :
     invalid names for slots of class "tradelist": orig, target
     Calls: getSimTrades ... initialize -> .local -> callNextMethod -> .nextMethod
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.2-7
Check: running R code from vignettes
Result: ERROR
    Errors in running code in vignettes:
    when running code in 'portfolioSim.Rnw'
     ...
    > result <- runSim(ps, verbose = FALSE)
    
    > summary(result)
    
    Simulation summary:
    
    
     When sourcing 'portfolioSim.R':
    Error: trying to get slot "period.data" from an object of a basic class ("NULL") with no slots
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.2-7
Check: re-building of vignette outputs
Result: NOTE
    Error in re-building vignettes:
     ...
    Loading required package: lattice
    Loading required package: portfolio
    Loading required package: grid
    Loading required package: nlme
    Warning in is.na(x) :
     is.na() applied to non-(list or vector) of type 'NULL'
    Warning in is.na(x) :
     is.na() applied to non-(list or vector) of type 'NULL'
    Warning in is.na(x) :
     is.na() applied to non-(list or vector) of type 'NULL'
    
    Error: processing vignette 'portfolioSim.Rnw' failed with diagnostics:
     chunk 28
    Error in data.frame(period = x@period.data@period, start = x@start.data@instant, :
     trying to get slot "period.data" from an object of a basic class ("NULL") with no slots
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.2-7
Flags: --no-vignettes
Check: dependencies in R code
Result: NOTE
    'library' or 'require' call to ‘methods’ which was already attached by Depends.
     Please remove these calls from your code.
    Packages in Depends field not imported from:
     ‘lattice’ ‘methods’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
    See the information on DESCRIPTION files in the chapter ‘Creating R
    packages’ of the ‘Writing R Extensions’ manual.
Flavors: r-patched-linux-x86_64, r-release-linux-ix86, r-release-linux-x86_64

Version: 0.2-7
Check: dependencies in R code
Result: NOTE
    'library' or 'require' call to ‘methods’ which was already attached by Depends.
     Please remove these calls from your code.
    Packages in Depends field not imported from:
     ‘lattice’ ‘methods’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
    See the information on DESCRIPTION files in the chapter ‘Creating R
    packages’ of the ‘Writing R Extensions’ manual.
Flavors: r-patched-solaris-sparc, r-patched-solaris-x86, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.2-7
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-release-osx-x86_64-snowleopard