Learn R Programming

incadata (version 0.9.1)

is.inca: Check if R is running from INCA

Description

Check if R is running from INCA

Usage

is.inca(logical = TRUE)

Arguments

logical

Should the return value be a simple boolean whether we are running from INCA or not?

Value

Either TRUEFALSE if logical = TRUE or one of "PROD", "TEST" or "LOCAL" depending on were R is running (if logical = FALSE)

Examples

Run this code
# NOT RUN {
is.inca()
# }

Run the code above in your browser using DataLab