Learn R Programming

roxyglobals (version 1.0.0)

options: Roxyglobals options

Description

Get and set roxyglobals options in DESCRIPTION file.

Usage

options_get_unique(file = ".")

options_set_unique(value, file = ".")

options_get_filename(file = ".")

options_set_filename(value, file = ".")

Value

The option value or nothing

Arguments

file

DESCRIPTION file to use. By default the DESCRIPTION file of the current package (i.e. the package the working directory is part of) is used.

value

The new option value

Functions

  • options_get_unique(): get unique

  • options_set_unique(): set unique

  • options_get_filename(): get filename

  • options_set_filename(): set filename

Examples

Run this code
options_get_unique()
if (FALSE) {
options_set_unique(TRUE)
}
options_get_filename()
if (FALSE) {
options_set_filename("roxyglobals-generated.R")
}

Run the code above in your browser using DataLab