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