rich-iannone / DiagrammeR

Compare 169da52 ... +1 ... d246492

Coverage Reach
utils.R print.R generate_dot.R add_node.R x11_hex.R import_graph.R add_n_nodes_ws.R trav_both_edge.R add_full_graph.R render_graph.R get_paths.R create_graph.R add_grid_3d.R add_edge.R add_grid_2d.R add_pa_graph.R export_graph.R trav_in_until.R trav_out_until.R add_edges_from_table.R add_prism.R add_balanced_tree.R add_gnp_graph.R add_gnm_graph.R add_growing_graph.R add_cycle.R delete_edge.R add_star.R add_path.R trav_both.R add_smallworld_graph.R select_nodes_in_neighborhood.R trav_in.R add_islands_graph.R visnetwork.R trav_out.R get_node_info.R select_edges.R colorize_node_attrs.R colorize_edge_attrs.R trav_in_edge.R trav_out_edge.R trav_out_node.R trav_in_node.R add_node_clones_ws.R combine_graphs.R add_nodes_from_table.R is_edge_present.R get_similar_nbrs.R add_reverse_edges_ws.R select_nodes.R add_n_node_clones.R from_igraph.R select_edges_by_node_id.R layout_nodes_w_string.R select_nodes_by_degree.R set_node_attr_to_display.R add_edges_w_string.R select_edges_by_edge_id.R display_metagraph.R set_edge_attr_to_display.R attr_themes.R select_nodes_by_id.R add_nodes_from_df_cols.R recode_node_attrs.R recode_edge_attrs.R set_node_attr_w_fcn.R rescale_node_attrs.R rescale_edge_attrs.R filter_graph_series.R add_edge_clone.R set_edge_attrs.R set_node_position.R select_last_edges_created.R select_last_nodes_created.R add_n_nodes.R invert_selection.R fully_connect_nodes_ws.R create_node_df.R transform_to_subgraph_ws.R delete_node.R grViz.R set_node_attrs.R delete_global_graph_attrs.R add_graph_action.R spectools.R create_edge_df.R delete_edges_ws.R join_node_attrs.R rename_node_attrs.R rename_edge_attrs.R delete_nodes_ws.R nudge_node_positions_ws.R delete_graph_actions.R delete_loop_edges_ws.R get_jaccard_similarity.R trigger_graph_actions.R add_forward_edges_ws.R fully_disconnect_nodes_ws.R get_last_edges_created.R get_last_nodes_created.R copy_node_attrs.R copy_edge_attrs.R mutate_edge_attrs_ws.R get_dice_similarity.R transform_to_complement_graph.R trav_reverse_edge.R mutate_node_attrs_ws.R get_edges.R set_cache.R join_edge_attrs.R edge_aes.R rev_edge_dir_ws.R reorder_graph_actions.R drop_node_attrs.R set_edge_attrs_ws.R add_global_graph_attrs.R get_edge_attrs.R base64.R add_edge_df.R add_node_df.R from_adj_matrix.R is_edge_mutual.R is_edge_multiple.R node_aes.R set_node_attrs_ws.R do_dfs.R drop_edge_attrs.R do_bfs.R delete_cache.R get_radiality.R set_graph_time.R is_edge_loop.R get_agg_degree_out.R clear_selection.R get_agg_degree_total.R get_agg_degree_in.R get_graph_series_info.R rev_edge_dir.R get_selection.R get_degree_distribution.R mutate_edge_attrs.R mutate_node_attrs.R count_unconnected_nodes.R export_csv.R get_authority_centrality.R get_eigen_centrality.R get_node_attrs.R get_degree_histogram.R get_edge_attrs_ws.R get_closeness.R get_coreness.R get_node_attrs_ws.R get_degree_out.R get_constraint.R get_degree_in.R get_degree_total.R deselect_edges.R get_all_connected_nodes.R deselect_nodes.R get_s_connected_cmpts.R get_w_connected_cmpts.R get_graph_info.R get_leverage_centrality.R set_graph_name.R get_eccentricity.R DiagrammeR.R get_edge_count_w_multiedge.R mermaid.R set_graph_directed.R set_graph_undirected.R get_alpha_centrality.R get_predecessors.R get_successors.R get_closeness_vitality.R get_common_nbrs.R get_betweenness.R is_node_present.R get_multiedge_count.R get_pagerank.R get_non_nbrs.R get_nbrs.R create_graph_series.R combine_edfs.R render_graph_from_graph_series.R is_graph_weighted.R get_global_graph_attr_info.R count_automorphisms.R get_bridging.R combine_ndfs.R get_cmty_louvain.R get_min_eccentricity.R get_cmty_fast_greedy.R get_cmty_edge_btwns.R to_igraph.R get_cmty_l_eigenvec.R add_graph_to_graph_series.R get_edge_ids.R get_min_cut_between.R get_node_ids.R count_loop_edges.R open_graph.R save_graph.R get_cmty_walktrap.R is_property_graph.R get_articulation_points.R get_edge_df_ws.R get_node_df_ws.R get_periphery.R get_cache.R get_graph_from_graph_series.R is_graph_connected.R get_reciprocity.R count_mutual_node_pairs.R is_graph_dag.R get_max_eccentricity.R get_girth.R count_unconnected_node_pairs.R remove_graph_from_graph_series.R count_asymmetric_node_pairs.R get_mean_distance.R get_adhesion.R count_s_connected_cmpts.R count_w_connected_cmpts.R get_edge_info.R count_edges.R is_graph_empty.R count_nodes.R transform_to_min_spanning_tree.R node_data.R get_graph_actions.R edge_data.R get_graph_log.R is_graph_simple.R get_graph_time.R is_graph_directed.R get_graph_name.R get_edge_df.R get_node_df.R is_graph_undirected.R count_graphs_in_graph_series.R

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 2 of 3 files from the diff.

@@ -109,7 +109,8 @@
Loading
109 109
  # Handle vector of hexadecimal or named colors
110 110
  if (length(palette) > 1) {
111 111
    # Verify colors are valid
112 -
    if (!all(tolower(palette) %in% x11_hex()$hex)) {
112 +
    is_valid_hex <- grepl(toupper(palette), pattern = "#[0-9A-F]{6}")
113 +
    if (!all(is_valid_hex)) {
113 114
      emit_error(fcn_name = fcn_name,
114 115
                 reasons = "The color palette contains invalid hexadecimal values.")
115 116
    }

@@ -156,7 +156,8 @@
Loading
156 156
  # Handle vector of hexadecimal or named colors
157 157
  if (length(palette) > 1) {
158 158
    # Verify colors are valid
159 -
    if (!all(tolower(palette) %in% x11_hex()$hex)) {
159 +
    is_valid_hex <- grepl(toupper(palette), pattern = "#[0-9A-F]{6}")
160 +
    if (!all(is_valid_hex)) {
160 161
      emit_error(fcn_name = fcn_name,
161 162
                 reasons = "The color palette contains invalid hexadecimal values.")
162 163
    }

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
R/DiagrammeR.R 15.00%
R/add_balanced_tree.R 90.40%
R/add_cycle.R 87.29%
R/add_edge.R 84.44%
R/add_edge_clone.R 86.57%
R/add_edge_df.R 91.89%
R/add_edges_from_table.R 89.76%
R/add_edges_w_string.R 96.10%
R/add_forward_edges_ws.R 85.42%
R/add_full_graph.R 89.27%
R/add_global_graph_attrs.R 100.00%
R/add_gnm_graph.R 85.83%
R/add_gnp_graph.R 85.83%
R/add_graph_action.R 87.27%
R/add_graph_to_graph_series.R 100.00%
R/add_grid_2d.R 87.88%
R/add_grid_3d.R 88.24%
R/add_growing_graph.R 85.00%
R/add_islands_graph.R 84.35%
R/add_n_node_clones.R 71.95%
R/add_n_nodes.R 86.36%
R/add_n_nodes_ws.R 81.34%
R/add_node.R 65.28%
R/add_node_clones_ws.R 93.94%
R/add_node_df.R 91.67%
R/add_nodes_from_df_cols.R 86.49%
R/add_nodes_from_table.R 82.42%
R/add_pa_graph.R 82.44%
R/add_path.R 87.29%
R/add_prism.R 87.30%
R/add_reverse_edges_ws.R 78.57%
R/add_smallworld_graph.R 84.62%
R/add_star.R 86.44%
R/attr_themes.R 27.63%
R/base64.R 0.00%
R/clear_selection.R 72.73%
R/colorize_edge_attrs.R 0.07% 92.45%
R/colorize_node_attrs.R 0.07% 92.45%
R/combine_edfs.R 100.00%
R/combine_graphs.R 92.71%
R/combine_ndfs.R 84.62%
R/copy_edge_attrs.R 100.00%
R/copy_node_attrs.R 100.00%
R/count_asymmetric_node_pairs.R 100.00%
R/count_automorphisms.R 100.00%
R/count_edges.R 100.00%
R/count_graphs_in_graph_series.R 100.00%
R/count_loop_edges.R 100.00%
R/count_mutual_node_pairs.R 100.00%
R/count_nodes.R 100.00%
R/count_s_connected_cmpts.R 100.00%
R/count_unconnected_node_pairs.R 100.00%
R/count_unconnected_nodes.R 96.43%
R/count_w_connected_cmpts.R 100.00%
R/create_edge_df.R 92.45%
R/create_graph.R 98.13%
R/create_graph_series.R 100.00%
R/create_node_df.R 95.08%
R/delete_cache.R 0.00%
R/delete_edge.R 80.51%
R/delete_edges_ws.R 92.45%
R/delete_global_graph_attrs.R 70.91%
R/delete_graph_actions.R 88.24%
R/delete_loop_edges_ws.R 92.00%
R/delete_node.R 93.22%
R/delete_nodes_ws.R 92.16%
R/deselect_edges.R 95.65%
R/deselect_nodes.R 95.65%
R/display_metagraph.R 96.10%
R/do_bfs.R 100.00%
R/do_dfs.R 100.00%
R/drop_edge_attrs.R 100.00%
R/drop_node_attrs.R 92.31%
R/edge_aes.R 100.00%
R/edge_data.R 100.00%
R/export_csv.R 18.52%
R/export_graph.R 3.85%
R/filter_graph_series.R 92.65%
R/from_adj_matrix.R 83.33%
R/from_igraph.R 90.24%
R/fully_connect_nodes_ws.R 93.75%
R/fully_disconnect_nodes_ws.R 91.67%
R/generate_dot.R 64.99%
R/get_adhesion.R 100.00%
R/get_agg_degree_in.R 100.00%
R/get_agg_degree_out.R 100.00%
R/get_agg_degree_total.R 100.00%
R/get_all_connected_nodes.R 100.00%
R/get_alpha_centrality.R 100.00%
R/get_articulation_points.R 100.00%
R/get_authority_centrality.R 100.00%
R/get_betweenness.R 100.00%
R/get_bridging.R 100.00%
R/get_cache.R 100.00%
R/get_closeness.R 72.00%
R/get_closeness_vitality.R 100.00%
R/get_cmty_edge_btwns.R 100.00%
R/get_cmty_fast_greedy.R 100.00%
R/get_cmty_l_eigenvec.R 100.00%
R/get_cmty_louvain.R 100.00%
R/get_cmty_walktrap.R 100.00%
R/get_common_nbrs.R 100.00%
R/get_constraint.R 100.00%
R/get_coreness.R 100.00%
R/get_degree_distribution.R 100.00%
R/get_degree_histogram.R 100.00%
R/get_degree_in.R 100.00%
R/get_degree_out.R 100.00%
R/get_degree_total.R 100.00%
R/get_dice_similarity.R 100.00%
R/get_eccentricity.R 100.00%
R/get_edge_attrs.R 100.00%
R/get_edge_attrs_ws.R 88.00%
R/get_edge_count_w_multiedge.R 100.00%
R/get_edge_df.R 100.00%
R/get_edge_df_ws.R 100.00%
R/get_edge_ids.R 100.00%
R/get_edge_info.R 100.00%
R/get_edges.R 61.36%
R/get_eigen_centrality.R 100.00%
R/get_girth.R 100.00%
R/get_global_graph_attr_info.R 78.57%
R/get_graph_actions.R 100.00%
R/get_graph_from_graph_series.R 100.00%
R/get_graph_info.R 100.00%
R/get_graph_log.R 100.00%
R/get_graph_name.R 100.00%
R/get_graph_series_info.R 100.00%
R/get_graph_time.R 100.00%
R/get_jaccard_similarity.R 100.00%
R/get_last_edges_created.R 91.67%
R/get_last_nodes_created.R 91.67%
R/get_leverage_centrality.R 100.00%
R/get_max_eccentricity.R 100.00%
R/get_mean_distance.R 100.00%
R/get_min_cut_between.R 100.00%
R/get_min_eccentricity.R 100.00%
R/get_multiedge_count.R 100.00%
R/get_nbrs.R 100.00%
R/get_node_attrs.R 100.00%
R/get_node_attrs_ws.R 100.00%
R/get_node_df.R 100.00%
R/get_node_df_ws.R 100.00%
R/get_node_ids.R 100.00%
R/get_node_info.R 100.00%
R/get_non_nbrs.R 100.00%
R/get_pagerank.R 100.00%
R/get_paths.R 79.01%
R/get_periphery.R 100.00%
R/get_predecessors.R 94.44%
R/get_radiality.R 97.06%
R/get_reciprocity.R 100.00%
R/get_s_connected_cmpts.R 100.00%
R/get_selection.R 59.38%
R/get_similar_nbrs.R 92.86%
R/get_successors.R 94.44%
R/get_w_connected_cmpts.R 100.00%
R/grViz.R 37.93%
R/import_graph.R 0.00%
R/invert_selection.R 84.38%
R/is_edge_loop.R 72.73%
R/is_edge_multiple.R 75.00%
R/is_edge_mutual.R 75.00%
R/is_edge_present.R 98.82%
R/is_graph_connected.R 100.00%
R/is_graph_dag.R 100.00%
R/is_graph_directed.R 100.00%
R/is_graph_empty.R 100.00%
R/is_graph_simple.R 100.00%
R/is_graph_undirected.R 100.00%
R/is_graph_weighted.R 100.00%
R/is_node_present.R 100.00%
R/is_property_graph.R 100.00%
R/join_edge_attrs.R 86.05%
R/join_node_attrs.R 88.68%
R/layout_nodes_w_string.R 93.75%
R/mermaid.R 50.00%
R/mutate_edge_attrs.R 81.25%
R/mutate_edge_attrs_ws.R 86.96%
R/mutate_node_attrs.R 80.00%
R/mutate_node_attrs_ws.R 86.36%
R/node_aes.R 100.00%
R/node_data.R 100.00%
R/nudge_node_positions_ws.R 82.35%
R/open_graph.R 0.00%
R/print.R 100.00%
R/recode_edge_attrs.R 100.00%
R/recode_node_attrs.R 100.00%
R/remove_graph_from_graph_series.R 100.00%
R/rename_edge_attrs.R 100.00%
R/rename_node_attrs.R 100.00%
R/render_graph.R 31.52%
R/render_graph_from_graph_series.R 100.00%
R/reorder_graph_actions.R 85.37%
R/rescale_edge_attrs.R 98.63%
R/rescale_node_attrs.R 98.63%
R/rev_edge_dir.R 100.00%
R/rev_edge_dir_ws.R 100.00%
R/save_graph.R 0.00%
R/select_edges.R 71.43%
R/select_edges_by_edge_id.R 57.14%
R/select_edges_by_node_id.R 54.32%
R/select_last_edges_created.R 98.48%
R/select_last_nodes_created.R 98.48%
R/select_nodes.R 67.47%
R/select_nodes_by_degree.R 54.55%
R/select_nodes_by_id.R 52.00%
R/select_nodes_in_neighborhood.R 75.21%
R/set_cache.R 86.05%
R/set_edge_attr_to_display.R 72.73%
R/set_edge_attrs.R 80.60%
R/set_edge_attrs_ws.R 89.74%
R/set_graph_directed.R 94.74%
R/set_graph_name.R 95.00%
R/set_graph_time.R 82.35%
R/set_graph_undirected.R 94.74%
R/set_node_attr_to_display.R 72.73%
R/set_node_attr_w_fcn.R 54.79%
R/set_node_attrs.R 96.43%
R/set_node_attrs_ws.R 88.89%
R/set_node_position.R 90.91%
R/spectools.R 68.52%
R/to_igraph.R 100.00%
R/transform_to_complement_graph.R 93.33%
R/transform_to_min_spanning_tree.R 100.00%
R/transform_to_subgraph_ws.R 93.33%
R/trav_both.R 88.89%
R/trav_both_edge.R 91.54%
R/trav_in.R 88.79%
R/trav_in_edge.R 91.43%
R/trav_in_node.R 92.00%
R/trav_in_until.R 52.71%
R/trav_out.R 89.57%
R/trav_out_edge.R 91.26%
R/trav_out_node.R 92.00%
R/trav_out_until.R 52.71%
R/trav_reverse_edge.R 97.78%
R/trigger_graph_actions.R 63.27%
R/utils.R 64.20%
R/visnetwork.R 0.00%
R/x11_hex.R 100.00%
Project Totals (241 files) 81.04%
Loading