R/constants.R

# Common error messaged.
.__ERRORS__ <- list(
    # Occurrences:
    #   - when a object type other than what is expected is provided
    incorrect_type = "Incorrect object type.",

    # Occurrences:
    #   - when an abstract class is instantiated
    abstract_class = "Abstract class cannot to be instantiated.",

    # Occurrences:
    #   - when running into things that must have an override
    not_implemented = "Abstract method is not implemented.",

    # Occurrences:
    #   - when running into things not yet developed
    not_developed = "Not supported."
)


# Common colors used for plotting.
.__GRAPHICS__ <- list(
    positive_edge_color = "#3F51B5",
    negative_edge_color = "#F44336",
    node_color = "#F9F9F9"
)

Try the powerly package in your browser

Any scripts or data that you put into this service are public.

powerly documentation built on Sept. 9, 2022, 5:07 p.m.