ctxR_options {ctxR}R Documentation

ctxR Options

Description

ctxR stores options as a named list in R's global options, i.e. getOption('ctxR'). It currently stores two such options, one for CCTE credentialing and one to suppress private API information in the URLs printed to the screen when web queries are placed. For both of those, see register_ctx_api_key().

Usage

set_ctxR_option(...)

has_ctxR_options()

has_ctxR_option(option)

Arguments

...

a named listing of options to set

option

a specific option to query, e.g. display_api_key

Value

See Also

register_ctx_api_key()

Examples


# Set ctxR options
set_ctxR_option('display_api_key' = FALSE)


# Check if there are options registered to 'ctxR'
has_ctxR_options()


# Check if a specific option is registered for 'ctxR'
has_ctxR_option('display_api_key')


[Package ctxR version 1.0.0 Index]