Safely Access the RStudio API
install.packages("rstudioapi", version = "0.19.0")
remotes::install_cran("rstudioapi", version = "0.19.0")
*