Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

RSTUDIO_PRODUCT is deprecated; support POSIT_PRODUCT

Aperta
#371 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@mconflitti-pbc ci sta già lavorando.

Dal 24/2/2025.

  • #372 di @mconflitti-pbc — chiusa senza merge

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
R
Stelle
54
Fork
27
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di posit-dev/connectapi

Tutte le issue di posit-dev/connectapi

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.