Skip to content

RSTUDIO_PRODUCT is deprecated; support POSIT_PRODUCT #389

Open
@mconflitti-pbc

Description

@mconflitti-pbc

This calls for helper(s) to determine which environment is being used. For example:

  • client.is_running_on_connect()
  • client.is_running_on_workbench()

or something similar to encapsulate the check.

Need to check both RSTUDIO_PRODUCT and POSIT_PRODUCT since older versions of connect and workbench will not have the latter set, but when it is set, they will be the same value. RSTUDIO_PRODUCT has not yet been removed, only deprecated for now.

Once merged, ensure that any documentation examples in our products use these helpers for the latest version of this utility. Add fallback note if not on version that includes these helpers.

Metadata

Metadata

Labels

sdkUsed for automation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions