Learn R Programming

qryflow (version 0.2.0)

qryflow_default_type: Access the default qryflow chunk type

Description

Retrieves the value from the option qryflow.default.type, if set. Otherwise returns "query", which is the officially supported default type. If any value is supplied to the function, it returns that value.

Usage

qryflow_default_type(type = getOption("qryflow.default.type", "query"))

Value

Character. If set, result from qryflow.default.type option, otherwise "query" or value passed to type

Arguments

type

Optional. The type you want to return.

Examples

Run this code
x <- getOption("qryflow.default.type", "query")

y <- qryflow_default_type()

identical(x, y)

Run the code above in your browser using DataLab