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

[R-pkg-devel] CRAN and CMake

2015-06-09 Thread Tim Keitt
I am thinking of writing an R wrapper for some code that uses cmake. If I include that code under the src directory (ie in src//), am I likely to run into problems with CRAN? Never been down that road and would like to know if this is feasible. I guess I would have to call cmake in the configure sc

Re: [R-pkg-devel] CRAN incoming feasibility Error

2015-06-09 Thread Dirk Eddelbuettel
On 9 June 2015 at 11:47, Seth Wenchel wrote: | Actually, all of those switches came in as i was trying to resolve this issue.I | started with just R CMD check --as-cran.  In fact, my Rprofile.site does have a | similar statement and sets a proxy but it doesn't seem good enough for the CRAN | ch

Re: [R-pkg-devel] CRAN incoming feasibility Error

2015-06-09 Thread Seth Wenchel
Actually, all of those switches came in as i was trying to resolve this issue.I started with just R CMD check --as-cran. In fact, my Rprofile.site does have a similar statement and sets a proxy but it doesn't seem good enough for the CRAN checks. ### Rprofile.site contents Sys.setenv(http_proxy="

Re: [R-pkg-devel] CRAN incoming feasibility Error

2015-06-09 Thread Dirk Eddelbuettel
On 9 June 2015 at 10:24, Seth Wenchel wrote: | Hi All, | | I'm running into an error with R CMD check --as-cran on R 3.2.0 for | windows. Obviously i've tried googling but i haven't found this specific | issue. I was wondering if it is because of my company's network settings. | FWIW, it makes

[R-pkg-devel] CRAN incoming feasibility Error

2015-06-09 Thread Seth Wenchel
Hi All, I'm running into an error with R CMD check --as-cran on R 3.2.0 for windows. Obviously i've tried googling but i haven't found this specific issue. I was wondering if it is because of my company's network settings. FWIW, it makes it through devtools::check() just fine. Cheers, Seth c:\