These functions enable you to determine whether code is being run in the presence of various features of the Positron IDE
using_positron()
determines whether code is being run in Positron.
using_positron_desktop()
, using_positron_server()
are helpers to
determine whether those specific
environments are being used.
Examples
using_rstudio()
#> [1] FALSE