CRAN
GeneralTree 0.0.1
General Tree Data Structure
Released Sep 8, 2016 by Anton Bossenbroek
This package can be loaded by Renjin but 1 out 108 tests failed.
Dependencies
A general tree data structure implementation in R.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>GeneralTree</artifactId> <version>0.0.1-b18</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:GeneralTree')
Test Results
This package was last tested against Renjin 0.9.2644 on Jun 2, 2018.
- Adding_nodes.add_child_to_empty_tree_works_E1
- Adding_nodes.add_child_to_empty_tree_works_E2
- Adding_nodes.add_child_to_empty_tree_works_E3
- Adding_nodes.add_multiple_childeren
- Adding_nodes.add_multiple_childeren_as_part_of_child_E1
- Adding_nodes.add_multiple_childeren_as_part_of_child_E2
- Adding_nodes.add_multiple_childeren_as_part_of_child_with_char_id
- Adding_nodes.adding_a_child_with_an_non_existing_parent_results_in_failure
- Adding_nodes.child_by_using_addChild_on_search_result__E1
- Adding_nodes.child_by_using_addChild_on_search_result__E2
- Adding_nodes.creating_an_empty_tree_works_E1
- Adding_nodes.creating_an_empty_tree_works_E2
- Adding_nodes.creating_an_empty_tree_works_E3
- Cloning_trees.Assignment_operator_works_E1
- Cloning_trees.Assignment_operator_works_E2
- Cloning_trees.Assignment_operator_works_by_calling_as_function_E1
- Cloning_trees.Assignment_operator_works_by_calling_as_function_E2
- Cloning_trees.Cloning_a_branch_works
- Cloning_trees.Cloning_an_singleton_tree_works_E1
- Cloning_trees.Cloning_an_singleton_tree_works_E2
- Cloning_trees.Cloning_an_singleton_tree_works_E3
- GeneralTree-examples
- Plotting_tree_with_grViz.plotting_a_tree_works
- Printing_tree.Print_tree_correctly_when_last_child_has_many_leafs_
- Printing_tree.Print_tree_correctly_without_argument_passed_
- Printing_tree.printing_a_tree_with_multiple_levels_and_different_length_data
- Printing_tree.printing_a_tree_with_multiple_levels_and_different_length_data,_printing_id_and_data
- Printing_tree.printing_a_tree_with_multiple_levels_and_different_length_ids
- Printing_tree.printing_a_tree_with_only_a_single_child_node
- Printing_tree.printing_a_tree_with_only_a_single_child_node_with_characters
- Printing_tree.printing_a_tree_with_only_a_single_node
- Printing_tree.printing_a_tree_with_three_childeren_with_characters_as_id,_just_one_level_deep
- Printing_tree.printing_a_tree_with_three_childeren_with_characters_as_id,_just_two_level_deep
- Searching_tree.search_tree_with_only_a_single_child_E1
- Searching_tree.search_tree_with_only_a_single_child_E2
- Test_action_functions.branchToList_is_working_as_expected_E1
- Test_action_functions.branchToList_is_working_as_expected_E2
- Test_action_functions.have_siblings_is_working_as_expected_E1
- Test_action_functions.have_siblings_is_working_as_expected_E2
- Test_action_functions.is_last_sibling_is_working_as_expected_E1
- Test_action_functions.is_last_sibling_is_working_as_expected_E2
- Test_action_functions.is_last_sibling_is_working_as_expected_E3
- Test_action_functions.is_last_sibling_is_working_as_expected_E4
- Test_action_functions.search_is_working_as_expected
- Test_action_functions.setData_is_working_as_expected
- Test_casting_functions.Cast_data_frame_with_non_standard_column_names_to_tree
- Test_casting_functions.Cast_more_complex_tree
- Test_casting_functions.Cast_more_complex_tree_from_data_frame_to_tree_E1
- Test_casting_functions.Cast_more_complex_tree_from_data_frame_to_tree_E2
- Test_casting_functions.Cast_singelton_tree_from_data_frame_to_tree
- Test_casting_functions.Cast_singelton_tree_to_data_frame
- Test_casting_functions.Test_for_appropriate_errors_and_warnings_E1
- Test_casting_functions.Test_for_appropriate_errors_and_warnings_E2
- Test_casting_functions.Test_for_appropriate_errors_and_warnings_E3
- Test_casting_functions.Test_for_appropriate_errors_and_warnings_E4
- Test_casting_functions.Test_for_appropriate_errors_and_warnings_E5
- Test_casting_functions.Test_for_appropriate_errors_and_warnings_E6
- Test_casting_functions.Test_for_appropriate_errors_and_warnings_E7
- Test_casting_functions.Test_for_appropriate_errors_when_tyring_to_cast_parsed_data
- Test_child_data.Verify_correct_child_data_is_returned_E1
- Test_child_data.Verify_correct_child_data_is_returned_E2
- Test_child_data.Verify_correct_child_data_is_returned_E3
- Test_delete.Delete_a_child_without_siblings
- Test_delete.delete_node_that_has_childeren_
- Test_delete.delete_node_that_is_left_child_E1
- Test_delete.delete_node_that_is_left_child_E2
- Test_delete.delete_node_that_is_left_child_E3
- Test_delete.delete_node_that_is_sibling_E1
- Test_delete.delete_node_that_is_sibling_E2
- Test_delete.delete_node_that_is_sibling_E3
- Test_delete.delete_node_that_is_three_levels_deep_and_left_child_E1
- Test_delete.delete_node_that_is_three_levels_deep_and_left_child_E2
- Test_delete.delete_node_that_is_three_levels_deep_and_left_child_E3
- Test_delete.delete_node_that_is_three_levels_deep_and_sibling_E1
- Test_delete.delete_node_that_is_three_levels_deep_and_sibling_E2
- Test_delete.delete_node_that_is_three_levels_deep_and_sibling_E3
- Test_parent.Parent_is_correct_in_empty_tree
- Test_parent.Parent_is_correct_in_single_child_case
- Test_parent.Parent_stays_consistent_with_multiple_children_E1
- Test_parent.Parent_stays_consistent_with_multiple_children_E2
- Test_parent.add_multiple_childeren_as_part_of_child_E1
- Test_parent.add_multiple_childeren_as_part_of_child_E2
- Test_sibling_data.Verify_correct_sibling_data_is_returned_E1
- Test_sibling_data.Verify_correct_sibling_data_is_returned_E2
- Test_sibling_data.Verify_correct_sibling_data_is_returned_E3
- Test_sibling_data.Verify_correct_sibling_data_is_returned_E4
- Test_treeDepth.treeDepth_reports_the_correct_depth_asking_tree_depth_on_child_node
- Test_treeDepth.treeDepth_reports_the_correct_depth_for_singleton_tree
- Test_treeDepth.treeDepth_reports_the_correct_depth_when_adding_nodes_in_any_order_E1
- Test_treeDepth.treeDepth_reports_the_correct_depth_when_adding_nodes_in_any_order_E2
- Test_treeDepth.treeDepth_reports_the_correct_depth_when_adding_nodes_in_any_order_E3
- Test_treeDepth.treeDepth_reports_the_correct_depth_when_adding_nodes_in_any_order_E4
- Test_treeDepth.treeDepth_reports_the_correct_depth_when_creating_a_tree
- Test_treeDepth.treeDepth_reports_the_correct_depth_when_creating_a_tree_with_two_levels_deep
- Test_treeDepth.treeDepth_reports_the_correct_depth_when_deleting_a_child_E1
- Test_treeDepth.treeDepth_reports_the_correct_depth_when_deleting_a_child_E2
- Test_tree_walker.iteration_works_correctly_with_recycle_on
- Test_tree_walker.iterations_are_skipped_when_checkFunc_is_set_to_FALSE_E1
- Test_tree_walker.iterations_are_skipped_when_checkFunc_is_set_to_FALSE_E2
- Test_tree_walker.test_that_the_tree_walker_permits_methods_part_of_tree
- Test_tree_walker.test_that_the_tree_walker_walks_depth_first_E1
- Test_tree_walker.test_that_the_tree_walker_walks_depth_first_E2
- Test_tree_walker.test_that_the_tree_walker_with_while_loop_E1
- Test_tree_walker.test_that_the_tree_walker_with_while_loop_E2
- Test_tree_walker.test_that_the_tree_walker_works_when_iterator_is_created_from_child_node
- as.GeneralTree.data.frame-examples
- as.GeneralTree.expression-examples
- testthat