CRAN Package Check Results for Package data.tree

Last updated on 2021-10-22 12:59:10 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 6.75 97.23 103.98 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 4.72 73.04 77.76 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 129.50 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 118.01 OK
r-devel-windows-x86_64 1.0.0 10.00 140.00 150.00 OK
r-devel-windows-x86_64-gcc10-UCRT 1.0.0 ERROR
r-patched-linux-x86_64 1.0.0 8.72 94.32 103.04 OK
r-patched-solaris-x86 1.0.0 144.90 OK
r-release-linux-x86_64 1.0.0 6.42 93.87 100.29 OK
r-release-macos-arm64 1.0.0 OK
r-release-macos-x86_64 1.0.0 WARN
r-release-windows-ix86+x86_64 1.0.0 9.00 138.00 147.00 OK
r-oldrel-macos-x86_64 1.0.0 WARN
r-oldrel-windows-ix86+x86_64 1.0.0 11.00 136.00 147.00 OK

Check Details

Version: 1.0.0
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking:
     'networkD3', 'treemap', 'DiagrammeR'
    
    Package which this enhances but not available for checking: 'igraph'
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.0.0
Check: Rd cross-references
Result: NOTE
    Package unavailable to check Rd xrefs: 'DiagrammeR'
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.0.0
Check: examples
Result: ERROR
    Running examples in 'data.tree-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: plot.Node
    > ### Title: Plot a graph, or get a graphviz dot representation of the tree
    > ### Aliases: plot.Node ToDiagrammeRGraph SetNodeStyle SetEdgeStyle
    > ### SetGraphStyle GetDefaultTooltip
    >
    > ### ** Examples
    >
    > data(acme)
    > SetGraphStyle(acme, rankdir = "TB")
    > SetEdgeStyle(acme, arrowhead = "vee", color = "blue", penwidth = 2)
    > #per default, Node style attributes will be inherited:
    > SetNodeStyle(acme, style = "filled,rounded", shape = "box", fillcolor = "GreenYellow",
    + fontname = "helvetica", tooltip = GetDefaultTooltip)
    > SetNodeStyle(acme$IT, fillcolor = "LightBlue", penwidth = "5px")
    > #inheritance can be avoided:
    > SetNodeStyle(acme$Accounting, inherit = FALSE, fillcolor = "Thistle",
    + fontcolor = "Firebrick", tooltip = "This is the accounting department")
    > SetEdgeStyle(acme$Research$`New Labs`,
    + color = "red",
    + label = "Focus!",
    + penwidth = 3,
    + fontcolor = "red")
    > #use Do to set style on specific nodes:
    > Do(acme$leaves, function(node) SetNodeStyle(node, shape = "egg"))
    > plot(acme)
    Error in plot.Node(acme) :
     Package "DiagrammeR" is required to plot a `data.tree::Node`object. Please install it.
    Calls: plot -> plot.Node
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.0.0
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     >
     > test_check("data.tree")
     Loading required package: data.tree
     levelName cost
     1 Acme Inc. NA
     2 ¦--Accounting NA
     3 ¦ ¦--New Software 1000000
     4 ¦ °--New Accounting Standards 500000
     5 ¦--Research NA
     6 ¦ ¦--New Product Line 2000000
     7 ¦ °--New Labs 750000
     8 °--IT NA
     9 ¦--Outsource 400000
     10 ¦--Go agile 250000
     11 °--Switch to R 50000
     levelName b 1
     1 Root NA
     2 °--a 2
     3 °--c NA 1, 2, 3, 4, 5
     levelName a
     1 Root
     2 °--a 2
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • DiagrammeR cannot be loaded (3)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-draw.R:143:3): grViz names with quotes ──────────────────────────
     Error in `ToDiagrammeRGraph(mytree)`: Package "DiagrammeR" is required to convert a `data.tree::Node`to a DiagrammeR graph. Please install it.
     Backtrace:
     █
     1. ├─testthat::expect_equal(...) test-draw.R:143:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─data.tree::ToDiagrammeRGraph(mytree)
     ── Error (test-treeConversionigraph.R:6:3): as.Node.igraph undirected ──────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'igraph'
     Backtrace:
     █
     1. ├─data.tree::as.igraph.Node(acme, "p", c("level", "isLeaf"), directed = FALSE) test-treeConversionigraph.R:6:2
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
     ── Error (test-treeConversionigraph.R:15:3): as.Node.igraph directed ───────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'igraph'
     Backtrace:
     █
     1. ├─data.tree::as.igraph.Node(acme, "p", c("level", "isLeaf"), directed = TRUE) test-treeConversionigraph.R:15:2
     2. └─base::loadNamespace(x)
     3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     4. └─base:::withOneRestart(expr, restarts[[1L]])
     5. └─base:::doWithOneRestart(return(expr), restart)
    
     [ FAIL 3 | WARN 0 | SKIP 3 | PASS 366 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.0.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'applications.Rmd' using rmarkdown
    Quitting from lines 57-64 (applications.Rmd)
    Error: processing vignette 'applications.Rmd' failed with diagnostics:
    there is no package called 'treemap'
    --- failed re-building 'applications.Rmd'
    
    --- re-building 'data.tree.Rmd' using rmarkdown
    Quitting from lines 121-124 (data.tree.Rmd)
    Error: processing vignette 'data.tree.Rmd' failed with diagnostics:
    there is no package called 'treemap'
    --- failed re-building 'data.tree.Rmd'
    
    SUMMARY: processing the following files failed:
     'applications.Rmd' 'data.tree.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.0.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘applications.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    --- finished re-building ‘applications.Rmd’
    
    --- re-building ‘data.tree.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    PhantomJS not found. You can install it with webshot::install_phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
    PhantomJS not found. You can install it with webshot::install_phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
    Quitting from lines 513-516 (data.tree.Rmd)
    Error: processing vignette 'data.tree.Rmd' failed with diagnostics:
    invalid 'path' argument
    --- failed re-building ‘data.tree.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘data.tree.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-macos-x86_64

Version: 1.0.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘applications.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    --- finished re-building ‘applications.Rmd’
    
    --- re-building ‘data.tree.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    PhantomJS not found. You can install it with webshot::install_phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
    Warning in normalizePath(f2) :
     path[1]="webshot42ce5d62669.png": No such file or directory
    Warning in file(con, "rb") :
     cannot open file 'webshot42ce5d62669.png': No such file or directory
    Quitting from lines 513-516 (data.tree.Rmd)
    Error: processing vignette 'data.tree.Rmd' failed with diagnostics:
    cannot open the connection
    --- failed re-building ‘data.tree.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘data.tree.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-macos-x86_64