CRAN Package Check Results for Package data.tree

Last updated on 2025-12-07 07:49:40 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 4.37 107.15 111.52 OK
r-devel-linux-x86_64-debian-gcc 1.2.0 3.02 45.50 48.52 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.0 19.00 158.57 177.57 OK
r-devel-linux-x86_64-fedora-gcc 1.2.0 14.00 163.91 177.91 OK
r-devel-windows-x86_64 1.2.0 9.00 128.00 137.00 OK
r-patched-linux-x86_64 1.2.0 6.01 96.55 102.56 OK
r-release-linux-x86_64 1.2.0 4.74 100.10 104.84 OK
r-release-macos-arm64 1.2.0 OK
r-release-macos-x86_64 1.2.0 5.00 190.00 195.00 OK
r-release-windows-x86_64 1.2.0 7.00 124.00 131.00 OK
r-oldrel-macos-arm64 1.2.0 OK
r-oldrel-macos-x86_64 1.2.0 5.00 161.00 166.00 OK
r-oldrel-windows-x86_64 1.2.0 10.00 155.00 165.00 OK

Check Details

Version: 1.2.0
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'knitr', 'rmarkdown', 'yaml', 'networkD3', 'htmlwidgets', 'DiagrammeR' VignetteBuilder packages required for checking but not installed: 'knitr', 'rmarkdown' Flavor: r-devel-linux-x86_64-debian-gcc

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

Version: 1.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/11s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > test_check("data.tree") Loading required package: data.tree Saving _problems/test-draw-145.R 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 [ FAIL 1 | WARN 0 | SKIP 7 | PASS 366 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • empty test (1): • {DiagrammeR} is not installed (3): 'test-draw.R:30:3', 'test-draw.R:53:3', 'test-draw.R:95:3' • {yaml} is not installed. (3): 'test-treeConversionList.R:201:3', 'test-treeConversionList.R:231:3', 'test-treeConversionList.R:263:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-draw.R:144: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(...) at test-draw.R:144:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─data.tree::ToDiagrammeRGraph(mytree) [ FAIL 1 | WARN 0 | SKIP 7 | PASS 366 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.0
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc