CRAN Package Check Results for Package stagedtrees

Last updated on 2020-04-25 01:53:19 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 4.81 50.14 54.95 OK
r-devel-linux-x86_64-debian-gcc 1.0.2 3.86 37.77 41.63 OK
r-devel-linux-x86_64-fedora-clang 1.0.2 64.92 OK
r-devel-linux-x86_64-fedora-gcc 1.0.2 64.01 OK
r-devel-windows-ix86+x86_64 1.0.2 12.00 81.00 93.00 OK
r-patched-linux-x86_64 1.0.2 4.48 48.82 53.30 OK
r-patched-osx-x86_64 1.0.2 OK
r-patched-solaris-x86 1.0.2 89.10 OK
r-release-linux-x86_64 1.0.2 3.40 45.01 48.41 OK
r-release-windows-ix86+x86_64 1.0.2 11.00 57.00 68.00 OK
r-release-osx-x86_64 1.0.2 OK
r-oldrel-windows-ix86+x86_64 1.0.2 6.00 71.00 77.00 ERROR
r-oldrel-osx-x86_64 1.0.1 OK

Check Details

Version: 1.0.2
Check: examples
Result: ERROR
    Running examples in 'stagedtrees-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: plot.sevt
    > ### Title: Plot method for staged event trees
    > ### Aliases: plot.sevt
    >
    > ### ** Examples
    >
    >
    > data("PhDArticles")
    > mod <- bj.sevt(full(PhDArticles))
    >
    > ### simple plotting
    > plot(mod)
    >
    > ### removing lables from nodes and edges and fill nodes
    > plot(mod, cex.label.nodes = 0, cex.label.edges = 0, pch = 16)
    >
    > ### reduce nodes size
    > plot(mod, cex.nodes = 1)
    >
    > ### change line width and nodes style
    > plot(mod, lwd = 3, pch = 5)
    >
    > ### changing palette
    > plot(mod, col = function(s) heat.colors(length(s)))
    >
    > ### or changing global palette
    > palette(hcl.colors(10, "Harmonic"))
    Error in hcl.colors(10, "Harmonic") :
     could not find function "hcl.colors"
    Calls: palette
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.0.2
Check: tests
Result: ERROR
     Running 'testthat.R' [10s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library("testthat")
     > library("stagedtrees")
     >
     > test_check("stagedtrees")
     -- 1. Error: barplot_stages should accept col = function() (@test_plot.R#47) --
     'hcl.colors' is not an exported object from 'namespace:grDevices'
     Backtrace:
     1. testthat::expect_silent(...)
     9. stagedtrees::barplot_stages(...)
     10. base::lapply(...)
     11. stagedtrees:::FUN(X[[i]], ...)
     12. stagedtrees:::col(unique(stages))
     13. grDevices::hcl.colors
     14. base::getExportedValue(pkg, name)
    
     == testthat results ===========================================================
     [ OK: 561 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: barplot_stages should accept col = function() (@test_plot.R#47)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64