CRAN Package Check Results for Package dominanceanalysis

Last updated on 2022-01-28 23:00:32 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.0 3.31 100.31 103.62 OK
r-devel-linux-x86_64-debian-gcc 2.0.0 2.87 74.43 77.30 OK
r-devel-linux-x86_64-fedora-clang 2.0.0 126.93 OK
r-devel-linux-x86_64-fedora-gcc 2.0.0 120.41 OK
r-devel-windows-x86_64-new-UL 2.0.0 264.00 132.00 396.00 OK
r-devel-windows-x86_64-new-TK 2.0.0 ERROR
r-patched-linux-x86_64 2.0.0 4.44 88.23 92.67 OK
r-release-linux-x86_64 2.0.0 3.67 86.86 90.53 OK
r-release-macos-arm64 2.0.0 OK
r-release-macos-x86_64 2.0.0 OK
r-release-windows-ix86+x86_64 2.0.0 8.00 111.00 119.00 OK
r-oldrel-macos-x86_64 2.0.0 OK
r-oldrel-windows-ix86+x86_64 2.0.0 7.00 111.00 118.00 OK

Check Details

Version: 2.0.0
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking: 'lme4', 'car', 'dynlm'
Flavor: r-devel-windows-x86_64-new-TK

Version: 2.0.0
Check: examples
Result: ERROR
    Running examples in 'dominanceanalysis-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: dominanceanalysis-package
    > ### Title: Dominance analysis for general, generalized and mixed linear
    > ### models
    > ### Aliases: dominanceanalysis-package dominanceanalysis
    >
    > ### ** Examples
    >
    > # Basic dominance analysis
    >
    > data(longley)
    > lm.1<-lm(Employed~.,longley)
    > da<-dominanceAnalysis(lm.1)
    > print(da)
    
    Dominance analysis
    Predictors: GNP.deflator, GNP, Unemployed, Armed.Forces, Population, Year
    Fit-indices: r2
    
    * Fit index: r2
     complete conditional general
    GNP.deflator Unmp,Ar.F,Pplt
    GNP Pplt GNP.,Pplt GNP.,Unmp,Ar.F,Pplt,Year
    Unemployed Ar.F
    Armed.Forces
    Population Unmp,Ar.F
    Year GNP.,Pplt GNP.,Unmp,Ar.F,Pplt
    
    Average contribution:
     GNP Year GNP.deflator Population Unemployed Armed.Forces
     0.230 0.219 0.214 0.212 0.070 0.051
    > summary(da)
    
    * Fit index: r2
    
    Average contribution of each variable:
    
     GNP Year GNP.deflator Population Unemployed Armed.Forces
     0.230 0.219 0.214 0.212 0.070 0.051
    
    Dominance Analysis matrix:
     model level fit
     1 0 0
     GNP.deflator 1 0.943
     GNP 1 0.967
     Unemployed 1 0.253
     Armed.Forces 1 0.209
     Population 1 0.922
     Year 1 0.943
     Average level 1 1
     GNP.deflator+GNP 2 0.969
     GNP.deflator+Unemployed 2 0.959
     GNP.deflator+Armed.Forces 2 0.943
     GNP.deflator+Population 2 0.945
     GNP.deflator+Year 2 0.947
     GNP+Unemployed 2 0.981
     GNP+Armed.Forces 2 0.968
     GNP+Population 2 0.979
     GNP+Year 2 0.973
     Unemployed+Armed.Forces 2 0.561
     Unemployed+Population 2 0.969
     Unemployed+Year 2 0.982
     Armed.Forces+Population 2 0.936
     Armed.Forces+Year 2 0.947
     Population+Year 2 0.946
     Average level 2 2
     GNP.deflator+GNP+Unemployed 3 0.981
     GNP.deflator+GNP+Armed.Forces 3 0.969
     GNP.deflator+GNP+Population 3 0.982
     GNP.deflator+GNP+Year 3 0.974
     GNP.deflator+Unemployed+Armed.Forces 3 0.97
     GNP.deflator+Unemployed+Population 3 0.975
     GNP.deflator+Unemployed+Year 3 0.983
     GNP.deflator+Armed.Forces+Population 3 0.946
     GNP.deflator+Armed.Forces+Year 3 0.948
     GNP.deflator+Population+Year 3 0.948
     GNP+Unemployed+Armed.Forces 3 0.985
     GNP+Unemployed+Population 3 0.981
     GNP+Unemployed+Year 3 0.982
     GNP+Armed.Forces+Population 3 0.984
     GNP+Armed.Forces+Year 3 0.973
     GNP+Population+Year 3 0.979
     Unemployed+Armed.Forces+Population 3 0.97
     Unemployed+Armed.Forces+Year 3 0.993
     Unemployed+Population+Year 3 0.982
     Armed.Forces+Population+Year 3 0.947
     Average level 3 3
     GNP.deflator+GNP+Unemployed+Armed.Forces 4 0.985
     GNP.deflator+GNP+Unemployed+Population 4 0.982
     GNP.deflator+GNP+Unemployed+Year 4 0.983
     GNP.deflator+GNP+Armed.Forces+Population 4 0.986
     GNP.deflator+GNP+Armed.Forces+Year 4 0.974
     GNP.deflator+GNP+Population+Year 4 0.983
     GNP.deflator+Unemployed+Armed.Forces+Population 4 0.981
     GNP.deflator+Unemployed+Armed.Forces+Year 4 0.993
     GNP.deflator+Unemployed+Population+Year 4 0.983
     GNP.deflator+Armed.Forces+Population+Year 4 0.949
     GNP+Unemployed+Armed.Forces+Population 4 0.987
     GNP+Unemployed+Armed.Forces+Year 4 0.995
     GNP+Unemployed+Population+Year 4 0.983
     GNP+Armed.Forces+Population+Year 4 0.984
     Unemployed+Armed.Forces+Population+Year 4 0.995
     Average level 4 4
     GNP.deflator+GNP+Unemployed+Armed.Forces+Population 5 0.987
     GNP.deflator+GNP+Unemployed+Armed.Forces+Year 5 0.995
     GNP.deflator+GNP+Unemployed+Population+Year 5 0.984
     GNP.deflator+GNP+Armed.Forces+Population+Year 5 0.987
     GNP.deflator+Unemployed+Armed.Forces+Population+Year 5 0.995
     GNP+Unemployed+Armed.Forces+Population+Year 5 0.995
     Average level 5 5
     GNP.deflator+GNP+Unemployed+Armed.Forces+Population+Year 6 0.995
     GNP.deflator GNP Unemployed Armed.Forces Population Year
     0.943 0.967 0.253 0.209 0.922 0.943
     0.026 0.016 0 0.002 0.005
     0.001 0.013 0 0.012 0.006
     0.706 0.728 0.308 0.716 0.73
     0.734 0.759 0.352 0.727 0.738
     0.023 0.057 0.047 0.013 0.023
     0.004 0.03 0.039 0.003 0.002
     0.294 0.32 0.093 0.065 0.292 0.3
     0.012 0.001 0.014 0.005
     0.022 0.011 0.016 0.024
     0.027 0.028 0.004 0.006
     0.037 0.03 0.001 0.003
     0.026 0.036 0.001 0.001
     0 0.004 0.001 0.002
     0.001 0.017 0.016 0.006
     0.003 0.002 0.004 0
     0 0.009 0 0.006
     0.409 0.424 0.409 0.432
     0.006 0.012 0.001 0.013
     0.001 0 0.011 0
     0.011 0.048 0.034 0.012
     0.002 0.027 0.046 0
     0.002 0.034 0.037 0.002
     0.044 0.066 0.025 0.004 0.047 0.05
     0.005 0.002 0.002
     0.016 0.017 0.004
     0 0.004 0
     0.01 0 0.009
     0.015 0.011 0.023
     0.007 0.006 0.008
     0 0.01 0
     0.04 0.035 0.002
     0.025 0.044 0
     0.035 0.035 0.001
     0 0.002 0.01
     0.001 0.006 0.001
     0.001 0.013 0
     0.003 0.004 0
     0 0.022 0.01
     0.003 0.003 0.004
     0.011 0.018 0.025
     0 0.003 0.002
     0.001 0 0.012
     0.001 0.036 0.048
     0.002 0.018 0.022 0.006 0.005 0.008
     0.002 0.01
     0.005 0.001
     0.012 0.001
     0.001 0.001
     0.022 0.013
     0.001 0.004
     0.006 0.014
     0.003 0.002
     0.001 0.012
     0.038 0.046
     0 0.008
     0 0
     0.001 0.013
     0.003 0.012
     0 0.001
     0.001 0.01 0.016 0.009 0.004 0.007
     0.008
     0
     0.012
     0.009
     0.001
     0
     0 0.001 0.009 0.012 0 0.008
    
    > plot(da,which.graph='complete')
    Warning: `guides(<scale> = FALSE)` is deprecated. Please use `guides(<scale> = "none")` instead.
    > plot(da,which.graph='conditional')
    Warning: `guides(<scale> = FALSE)` is deprecated. Please use `guides(<scale> = "none")` instead.
    > plot(da,which.graph='general')
    >
    > # Dominance analysis for HLM
    >
    > library(lme4)
    Error in library(lme4) : there is no package called 'lme4'
    Execution halted
Flavor: r-devel-windows-x86_64-new-TK

Version: 2.0.0
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(dominanceanalysis)
     >
     > test_check("dominanceanalysis")
     [ FAIL 7 | WARN 3 | SKIP 0 | PASS 161 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-da-with-lmm.R:3:1): (code run outside of `test_that()`) ─────────
     <packageNotFoundError/error/condition>
     Error in `library(lme4)`: there is no package called 'lme4'
     Backtrace:
     █
     1. └─base::library(lme4) test-da-with-lmm.R:3:0
     ── Error (test-daAverageBootstrap.R:55:3): should work for lme4 ────────────────
     <packageNotFoundError/error/condition>
     Error in `library(lme4)`: there is no package called 'lme4'
     Backtrace:
     █
     1. └─base::library(lme4) test-daAverageBootstrap.R:55:2
     ── Error (test-daSubModels.R:74:2): Correct submodels for standard data.frame and lmer ──
     Error in `lmer(y ~ xa + xb + xc + (1 | g), d.f)`: could not find function "lmer"
     ── Error (test-dominanceanalysis-with-dynlm.R:3:1): (code run outside of `test_that()`) ──
     <packageNotFoundError/error/condition>
     Error in `library(dynlm)`: there is no package called 'dynlm'
     Backtrace:
     █
     1. └─base::library(dynlm) test-dominanceanalysis-with-dynlm.R:3:0
     ── Error (test-getdata-method.R:2:1): (code run outside of `test_that()`) ──────
     <packageNotFoundError/error/condition>
     Error in `library(lme4)`: there is no package called 'lme4'
     Backtrace:
     █
     1. └─base::library(lme4) test-getdata-method.R:2:0
     ── Error (test-lmWithCovsMlm.R:3:1): (code run outside of `test_that()`) ───────
     <packageNotFoundError/error/condition>
     Error in `library(car)`: there is no package called 'car'
     Backtrace:
     █
     1. └─base::library(car) test-lmWithCovsMlm.R:3:0
     ── Error (test-lmmR2-lme4.R:2:1): (code run outside of `test_that()`) ──────────
     <packageNotFoundError/error/condition>
     Error in `library(lme4)`: there is no package called 'lme4'
     Backtrace:
     █
     1. └─base::library(lme4) test-lmmR2-lme4.R:2:0
    
     [ FAIL 7 | WARN 3 | SKIP 0 | PASS 161 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK