From e59c5ade1367017fcf1c461cd1568daf23d0cbed Mon Sep 17 00:00:00 2001 From: Kevin Ushey Date: Wed, 31 Jul 2024 15:24:58 -0700 Subject: [PATCH] clarify that rstudioapi can be used outside of RStudio (closes #302) --- R/code.R | 4 ++-- man/isAvailable.Rd | 4 ++-- rstudioapi.Rproj | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/R/code.R b/R/code.R index d1c59dd..fcc6ee2 100644 --- a/R/code.R +++ b/R/code.R @@ -1,6 +1,6 @@ -#' Check if RStudio is running +#' Check if rstudioapi support is available #' -#' Check if RStudio is running. +#' Check if `rstudioapi` functionality is available in the current \R session. #' #' @aliases isAvailable verifyAvailable #' diff --git a/man/isAvailable.Rd b/man/isAvailable.Rd index da0ca85..4405160 100644 --- a/man/isAvailable.Rd +++ b/man/isAvailable.Rd @@ -3,7 +3,7 @@ \name{isAvailable} \alias{isAvailable} \alias{verifyAvailable} -\title{Check if RStudio is running} +\title{Check if rstudioapi support is available} \usage{ isAvailable(version_needed = NULL, child_ok = FALSE) @@ -23,7 +23,7 @@ through \code{rstudioapi}.} if RStudio is not running } \description{ -Check if RStudio is running. +Check if \code{rstudioapi} functionality is available in the current \R session. } \examples{ diff --git a/rstudioapi.Rproj b/rstudioapi.Rproj index e5c3f7c..ab963f2 100644 --- a/rstudioapi.Rproj +++ b/rstudioapi.Rproj @@ -13,7 +13,6 @@ RnwWeave: Sweave LaTeX: pdfLaTeX AutoAppendNewline: Yes -StripTrailingWhitespace: Yes BuildType: Package PackageUseDevtools: Yes