CRAN Package Check Results for Package financial

Last updated on 2018-06-17 19:49:40 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2 1.73 19.33 21.06 ERROR
r-devel-linux-x86_64-debian-gcc 0.2 1.43 15.06 16.49 ERROR
r-devel-linux-x86_64-fedora-clang 0.2 24.27 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2 22.82 NOTE
r-devel-windows-ix86+x86_64 0.2 4.00 31.00 35.00 NOTE
r-patched-linux-x86_64 0.2 1.20 17.88 19.08 ERROR
r-patched-solaris-x86 0.2 36.90 NOTE
r-release-linux-x86_64 0.2 1.49 17.93 19.42 ERROR
r-release-windows-ix86+x86_64 0.2 5.00 31.00 36.00 NOTE
r-release-osx-x86_64 0.2 NOTE
r-oldrel-windows-ix86+x86_64 0.2 2.00 28.00 30.00 NOTE
r-oldrel-osx-x86_64 0.2 NOTE

Check Details

Version: 0.2
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     plot.cf plot.tvm print.cf print.tvm summary.cf summary.tvm update.cf
     update.tvm
    See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
    manual.
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-patched-solaris-x86, r-release-linux-x86_64

Version: 0.2
Check: R code for possible problems
Result: NOTE
    plot.cf: no visible global function definition for ‘barplot’
    plot.cf: no visible global function definition for ‘lines’
    plot.cf: no visible global function definition for ‘abline’
    plot.cf: no visible global function definition for ‘axis’
    plot.cf: no visible global function definition for ‘curve’
    plot.tvm: no visible global function definition for ‘barplot’
    plot.tvm: no visible global function definition for ‘lines’
    tvm: no visible global function definition for ‘uniroot’
    update.tvm: no visible global function definition for ‘uniroot’
    Undefined global functions or variables:
     abline axis barplot curve lines uniroot
    Consider adding
     importFrom("graphics", "abline", "axis", "barplot", "curve", "lines")
     importFrom("stats", "uniroot")
    to your NAMESPACE file.
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-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.2
Check: examples
Result: ERROR
    Running examples in ‘financial-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: cf
    > ### Title: Cash Flow model
    > ### Aliases: cf print.cf
    > ### Keywords: models
    >
    > ### ** Examples
    >
    > y = cf(c(-2500,6250,-3800),1:10,2:11,4:13)
    > y
    $mirr
     Safe% Rein% MIRR%
    1 2 4 2.785756
    2 3 5 3.876256
    3 4 6 4.962947
    4 5 7 6.045793
    5 6 8 7.124763
    6 7 9 8.199829
    7 8 10 9.270961
    8 9 11 10.338136
    9 10 12 11.401330
    10 11 13 12.460523
    
    $cf
     1 2 3
    -2500 6250 -3800
    
    $irr
    [1] 4.384472 45.615528
    
    $ext
    [1] 21.6
    
    $tab
     I% NPV NFV NUS
    1 1 -37.006176 -37.75 -18.781095
    2 2 -24.990388 -26.00 -12.871287
    3 3 -13.903290 -14.75 -7.266010
    4 4 -3.698225 -4.00 -1.960784
    5 5 5.668934 6.25 3.048780
    6 6 14.239943 16.00 7.766990
    7 7 22.054328 25.25 12.198068
    8 8 29.149520 34.00 16.346154
    9 9 35.560980 42.25 20.215311
    10 10 41.322314 50.00 23.809524
    
    attr(,"class")
    [1] "cf"
    > summary(y)
     Length Class Mode
    mirr 30 -none- numeric
    cf 3 -none- numeric
    irr 2 -none- numeric
    ext 1 -none- numeric
    tab 40 -none- numeric
    > plot(y)
    Error in xy.coords(x, y, xlabel, ylabel, log) :
     'x' is a list, but does not have components 'x' and 'y'
    Calls: plot -> plot.default -> xy.coords
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64