CRAN Package Check Results for Package portfolio

Last updated on 2015-01-26 01:48:52.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4-6 1.98 43.02 45.00 ERROR
r-devel-linux-x86_64-debian-gcc 0.4-6 1.90 41.94 43.84 ERROR
r-devel-linux-x86_64-fedora-clang 0.4-6 96.85 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4-6 90.53 ERROR
r-devel-osx-x86_64-clang 0.4-6 92.53 ERROR
r-devel-windows-ix86+x86_64 0.4-6 11.00 63.00 74.00 ERROR
r-patched-linux-x86_64 0.4-6 2.06 50.15 52.20 NOTE
r-patched-solaris-sparc 0.4-6 623.10 NOTE
r-patched-solaris-x86 0.4-6 142.60 NOTE
r-release-linux-ix86 0.4-6 2.44 61.60 64.04 NOTE
r-release-linux-x86_64 0.4-6 1.98 51.07 53.05 NOTE
r-release-osx-x86_64-mavericks 0.4-6 NOTE
r-release-osx-x86_64-snowleopard 0.4-6 NOTE
r-release-windows-ix86+x86_64 0.4-6 7.00 76.00 83.00 NOTE
r-oldrel-windows-ix86+x86_64 0.4-6 7.00 73.00 80.00 NOTE

Check Details

Version: 0.4-6
Check: top-level files
Result: NOTE
    Non-standard file/directory found at top level:
     ‘portfolio.Rproj’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.4-6
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:
     ‘grid’ ‘lattice’ ‘methods’ ‘nlme’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
    There are ::: calls to the package's namespace in its code. A package
     almost never needs to use ::: for its own objects:
     ‘.matched.perf.df’ ‘.trellis.multiplot’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, 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.4-6
Check: R code for possible problems
Result: NOTE
    File ‘portfolio/R/AllClasses.R’:
     .onLoad calls:
     require(methods)
    
    Package startup functions should not change the search path.
    See section ‘Good practice’ in '?.onAttach'.
    
    .matchit: no visible global function definition for
     ‘getResponseFormula’
    .matchit: no visible global function definition for
     ‘getCovariateFormula’
    .trellis.multiplot: no visible global function definition for
     ‘grid.newpage’
    .trellis.multiplot: no visible global function definition for
     ‘pushViewport’
    .trellis.multiplot: no visible global function definition for
     ‘viewport’
    .trellis.multiplot: no visible global function definition for
     ‘grid.layout’
    .trellis.multiplot: no visible global function definition for
     ‘popViewport’
    map.market : add.viewport: no visible global function definition for
     ‘gpar’
    map.market : add.viewport: no visible global function definition for
     ‘viewport’
    map.market: no visible global function definition for ‘viewport’
    map.market: no visible global function definition for ‘gTree’
    map.market: no visible global function definition for ‘gList’
    map.market: no visible global function definition for ‘rectGrob’
    map.market: no visible global function definition for ‘gpar’
    map.market: no visible global function definition for ‘addGrob’
    map.market: no visible global function definition for ‘textGrob’
    map.market: no visible global function definition for ‘unit’
    map.market: no visible global function definition for ‘segmentsGrob’
    map.market: no visible global function definition for ‘grid.newpage’
    map.market: no visible global function definition for ‘grid.draw’
    plot,contribution-missing: no visible global function definition for
     ‘barchart’
    plot,exposure-missing: no visible global function definition for
     ‘barchart’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, 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-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-ix86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64

Version: 0.4-6
Check: tests
Result: ERROR
    Running the tests in ‘tests/tradelist.calcCandidates.test.R’ failed.
    Last 13 lines of output:
     > ## Tests the corner case where both portfolios are empty
     >
     > trial.1 <- try(
     + new("tradelist", p.empty, p.empty,
     + turnover = 1000, data = data),
     + silent = TRUE
     + )
     >
     > stopifnot(class(trial.1) == "try-error" &&
     + as.logical(grep("Both portfolios.*empty", trial.1[1]))
     + )
     Error: class(trial.1) == "try-error" && as.logical(grep("Both portfolios.*empty", .... is not TRUE
     Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, 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.4-6
Check: running R code from vignettes
Result: ERROR
    Errors in running code in vignettes:
    when running code in ‘tradelist.Rnw’
     ...
    
    > sorts <- list(alpha = 1.5, ret.1.d = 1)
    
    > tl <- new("tradelist", orig = p.current, target = p.target,
    + sorts = sorts, turnover = 2000, chunk.usd = 2000, data = data,
    + to.equity = .... [TRUNCATED]
    
     When sourcing ‘tradelist.R’:
    Error: invalid names for slots of class “tradelist”: orig, target
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, 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.4-6
Check: re-building of vignette outputs
Result: NOTE
    Error in re-building vignettes:
     ...
    Loading required package: grid
    Loading required package: lattice
    Loading required package: nlme
    Warning: glm.fit: fitted probabilities numerically 0 or 1 occurred
    
    Error: processing vignette ‘tradelist.Rnw’ failed with diagnostics:
     chunk 2
    Error in .nextMethod(.Object = .Object, orig = orig, target = target, :
     invalid names for slots of class “tradelist”: orig, target
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, 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.4-6
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     all.equal
    See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
    manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-osx-x86_64-clang

Version: 0.4-6
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:
     ‘grid’ ‘lattice’ ‘methods’ ‘nlme’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
    There are ::: calls to the package's namespace in its code. A package
     almost never needs to use ::: for its own objects:
     ‘.matched.perf.df’ ‘.trellis.multiplot’
    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-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-ix86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64

Version: 0.4-6
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' 'nlme'
     These packages need to be imported from for the case when
     this namespace is loaded but not attached.
    There are ::: calls to the package's namespace in its code. A package
     almost never needs to use ::: for its own objects:
     '.matched.perf.df' '.trellis.multiplot'
    See the information on DESCRIPTION files in the chapter 'Creating R
    packages' of the 'Writing R Extensions' manual.
Flavor: r-release-osx-x86_64-snowleopard

Version: 0.4-6
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' 'nlme'
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
    There are ::: calls to the package's namespace in its code. A package
     almost never needs to use ::: for its own objects:
     '.matched.perf.df' '.trellis.multiplot'
    See the information on DESCRIPTION files in the chapter 'Creating R
    packages' of the 'Writing R Extensions' manual.
Flavor: r-oldrel-windows-ix86+x86_64