CRAN Package Check Results for Package bnclassify

Last updated on 2020-01-27 00:47:58 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.4 123.48 103.59 227.07 OK
r-devel-linux-x86_64-debian-gcc 0.4.4 71.97 72.12 144.09 OK
r-devel-linux-x86_64-fedora-clang 0.4.4 272.22 NOTE
r-devel-linux-x86_64-fedora-gcc 0.4.4 264.07 OK
r-devel-windows-ix86+x86_64 0.4.4 255.00 232.00 487.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.4.3 260.00 230.00 490.00 ERROR
r-patched-linux-x86_64 0.4.4 93.97 91.63 185.60 OK
r-patched-solaris-x86 0.4.4 212.50 OK
r-release-linux-x86_64 0.4.4 95.49 93.26 188.75 OK
r-release-windows-ix86+x86_64 0.4.4 182.00 163.00 345.00 OK
r-release-osx-x86_64 0.4.4 NOTE
r-oldrel-windows-ix86+x86_64 0.4.4 255.00 232.00 487.00 OK
r-oldrel-osx-x86_64 0.4.4 NOTE

Check Details

Version: 0.4.4
Check: installed package size
Result: NOTE
     installed size is 7.1Mb
     sub-directories of 1Mb or more:
     libs 6.2Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.4.3
Check: dependencies in R code
Result: NOTE
    Missing or unexported objects:
     'gRain::compile.CPTgrain' 'gRain::grain.CPTspec'
     'gRain::nodeNames.grain' 'gRain::querygrain.grain'
Flavor: r-devel-windows-ix86+x86_64-gcc8

Version: 0.4.3
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [34s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(bnclassify)
     >
     > test_check("bnclassify")
     -- 1. Error: nominal as grain (@test-anb-bn.R#17) -----------------------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. testthat::expect_is(as_grain(tbn), "grain")
     4. bnclassify::as_grain(tbn)
     5. bnclassify:::compile_grain(params(x))
     6. gRain::grain.CPTspec
     7. base::getExportedValue(pkg, name)
    
     -1.54485 -1.50696 -1.31785 -1.2128 -1.4612 -1.20742 -1.26966 -1.67055 -0.440312 -1.11241 -4.29046 -4.29046 -0.545227 -0.93827 -4.23411 -4.23411
     -- 2. Error: Incomplete data set (@test-infer.R#19) ---------------------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. bnclassify:::compute_cp(x = t, voting)
     2. bnclassify:::compute_log_joint(x, dataset)
     4. bnclassify:::compute_log_joint_incomplete.bnc_bn(...)
     5. bnclassify::as_grain(x)
     6. bnclassify:::compile_grain(params(x))
     7. gRain::grain.CPTspec
     8. base::getExportedValue(pkg, name)
    
     -- 3. Error: All incomplete rows (@test-infer.R#63) ---------------------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. bnclassify:::compute_log_joint_incomplete(a, vna)
     2. bnclassify:::compute_log_joint_incomplete.bnc_bn(a, vna)
     3. bnclassify::as_grain(x)
     4. bnclassify:::compile_grain(params(x))
     5. gRain::grain.CPTspec
     6. base::getExportedValue(pkg, name)
    
     -- 4. Error: log-likelihood with incomplete data (@test-infer.R#106) ----------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. bnclassify:::compute_ll(nb, cb)
     2. bnclassify:::compute_log_joint(x, dataset)
     4. bnclassify:::compute_log_joint_incomplete.bnc_bn(...)
     5. bnclassify::as_grain(x)
     6. bnclassify:::compile_grain(params(x))
     7. gRain::grain.CPTspec
     8. base::getExportedValue(pkg, name)
    
     -- 5. Error: incomplete data (@test-learn-aode.r#88) --------------------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. stats::predict(a, vt, prob = TRUE)
     2. bnclassify:::predict.bnc_fit(a, vt, prob = TRUE)
     3. bnclassify:::compute_cp(x = object, dataset = newdata, ...)
     4. bnclassify:::compute_log_joint(x, dataset)
     6. bnclassify:::compute_log_joint_incomplete.bnc_aode(...)
     7. base::lapply(models(x), compute_log_joint_incomplete, dataset = dataset)
     9. bnclassify:::compute_log_joint_incomplete.bnc_bn(X[[i]], ...)
     10. bnclassify::as_grain(x)
     11. bnclassify:::compile_grain(params(x))
     12. gRain::grain.CPTspec
     13. base::getExportedValue(pkg, name)
    
     -- 6. Error: Maximum a posteriori (@test-predict.R#6) -------------------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. stats::predict(h, voting, prob = TRUE)
     2. bnclassify:::predict.bnc_fit(h, voting, prob = TRUE)
     3. bnclassify:::compute_cp(x = object, dataset = newdata, ...)
     4. bnclassify:::compute_log_joint(x, dataset)
     6. bnclassify:::compute_log_joint_incomplete.bnc_bn(...)
     7. bnclassify::as_grain(x)
     8. bnclassify:::compile_grain(params(x))
     9. gRain::grain.CPTspec
     10. base::getExportedValue(pkg, name)
    
     -- 7. Error: nominal joint prob instance (@test-wrap-grain.R#6) ---------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. bnclassify::as_grain(a)
     2. bnclassify:::compile_grain(params(x))
     3. gRain::grain.CPTspec
     4. base::getExportedValue(pkg, name)
    
     -- 8. Error: joint prob instance with no evidence (@test-wrap-grain.R#17) ----
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. bnclassify::as_grain(a)
     2. bnclassify:::compile_grain(params(x))
     3. gRain::grain.CPTspec
     4. base::getExportedValue(pkg, name)
    
     -- 9. Error: cpts to grain (@test-wrap-grain.R#30) ----------------------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. bnclassify:::compile_grain(params(a))
     2. gRain::grain.CPTspec
     3. base::getExportedValue(pkg, name)
    
     == testthat results ===========================================================
     [ OK: 607 | SKIPPED: 25 | WARNINGS: 3 | FAILED: 9 ]
     1. Error: nominal as grain (@test-anb-bn.R#17)
     2. Error: Incomplete data set (@test-infer.R#19)
     3. Error: All incomplete rows (@test-infer.R#63)
     4. Error: log-likelihood with incomplete data (@test-infer.R#106)
     5. Error: incomplete data (@test-learn-aode.r#88)
     6. Error: Maximum a posteriori (@test-predict.R#6)
     7. Error: nominal joint prob instance (@test-wrap-grain.R#6)
     8. Error: joint prob instance with no evidence (@test-wrap-grain.R#17)
     9. Error: cpts to grain (@test-wrap-grain.R#30)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64-gcc8

Version: 0.4.3
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'testthat.R' [38s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(bnclassify)
     >
     > test_check("bnclassify")
     -- 1. Error: nominal as grain (@test-anb-bn.R#17) -----------------------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. testthat::expect_is(as_grain(tbn), "grain")
     4. bnclassify::as_grain(tbn)
     5. bnclassify:::compile_grain(params(x))
     6. gRain::grain.CPTspec
     7. base::getExportedValue(pkg, name)
    
     -1.54485 -1.50696 -1.31785 -1.2128 -1.4612 -1.20742 -1.26966 -1.67055 -0.440312 -1.11241 -4.29046 -4.29046 -0.545227 -0.93827 -4.23411 -4.23411
     -- 2. Error: Incomplete data set (@test-infer.R#19) ---------------------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. bnclassify:::compute_cp(x = t, voting)
     2. bnclassify:::compute_log_joint(x, dataset)
     4. bnclassify:::compute_log_joint_incomplete.bnc_bn(...)
     5. bnclassify::as_grain(x)
     6. bnclassify:::compile_grain(params(x))
     7. gRain::grain.CPTspec
     8. base::getExportedValue(pkg, name)
    
     -- 3. Error: All incomplete rows (@test-infer.R#63) ---------------------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. bnclassify:::compute_log_joint_incomplete(a, vna)
     2. bnclassify:::compute_log_joint_incomplete.bnc_bn(a, vna)
     3. bnclassify::as_grain(x)
     4. bnclassify:::compile_grain(params(x))
     5. gRain::grain.CPTspec
     6. base::getExportedValue(pkg, name)
    
     -- 4. Error: log-likelihood with incomplete data (@test-infer.R#106) ----------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. bnclassify:::compute_ll(nb, cb)
     2. bnclassify:::compute_log_joint(x, dataset)
     4. bnclassify:::compute_log_joint_incomplete.bnc_bn(...)
     5. bnclassify::as_grain(x)
     6. bnclassify:::compile_grain(params(x))
     7. gRain::grain.CPTspec
     8. base::getExportedValue(pkg, name)
    
     -- 5. Error: incomplete data (@test-learn-aode.r#88) --------------------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. stats::predict(a, vt, prob = TRUE)
     2. bnclassify:::predict.bnc_fit(a, vt, prob = TRUE)
     3. bnclassify:::compute_cp(x = object, dataset = newdata, ...)
     4. bnclassify:::compute_log_joint(x, dataset)
     6. bnclassify:::compute_log_joint_incomplete.bnc_aode(...)
     7. base::lapply(models(x), compute_log_joint_incomplete, dataset = dataset)
     9. bnclassify:::compute_log_joint_incomplete.bnc_bn(X[[i]], ...)
     10. bnclassify::as_grain(x)
     11. bnclassify:::compile_grain(params(x))
     12. gRain::grain.CPTspec
     13. base::getExportedValue(pkg, name)
    
     -- 6. Error: Maximum a posteriori (@test-predict.R#6) -------------------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. stats::predict(h, voting, prob = TRUE)
     2. bnclassify:::predict.bnc_fit(h, voting, prob = TRUE)
     3. bnclassify:::compute_cp(x = object, dataset = newdata, ...)
     4. bnclassify:::compute_log_joint(x, dataset)
     6. bnclassify:::compute_log_joint_incomplete.bnc_bn(...)
     7. bnclassify::as_grain(x)
     8. bnclassify:::compile_grain(params(x))
     9. gRain::grain.CPTspec
     10. base::getExportedValue(pkg, name)
    
     -- 7. Error: nominal joint prob instance (@test-wrap-grain.R#6) ---------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. bnclassify::as_grain(a)
     2. bnclassify:::compile_grain(params(x))
     3. gRain::grain.CPTspec
     4. base::getExportedValue(pkg, name)
    
     -- 8. Error: joint prob instance with no evidence (@test-wrap-grain.R#17) ----
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. bnclassify::as_grain(a)
     2. bnclassify:::compile_grain(params(x))
     3. gRain::grain.CPTspec
     4. base::getExportedValue(pkg, name)
    
     -- 9. Error: cpts to grain (@test-wrap-grain.R#30) ----------------------------
     'grain.CPTspec' is not an exported object from 'namespace:gRain'
     Backtrace:
     1. bnclassify:::compile_grain(params(a))
     2. gRain::grain.CPTspec
     3. base::getExportedValue(pkg, name)
    
     == testthat results ===========================================================
     [ OK: 607 | SKIPPED: 25 | WARNINGS: 3 | FAILED: 9 ]
     1. Error: nominal as grain (@test-anb-bn.R#17)
     2. Error: Incomplete data set (@test-infer.R#19)
     3. Error: All incomplete rows (@test-infer.R#63)
     4. Error: log-likelihood with incomplete data (@test-infer.R#106)
     5. Error: incomplete data (@test-learn-aode.r#88)
     6. Error: Maximum a posteriori (@test-predict.R#6)
     7. Error: nominal joint prob instance (@test-wrap-grain.R#6)
     8. Error: joint prob instance with no evidence (@test-wrap-grain.R#17)
     9. Error: cpts to grain (@test-wrap-grain.R#30)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64-gcc8

Version: 0.4.3
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'methods.Rmd' using rmarkdown
    --- finished re-building 'methods.Rmd'
    
    --- re-building 'overview.Rmd' using rmarkdown
    --- finished re-building 'overview.Rmd'
    
    --- re-building 'usage.rmd' using rmarkdown
    Quitting from lines 220-223 (usage.rmd)
    Error: processing vignette 'usage.rmd' failed with diagnostics:
    'grain.CPTspec' is not an exported object from 'namespace:gRain'
    --- failed re-building 'usage.rmd'
    
    SUMMARY: processing the following file failed:
     'usage.rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-ix86+x86_64-gcc8