Skip to contents

Resolves a style key to the installed .qml, so a caller passes a key rather than knowing where the package keeps its assets.

Usage

rfp_raster_style_path(style)

Arguments

style

Character. A key from rfp_raster_styles().

Value

Character path to the .qml.

Examples

rfp_raster_style_path("dem_turbo")
#> [1] "/home/runner/work/_temp/Library/rfp/extdata/styles/raster/dem_turbo.qml"