Learn R Programming

geeLite (version 1.0.2)

set_cli: Initialize CLI Files

Description

Creates R scripts to enable the main functions to be called through the Command Line Interface (CLI). These scripts are stored in the cli/ directory of the generated database.

Usage

set_cli(path, verbose = TRUE)

Value

No return value, called for side effects.

Arguments

path

[mandatory] (character) The path to the root directory of the generated database. This must be a writable, non-temporary directory. Avoid using the home directory (~), the current working directory, or the package directory.

verbose

[optional] (logical) Whether to display messages (default: TRUE).

Examples

Run this code
if (FALSE) {
  set_cli(path = tempdir())
}

Run the code above in your browser using DataLab