* using log directory 'd:/Rcompile/CRANpkg/local/3.4/DiagrammeR.Rcheck' * using R version 3.4.3 (2017-11-30) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'DiagrammeR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'DiagrammeR' version '0.9.2' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'DiagrammeR' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [37s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in 'DiagrammeR-Ex.R' failed The error most likely occurred in: > ### Name: add_edge > ### Title: Add an edge between nodes in a graph object > ### Aliases: add_edge > > ### ** Examples > > # Create a graph with 4 nodes > graph <- + create_graph() %>% + add_node(label = "one") %>% + add_node(label = "two") %>% + add_node(label = "three") %>% + add_node(label = "four") > > # Add an edge between those nodes and attach a > # relationship to the edge > graph <- + add_edge( + graph, + from = 1, + to = 2, + rel = "A") > > # Use the `edge_info()` function to verify that > # the edge has been created > edge_info(graph) id from to rel 1 1 1 2 A > #> id from to rel > #> 1 1 1 2 A > > # Add another node and edge to the graph > graph <- + graph %>% + add_edge( + from = 3, + to = 2, + rel = "A") > > # Verify that the edge has been created by > # getting a count of graph edges > edge_count(graph) [1] 2 > #> [1] 2 > > # Add edges by specifying node `label` > # values; note that all nodes must have > # unique `label` values to use this option > graph <- + graph %>% + add_edge( + from = "three", + to = "four", + rel = "L") %>% + add_edge( + from = "four", + to = "one", + rel = "L") > > # Use the `get_edges()` function to verify > # that the edges were added > get_edges(graph) Error: `UQ()` can only be used within a quasiquoted argument Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [30s] ERROR Running 'testthat.R' [30s] Running the tests in 'tests/testthat.R' failed. Last 13 lines of output: == testthat results =========================================================== OK: 884 SKIPPED: 0 FAILED: 113 1. Error: forward edges can be added given a selection of edges (@test-add_forward_reverse_edges.R#20) 2. Error: reverse edges can be added given a selection of edges (@test-add_forward_reverse_edges.R#65) 3. Error: Adding a balanced tree is possible (@test-add_graphs.R#26) 4. Error: Adding a cycle is possible (@test-add_graphs.R#119) 5. Error: Adding a path is possible (@test-add_graphs.R#264) 6. Error: Adding a prism is possible (@test-add_graphs.R#409) 7. Error: Adding a star is possible (@test-add_graphs.R#554) 8. Error: Adding a full graph is possible (@test-add_graphs.R#703) 9. Error: adding a node to a graph is possible (@test-add_node_edge.R#72) 1. ... Error: testthat unit tests failed Execution halted * checking PDF version of manual ... OK * DONE Status: 2 ERRORs