Skip to contents

Checks the environment variable KIT_DEPLOY first ("cloud" or "local", set in Connect Cloud); if it is not set, Posit Connect's default R_CONFIG_ACTIVE = "rsconnect" counts as the cloud version.

Usage

kit_is_cloud()

Value

TRUE or FALSE.

Examples

kit_is_cloud()
#> [1] FALSE