CRAN Package Check Results for Package yacca

Last updated on 2018-04-26 10:47:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1 1.19 16.10 17.29 ERROR
r-devel-linux-x86_64-debian-gcc 1.1 1.18 15.08 16.26 ERROR
r-devel-linux-x86_64-fedora-clang 1.1 24.89 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1 23.51 NOTE
r-devel-windows-ix86+x86_64 1.1 4.00 31.00 35.00 NOTE
r-patched-linux-x86_64 1.1 1.76 18.48 20.24 ERROR
r-patched-solaris-x86 1.1 40.70 NOTE
r-release-linux-x86_64 1.1 1.14 18.50 19.64 ERROR
r-release-windows-ix86+x86_64 1.1 4.00 31.00 35.00 NOTE
r-release-osx-x86_64 1.1 NOTE
r-oldrel-windows-ix86+x86_64 1.1 2.00 30.00 32.00 NOTE
r-oldrel-osx-x86_64 1.1 NOTE

Check Details

Version: 1.1
Check: top-level files
Result: NOTE
    Non-standard file/directory found at top level:
     ‘CONTRIBUTORS’
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: 1.1
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     plot.cca print.F.test.cca print.cca print.summary.cca summary.cca
    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: 1.1
Check: R code for possible problems
Result: NOTE
    NB: .First.lib is obsolete and will not be used in R >= 3.0.0
    File ‘yacca/R/zzz.R’:
     .First.lib calls:
     cat(paste("'", ehelp[4], "'\n", "Version ", ehelp[2], " created on ", ehelp[3], ".\n", sep = ""))
     cat(paste(substring(ehelp[3], first = 16), "\n", "Version ", substring(ehelp[4], first = 16), " created on ", substring(ehelp[5], first = 16), ".\n", sep = ""))
     cat("Copyright (c) 2008, Carter T. Butts, University of California-Irvine\n")
     cat("For citation information, type citation(\"yacca\").\n")
     cat("Type help(\"yacca-package\") to get started.\n")
    
    Package startup functions should use ‘packageStartupMessage’ to
     generate messages.
    See section ‘Good practice’ in '?.onAttach'.
    
    F.test.cca: no visible global function definition for ‘pf’
    cca: no visible global function definition for ‘cov’
    cca: no visible binding for global variable ‘sd’
    cca: no visible global function definition for ‘cor’
    helio.plot: no visible global function definition for ‘plot.new’
    helio.plot: no visible global function definition for ‘plot.window’
    helio.plot: no visible global function definition for ‘lines’
    helio.plot: no visible global function definition for ‘text’
    helio.plot: no visible global function definition for ‘polygon’
    helio.plot: no visible global function definition for ‘title’
    plot.cca: no visible global function definition for ‘par’
    plot.cca: no visible global function definition for ‘plot’
    plot.cca: no visible global function definition for ‘abline’
    plot.cca: no visible global function definition for ‘text’
    plot.cca: no visible global function definition for ‘barplot’
    plot.cca: no visible global function definition for ‘rainbow’
    print.F.test.cca: no visible global function definition for
     ‘printCoefmat’
    print.summary.cca: no visible global function definition for ‘pchisq’
    print.summary.cca: no visible global function definition for
     ‘printCoefmat’
    Undefined global functions or variables:
     abline barplot cor cov lines par pchisq pf plot plot.new plot.window
     polygon printCoefmat rainbow sd text title
    Consider adding
     importFrom("grDevices", "rainbow")
     importFrom("graphics", "abline", "barplot", "lines", "par", "plot",
     "plot.new", "plot.window", "polygon", "text", "title")
     importFrom("stats", "cor", "cov", "pchisq", "pf", "printCoefmat", "sd")
    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: 1.1
Check: examples
Result: ERROR
    Running examples in ‘yacca-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: cca
    > ### Title: Canonical Correlation Analysis
    > ### Aliases: cca print.cca print.summary.cca summary.cca plot.cca
    > ### Keywords: models multivariate
    >
    > ### ** Examples
    >
    > #Example parallels the R builtin cancor example
    > data(LifeCycleSavings)
    > pop <- LifeCycleSavings[, 2:3]
    > oec <- LifeCycleSavings[, -(2:3)]
    > cca.fit <- cca(pop, oec)
    >
    > #View the results
    > cca.fit
    $corr
     CV 1 CV 2
    0.8247966 0.3652762
    
    $corrsq
     CV 1 CV 2
    0.6802894 0.1334267
    
    $xcoef
     CV 1 CV 2
    pop15 -0.06377599 -0.2535544
    pop75 0.34053260 -1.8221811
    
    $ycoef
     CV 1 CV 2
    sr 0.0592971550 0.2336554912
    dpi 0.0009151786 -0.0005311762
    ddpi 0.0291942000 -0.0858752749
    
    $canvarx
     CV 1 CV 2
    Australia 0.56253600 0.40390249
    Austria 1.47152544 -0.87332319
    Belgium 1.44772362 -1.03147293
    Bolivia -0.64585407 -0.58905269
    Brazil -0.95103425 0.86551308
    Canada 0.40457624 -0.16057787
    Chile -0.62111144 0.55740907
    China -1.16878601 0.50796273
    Colombia -1.15651493 -0.68190575
    Costa Rica -1.19304831 -1.08123466
    Denmark 1.23791620 -0.27758614
    Ecuador -1.09119961 -0.83511633
    Finland 0.48857145 1.69786021
    France 1.45930966 -1.84294039
    Germany 1.11119865 1.06072429
    Greece 0.87874295 0.93055884
    Guatamala -1.18358828 -0.18609424
    Honduras -1.36333825 0.02032415
    Iceland 0.33557620 -1.16539024
    India -0.85064214 0.85175743
    Ireland 0.89660448 -2.46031003
    Italy 1.07829893 0.51703990
    Japan 0.38486053 2.74651367
    Korea -0.89509245 0.83383808
    Luxembourg 1.33690279 0.75116267
    Malta 0.22287754 0.32393631
    Norway 1.05180046 -0.19175733
    Netherlands 0.98785900 0.88796621
    New Zealand 0.45678604 -0.96933925
    Nicaragua -1.00339345 -0.54954583
    Panama -0.91241030 -0.15606348
    Paraguay -0.81170333 0.72072321
    Peru -0.92534657 -0.46157725
    Philippines -1.11184809 -0.69488593
    Portugal 0.58059799 0.53923234
    South Africa 0.19644195 0.82228337
    South Rhodesia -0.06108731 2.21221207
    Spain 0.66521535 0.81212511
    Sweden 1.63569355 -0.63352441
    Switzerland 1.22912136 0.32265569
    Turkey -0.94434558 0.09809587
    Tunisia -1.07227152 -0.82338461
    United Kingdom 1.49174087 -0.95175452
    United States 0.72389730 -0.73315394
    Venezuela -1.19569390 -0.32950372
    Zambia -1.23813259 0.58162543
    Jamaica -0.57631460 -0.50314665
    Uruguay 0.58926282 0.98656605
    Libya -0.62443782 -1.77432308
    Malaysia -1.32844252 -0.09502380
    
    $canvary
     CV 1 CV 2
    Australia 1.197582618 -0.16236396
    Austria 0.514485534 0.33260994
    Belgium 1.126047497 0.28011657
    Bolivia -1.175575433 -0.12494843
    Brazil -0.132491457 0.88183195
    Canada 1.625987352 -1.08839364
    Chile -0.975882427 -1.79030274
    China -0.535391632 0.71855258
    Colombia -1.057642399 -0.59695499
    Costa Rica -0.543808669 0.67893036
    Denmark 1.704368254 0.91924174
    Ecuador -1.155871496 -0.85121380
    Finland 0.635218480 0.01315294
    France 1.211470012 0.04020705
    Germany 1.397266488 -0.01731182
    Greece -0.083021015 0.14211897
    Guatamala -1.209216281 -0.92679302
    Honduras -0.933602822 0.05262497
    Iceland 0.150891245 -2.15783934
    India -1.036015081 0.57429510
    Ireland 0.106933726 0.43825829
    Italy 0.526164584 0.94515342
    Japan 0.945445589 2.20814404
    Korea -1.100359257 -1.02841475
    Luxembourg 1.205145263 -0.36666114
    Malta 0.009000439 1.25130272
    Norway 1.059225255 -0.45008336
    Netherlands 0.989337775 0.49151632
    New Zealand 0.349384397 0.20271478
    Nicaragua -0.892846437 -0.02931829
    Panama -0.807040147 -0.92369850
    Paraguay -1.344342456 -1.08273725
    Peru -0.557284192 1.34827236
    Philippines -0.740722188 1.38450895
    Portugal -0.206695290 0.61907452
    South Africa -0.375656978 0.71988759
    South Rhodesia -0.619330744 1.45344991
    Spain -0.167542079 0.61909114
    Sweden 1.818231179 -1.75733210
    Switzerland 1.628446935 0.32307189
    Turkey -0.948826794 -0.61162985
    Tunisia -1.267754398 -0.92230572
    United Kingdom 0.485816535 -0.66038997
    United States 2.486211894 -1.91878127
    Venezuela -0.389454702 0.32762273
    Zambia -0.318834488 2.47265581
    Jamaica -0.591415820 -0.62589387
    Uruguay -0.391732707 0.24124982
    Libya -0.567959967 -0.77253487
    Malaysia -1.046343696 -0.81375377
    
    $xstructcorr
     CV 1 CV 2
    pop15 -0.9829821 -0.1837015
    pop75 0.9697929 -0.2439299
    
    $ystructcorr
     CV 1 CV 2
    sr 0.4910379 0.8557760
    dpi 0.9545172 -0.2637266
    ddpi 0.0473377 0.1407737
    
    $xstructcorrsq
     CV 1 CV 2
    pop15 0.9662538 0.03374625
    pop75 0.9404982 0.05950179
    
    $ystructcorrsq
     CV 1 CV 2
    sr 0.241118178 0.73235251
    dpi 0.911103077 0.06955175
    ddpi 0.002240858 0.01981724
    
    $xcrosscorr
     CV 1 CV 2
    pop15 -0.8107603 -0.06710179
    pop75 0.7998819 -0.08910177
    
    $ycrosscorr
     CV 1 CV 2
    sr 0.40500636 0.31259455
    dpi 0.78728255 -0.09633306
    ddpi 0.03904398 0.05142128
    
    $xcrosscorrsq
     CV 1 CV 2
    pop15 0.6573322 0.004502650
    pop75 0.6398110 0.007939126
    
    $ycrosscorrsq
     CV 1 CV 2
    sr 0.164030152 0.097715355
    dpi 0.619813811 0.009280058
    ddpi 0.001524432 0.002644148
    
    $xcancom
    pop15 pop75
     1 1
    
    $ycancom
     sr dpi ddpi
    0.97347069 0.98065482 0.02205809
    
    $xcanvad
     CV 1 CV 2
    0.95337598 0.04662402
    
    $ycanvad
     CV 1 CV 2
    0.3848207 0.2739072
    
    $xvrd
     CV 1 CV 2
    0.648571620 0.006220888
    
    $yvrd
     CV 1 CV 2
    0.26178947 0.03654652
    
    $xrd
    [1] 0.6547925
    
    $yrd
    [1] 0.298336
    
    $chisq
     CV 1 CV 2
    59.043197 6.587593
    
    $df
    CV 1 CV 2
     6 2
    
    $xlab
    [1] "pop15" "pop75"
    
    $ylab
    [1] "sr" "dpi" "ddpi"
    
    attr(,"class")
    [1] "cca"
    > summary(cca.fit)
     Length Class Mode
    corr 2 -none- numeric
    corrsq 2 -none- numeric
    xcoef 4 -none- numeric
    ycoef 6 -none- numeric
    canvarx 100 -none- numeric
    canvary 100 -none- numeric
    xstructcorr 4 -none- numeric
    ystructcorr 6 -none- numeric
    xstructcorrsq 4 -none- numeric
    ystructcorrsq 6 -none- numeric
    xcrosscorr 4 -none- numeric
    ycrosscorr 6 -none- numeric
    xcrosscorrsq 4 -none- numeric
    ycrosscorrsq 6 -none- numeric
    xcancom 2 -none- numeric
    ycancom 3 -none- numeric
    xcanvad 2 -none- numeric
    ycanvad 2 -none- numeric
    xvrd 2 -none- numeric
    yvrd 2 -none- numeric
    xrd 1 -none- numeric
    yrd 1 -none- numeric
    chisq 2 -none- numeric
    df 2 -none- numeric
    xlab 2 -none- character
    ylab 3 -none- character
    > plot(cca.fit)
    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