Re: [R-pkg-devel] Fwd: Collaboration Request: h2o R Package Function Cheatsheet

2018-02-09 Thread Juan Telleria Ruiz de Aguirre
Yes, Thank you for the tips Suzen. I will try to finish it in a couple of weeks from now, hope it is useful. Kind regards, Juan Telleria 2018-02-04 23:49 GMT+01:00 Suzen, Mehmet : > Dear Juan, > > A good start. A suggestion for versioning, instead of versioning on > file names,

[R-pkg-devel] Hedgehog property based testing

2018-02-09 Thread Huw Campbell
Hi all, I have ported hedgehog, a property based testing library from Haskell to R, and would really like folks to use it and test the API hard before I release it on CRAN. I have been using it with great success for my projects for a while; and have

Re: [R-pkg-devel] discovering if a function in a package is called under RStudio

2018-02-09 Thread Georgi Boshnakov
Many thanks, I should have looked at rstudioapi, from rstudioapi::isAvailable(): > .Platform$GUI [1] "RStudio" Georgi From: jorism...@gmail.com [mailto:jorism...@gmail.com] On Behalf Of Joris Meys Sent: 09 February 2018 09:09 To: Georgi Boshnakov Cc: r-package-devel@r-project.org Subject: Re:

Re: [R-pkg-devel] discovering if a function in a package is called under RStudio

2018-02-09 Thread Joris Meys
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>

[R-pkg-devel] discovering if a function in a package is called under RStudio

2018-02-09 Thread Georgi Boshnakov
Hi, Is there a canonical way for a function to discover if it has been called in a session under RStudio? I looked the at the options() but none seems to be dedicated to this. Thanks, Georgi Boshnakov __ R-package-devel@r-project.org mailing list