g
Subject: Re: [R-pkg-devel] discovering if a function in a package is called
under RStudio
Hi,
you can use rstudioapi::isAvailable() for that. There's other packages with
similar functionality (eg the assertive package), and you can always check
whether Sys.getenv("RSTUDIO") == &qu
Hi,
you can use rstudioapi::isAvailable() for that. There's other packages with
similar functionality (eg the assertive package), and you can always check
whether Sys.getenv("RSTUDIO") == "1".
Cheers
Joris
On Fri, Feb 9, 2018 at 9:09 AM, Georgi Boshnakov <
georgi.boshna...@manchester.ac.uk> wrot