These functions enable you to determine whether code is being run in the presence of various features of the RStudio IDE and other Posit products.
using_rstudio()
determines whether code is being run in
RStudio
using_rstudio_jobs()
determines whether code is running as
an RStudio Job
using_rstudio_dark_theme()
determines whether a dark theme is
being used
using_posit_connect()
checks whether Posit Connect is
being used