A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ScotGovAnalysis.github.io/sgplot/reference/check_palette.html below:

Check palettes and palette types — check_palette • sgplot

Checks values against those available in available_palette_types() and available_palettes().

Usage
check_palette(palette_type, palette, error_call = rlang::caller_env())

check_palette_type(palette_type, error_call = rlang::caller_env())
Arguments
palette_type, palette

String.

error_call

Environment to reference in error messages.

Value

The value being checked is returned invisibly if the check is successful. Otherwise the function will return an error.

Examples
check_palette_type("sg")
check_palette("sg", "main")


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4