Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

RSTUDIO_PRODUCT is deprecated; support POSIT_PRODUCT

Open
#371 0 comments 0 reactions 1 assignee View on GitHub

@mconflitti-pbc is already working on this.

Since Feb 24, 2025.

Assessment

This issue has not been assessed yet.

Description

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

  • connectapi::is_running_on_connect()
  • connectapi::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.

Dominant language
R
Stars
54
Forks
27
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from posit-dev/connectapi

All issues in posit-dev/connectapi

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.