CRAN Package Check Results for Package BAS

Last updated on 2020-01-20 08:55:10 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-fedora-clang 1.5.4 193.49 WARN
r-patched-solaris-x86 1.5.4 322.10 ERROR
r-release-osx-x86_64 1.5.3 OK
r-oldrel-osx-x86_64 1.5.3 OK

Check Details

Version: 1.5.4
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘BAS-vignette.Rmd’ using rmarkdown
    Quitting from lines 463-466 (BAS-vignette.Rmd)
    Error: processing vignette 'BAS-vignette.Rmd' failed with diagnostics:
    cannot open the connection to 'https://stat.duke.edu/sites/stat.duke.edu/files/climate.dat'
    --- failed re-building ‘BAS-vignette.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘BAS-vignette.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.5.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [31s/35s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(BAS)
     >
     > test_check("BAS")
     ── 1. Failure: herdity and BAS (@test-bas-glm.R#418) ──────────────────────────
     pima_BAS$probne0 not equal to pima_BAS_no$probne0.
     6/7 mismatches (average diff: 0.0696)
     [2] 0.11013 - 0.1136 == -3.47e-03
     [3] 1.00000 - 1.0000 == -2.54e-06
     [4] 0.63062 - 0.8284 == -1.98e-01
     [5] 0.02193 - 0.0220 == -1.03e-04
     [6] 0.00771 - 0.0101 == -2.42e-03
     [7] 0.31878 - 0.1051 == 2.14e-01
    
     ── 2. Failure: heredity and bas.lm (@test-bas-lm.R#271) ───────────────────────
     pima_BAS$probne0 not equal to pima_BAS_no$probne0.
     6/7 mismatches (average diff: 0.0858)
     [2] 0.10180 - 0.10419 == -2.39e-03
     [3] 1.00000 - 1.00000 == -9.32e-07
     [4] 0.65447 - 0.90727 == -2.53e-01
     [5] 0.01025 - 0.01015 == 1.00e-04
     [6] 0.00566 - 0.00784 == -2.19e-03
     [7] 0.33335 - 0.07584 == 2.58e-01
    
     ── 3. Failure: heredity and bas.lm (@test-bas-lm.R#272) ───────────────────────
     pima_BAS$n.models not equal to pima_BAS_no$n.models.
     1/1 mismatches
     [1] 26 - 18 == 8
    
     ── 4. Failure: heredity and bas.lm (@test-bas-lm.R#273) ───────────────────────
     sort(pima_BAS$R2) not equal to sort(pima_BAS_no$R2).
     Lengths differ: 26 is not 18
    
     ── 5. Failure: heredity and bas.lm (@test-bas-lm.R#274) ───────────────────────
     sort(pima_BAS$R2) not equal to sort(pima_BAS_no$R2).
     Lengths differ: 26 is not 18
    
     ── 6. Failure: heredity and bas.lm (@test-bas-lm.R#275) ───────────────────────
     sort(pima_BAS$logmarg) not equal to sort(pima_BAS_no$logmarg).
     Lengths differ: 26 is not 18
    
     ── 7. Failure: heredity and bas.lm (@test-bas-lm.R#276) ───────────────────────
     sort(pima_BAS$postprobs) not equal to sort(pima_BAS_no$postprobs).
     Lengths differ: 26 is not 18
    
    
     Marginal Posterior Summaries of Coefficients:
    
     Using BMA
    
     Based on the top 16 models
     post mean post SD post p(B != 0)
     Intercept 95.42308 0.67885 1.00000
     X1 1.40116 0.35351 0.97454
     X2 0.42326 0.38407 0.76017
     X3 -0.03997 0.33398 0.30660
     X4 -0.22077 0.36931 0.44354
    
     Call:
     bas.lm(formula = Y ~ ., data = Hald, prior = "BIC", modelprior = uniform())
    
    
     Marginal Posterior Inclusion Probabilities:
     Intercept X1 X2 X3 X4
     1.0000 0.9856 0.7921 0.4705 0.5220
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 155 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Failure: herdity and BAS (@test-bas-glm.R#418)
     2. Failure: heredity and bas.lm (@test-bas-lm.R#271)
     3. Failure: heredity and bas.lm (@test-bas-lm.R#272)
     4. Failure: heredity and bas.lm (@test-bas-lm.R#273)
     5. Failure: heredity and bas.lm (@test-bas-lm.R#274)
     6. Failure: heredity and bas.lm (@test-bas-lm.R#275)
     7. Failure: heredity and bas.lm (@test-bas-lm.R#276)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86