This function is used in both the console and vis_drake_graph() Your console must have the crayon package enabled.

drake_palette()

Value

There is a console message, but the actual return value is NULL.

Details

This palette applies to console output (internal functions console() and console_many_targets()) and the node colors in vis_drake_graph(). So if you want to contribute improvements to the palette, please both drake_palette() and visNetwork::visNetwork(nodes = legend_nodes())

Examples

# Show drake's color palette as text. drake_palette()
#> cache #> check #> connect #> fail #> failed #> import #> import_node #> in_progress #> load #> missing #> missing_node #> other #> outdated #> retry #> target #> trigger #> unload #> up_to_date
# Show part of the palette as an interactive visNetwork graph. # These are the nodes in the legend of vis_drake_graph().
# NOT RUN { visNetwork::visNetwork(nodes = legend_nodes()) # }