Skip to contents

Safely get tool name instead of using direct @ access.

Usage

sn_get_tool_name(tool)

Arguments

tool

Tool object

Value

Character. Tool name

Examples

if (FALSE) { # \dontrun{
# Instead of: tool@tool_name
tool_name <- sn_get_tool_name(tool)
} # }