Get a resource path in an app to local package resources.

snap_res(type = "images")

Arguments

type

character, resource type. "images" is the only currently available resource type.

Details

This function is called in the UI code of an app that relies snaputils package resources, typically image logos.

Examples

# NOT RUN {
snap_res()
# }