In RStudio, it matches the current theme of the IDE.
You can use three options to customize the code theme:
- If - cli.code_themeis set, it is used.
 
- Otherwise if R is running in RStudio and - cli.code_theme_rstudiois
set, then it is used.
 
- Otherwise if T is not running in RStudio and - cli.code_theme_terminalis set, then it is used.
 
You can set these options to the name of a built-in theme, or to list
that specifies a custom theme. See code_theme_list() for the list
of the built-in themes.