Check if R is running from INCA

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

is.inca()
#> [1] FALSE