Re: [R-pkg-devel] CRAN and cmake

2017-05-24 Thread Gábor Csárdi
On Wed, May 24, 2017 at 4:05 AM, Barry Rowlingson wrote: [...] > Github also has a REST search API - hasn't anyone wrapped this in R yet? > > https://developer.github.com/v3/search/ There is a rather minimal wrapper at https://github.com/r-pkgs/gh#readme and there is also one here: https://github

Re: [R-pkg-devel] CRAN and cmake

2017-05-24 Thread Barry Rowlingson
On Wed, May 24, 2017 at 12:19 AM, Dirk Eddelbuettel wrote: > > On 23 May 2017 at 11:36, Spencer Graves wrote: > | On 2017-05-23 10:56 AM, Dirk Eddelbuettel wrote: > | > A nice benefit of Gabor's CRAN mirror on GitHub is access to the GitHub. > | > Here I constrain on user:cran (to get just that mi

Re: [R-pkg-devel] CRAN and cmake

2017-05-23 Thread Dirk Eddelbuettel
On 23 May 2017 at 11:36, Spencer Graves wrote: | On 2017-05-23 10:56 AM, Dirk Eddelbuettel wrote: | > A nice benefit of Gabor's CRAN mirror on GitHub is access to the GitHub. | > Here I constrain on user:cran (to get just that mirror, and nothing) and | > CMakeLists.txt. Seems to find 47 repos --

Re: [R-pkg-devel] CRAN and cmake

2017-05-23 Thread Spencer Graves
On 2017-05-23 10:56 AM, Dirk Eddelbuettel wrote: On 23 May 2017 at 10:34, Thibault Vatter wrote: | Hi, | | Back in 2015, there was a discussion on this list about CRAN and cmake. | | As explained by Gabor at the time, it would be useful to have cmake in a R | package. | | Furthermore, Gregory me

Re: [R-pkg-devel] CRAN and cmake

2017-05-23 Thread Thibault Vatter
My bad, my question was not precise enough: by "an R package containing cmake", I meant "an R package containing cmake itself" in order to be able to use cmake e.g. when building an R package from source. A little bit of context: I am trying to write an R interface to a C++ library where cmake was

Re: [R-pkg-devel] CRAN and cmake

2017-05-23 Thread Dirk Eddelbuettel
On 23 May 2017 at 10:34, Thibault Vatter wrote: | Hi, | | Back in 2015, there was a discussion on this list about CRAN and cmake. | | As explained by Gabor at the time, it would be useful to have cmake in a R | package. | | Furthermore, Gregory mentioned that there was something available on Gi

Re: [R-pkg-devel] CRAN and CMake

2015-06-10 Thread Duncan Murdoch
On 10/06/2015 1:14 PM, Gábor Csárdi wrote: On Wed, Jun 10, 2015 at 11:28 AM, Tim Keitt wrote: [...] > > Is there a way to allow the user to use a system installed cmake if they > choose? The issue is R package dependencies -- a package author may put the > R cmake package in depends and then ev

Re: [R-pkg-devel] CRAN and CMake

2015-06-10 Thread Gábor Csárdi
On Wed, Jun 10, 2015 at 11:28 AM, Tim Keitt wrote: [...] > > Is there a way to allow the user to use a system installed cmake if they > choose? The issue is R package dependencies -- a package author may put the > R cmake package in depends and then everyone is forced to install the R > package v

Re: [R-pkg-devel] CRAN and CMake

2015-06-10 Thread Tim Keitt
http://www.keittlab.org/ On Wed, Jun 10, 2015 at 2:21 AM, Martin Maechler wrote: > > Gábor Csárdi > > on Tue, 9 Jun 2015 18:39:47 -0400 writes: > > > On Tue, Jun 9, 2015 at 6:23 PM, Duncan Murdoch < > murdoch.dun...@gmail.com> wrote: > > [...] > >> The DESCRIPTION file s

Re: [R-pkg-devel] CRAN and CMake

2015-06-10 Thread Tim Keitt
http://www.keittlab.org/ On Tue, Jun 9, 2015 at 5:23 PM, Duncan Murdoch wrote: > On 09/06/2015 6:10 PM, Gregory Jefferis wrote: > > > > > >> On 9 Jun 2015, at 22:08, Gábor Csárdi wrote: > >> > >> Thanks! I just looked at it, but it seems that it actually requires an > >> external system cmake.

Re: [R-pkg-devel] CRAN and CMake

2015-06-10 Thread Martin Maechler
> Gábor Csárdi > on Tue, 9 Jun 2015 18:39:47 -0400 writes: > On Tue, Jun 9, 2015 at 6:23 PM, Duncan Murdoch wrote: > [...] >> The DESCRIPTION file says this: >> >> OS_type: unix >> SystemRequirements: clang (recommended) >> >> One of the CRAN polici

Re: [R-pkg-devel] CRAN and CMake

2015-06-09 Thread Gábor Csárdi
On Tue, Jun 9, 2015 at 6:23 PM, Duncan Murdoch wrote: [...] > The DESCRIPTION file says this: > > OS_type: unix > SystemRequirements: clang (recommended) > > One of the CRAN policies is "Package authors should make all reasonable > efforts to provide cross-platform portable code." cmake describes

Re: [R-pkg-devel] CRAN and CMake

2015-06-09 Thread Duncan Murdoch
On 09/06/2015 6:10 PM, Gregory Jefferis wrote: > > >> On 9 Jun 2015, at 22:08, Gábor Csárdi wrote: >> >> Thanks! I just looked at it, but it seems that it actually requires an >> external system cmake. I am trying to put cmake itself into a package. > > This one: > > https://github.com/stnava

Re: [R-pkg-devel] CRAN and CMake

2015-06-09 Thread Gábor Csárdi
Oh, cool, I looked at another one. As I see the problem is windows, which shouldn't be too hard to fix, the cmake build surely works on Windows. Gabor On Tue, Jun 9, 2015 at 6:10 PM, Gregory Jefferis wrote: > > >> On 9 Jun 2015, at 22:08, Gábor Csárdi wrote: >> >> Thanks! I just looked at it, b

Re: [R-pkg-devel] CRAN and CMake

2015-06-09 Thread Gregory Jefferis
> On 9 Jun 2015, at 22:08, Gábor Csárdi wrote: > > Thanks! I just looked at it, but it seems that it actually requires an > external system cmake. I am trying to put cmake itself into a package. This one: https://github.com/stnava/cmaker I remember now there is another cmaker! Best, Greg.

Re: [R-pkg-devel] CRAN and CMake

2015-06-09 Thread Gregory Jefferis
> On 9 Jun 2015, at 21:54, Gábor Csárdi wrote: > > I think you will need to declare it as a system requirement, e.g. like > this package: > https://github.com/cran/qtbase/blob/master/DESCRIPTION > > But of course I cannot say for sure that this is still accepted on CRAN. > > FWIW I was experi

Re: [R-pkg-devel] CRAN and CMake

2015-06-09 Thread Gábor Csárdi
On Tue, Jun 9, 2015 at 5:05 PM, Gregory Jefferis wrote: [...] > If you look on GitHub you'll find a cmaker package. Attempts to get this onto > cran foundered as far as I know. I for one would be interested if it could be > made CRAN acceptable. Best, Thanks! I just looked at it, but it seems t

Re: [R-pkg-devel] CRAN and CMake

2015-06-09 Thread Gábor Csárdi
I think you will need to declare it as a system requirement, e.g. like this package: https://github.com/cran/qtbase/blob/master/DESCRIPTION But of course I cannot say for sure that this is still accepted on CRAN. FWIW I was experimenting with putting cmake in an R package, so that other packages