Skip to contents

This function retrieves default options from the dsopts package for a specific category. If no category is specified, it returns the default options for all categories.

Usage

dsopts_default(categories = NULL, type = "all_of")

Arguments

categories

A character string specifying the category of options to retrieve. If NULL (the default), all categories are considered.

type

all_of or any_of when multiples categories are provided

Value

A named list of default options. If a category is specified, only options from that category are returned.

Examples

if (FALSE) {
# Assuming 'category' as a valid option category
default_opts <- dsopts_default(category = 'my_category')
}