CRAN Package Check Results for Package dominanceanalysis

Last updated on 2022-05-01 16:51:53 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.0 3.23 97.70 100.93 WARN
r-devel-linux-x86_64-debian-gcc 2.0.0 2.88 49.52 52.40 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.0 117.53 WARN
r-devel-linux-x86_64-fedora-gcc 2.0.0 113.23 WARN
r-devel-windows-x86_64 2.0.0 151.00 124.00 275.00 WARN
r-patched-linux-x86_64 2.0.0 4.86 91.86 96.72 OK
r-release-linux-x86_64 2.0.0 2.79 91.67 94.46 OK
r-release-macos-arm64 2.0.0 35.00 OK
r-release-macos-x86_64 2.0.0 59.00 OK
r-release-windows-x86_64 2.0.0 103.00 124.00 227.00 OK
r-oldrel-macos-arm64 2.0.0 40.00 OK
r-oldrel-macos-x86_64 2.0.0 75.00 OK
r-oldrel-windows-ix86+x86_64 2.0.0 6.00 82.00 88.00 OK

Check Details

Version: 2.0.0
Check: Rd files
Result: WARN
    checkRd: (7) dominanceanalysis-package.Rd:98: invalid email address: clbustos_at_gmail_com
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-x86_64

Version: 2.0.0
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking:
     'lme4', 'car', 'dynlm', 'betareg'
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.0.0
Check: examples
Result: ERROR
    Running examples in ‘dominanceanalysis-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### 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-linux-x86_64-debian-gcc

Version: 2.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [6s/8s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(dominanceanalysis)
     >
     > test_check("dominanceanalysis")
     [ FAIL 9 | WARN 3 | SKIP 0 | PASS 151 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-beta-with-gasolineyield-example.R:2:1): (code run outside of `test_that()`) ──
     <packageNotFoundError/error/condition>
     Error in `library(betareg)`: there is no package called 'betareg'
     Backtrace:
     ▆
     1. └─base::library(betareg) at test-beta-with-gasolineyield-example.R:2:0
     ── 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) at test-da-with-lmm.R:3:0
     ── Error (test-daAverageBootstrap.R:47:3): should work for betareg ─────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'betareg'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-daAverageBootstrap.R:47:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base withOneRestart(expr, restarts[[1L]])
     4. └─base doWithOneRestart(return(expr), restart)
     ── 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) at 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) at 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) at 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) at 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) at test-lmmR2-lme4.R:2:0
    
     [ FAIL 9 | WARN 3 | SKIP 0 | PASS 151 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc