install_sqlparse_py: Install sqlparse Python package

Description Usage Arguments Value Examples

View source: R/install.R

Description

Install the sqlparse Python package into a virtual environment or conda environment.

Usage

1
2
install_sqlparse_py(method = "auto", conda = "auto",
                    envname = NULL, skip_if_available = FALSE)

Arguments

method

Installation method passed to py_install. Options: "auto", "virtualenv", and "conda". Default: "auto"

conda

Path to conda executable passed to py_install. Alternatively, "auto" to find conda using the PATH and other conventional install locations. Default: "auto"

envname

The name, or full path, of the environment in which the sqlparse Python package is to be installed. Alternatively, NULL to use the active environment as set by the RETICULATE_PYTHON_ENV variable or, if that is unset, the r-reticulate environment. Default: NULL

skip_if_available

Boolean; if TRUE the installation is skipped in case the sqlparse Python module can be found on the system (search not limited to envname). Default: FALSE

Value

0 on successful installation or 1 in case an error was raised

Examples

1
2
3
4
## Not run: 
install_sqlparse_py()

## End(Not run)

sqlparseR documentation built on Sept. 20, 2019, 5:05 p.m.