sf (version 0.2-8)

is_driver_can: Check if a driver can perform an action

Description

Search through the driver table to match a driver name with an action (e.g. "write") and check if the action is supported.

Usage

is_driver_can(drv, drivers = st_drivers(), operation = "write")

Arguments

drv
character. Name of driver
drivers
data.frame. Table containing driver names and support. Default is from st_drivers
operation
character. What action to check