Re: [R-pkg-devel] how to specify to let a package only build 64bit on CRAN

2020-05-11 Thread Jan Wijffels
Dirk, Thanks. I'll use this suggestion as well. have a nice day, Jan Jan Wijffels Statistician www.bnosac.be  | +32 486 611708 ‐‐‐ Original Message ‐‐‐ On Monday 11 May 2020 15:51, Dirk Eddelbuettel wrote: > > > On 11 May 2020 at 13:13, Joris Meys wrote: > | To add to the suggestion

Re: [R-pkg-devel] how to specify to let a package only build 64bit on CRAN

2020-05-11 Thread Dirk Eddelbuettel
On 11 May 2020 at 13:13, Joris Meys wrote: | To add to the suggestion of Gabor and Duncan, it might be a good idea to add a packageStartupMessage that warns the user about the problem when running on a 32bit system. You can easily extract that info from R.Version()$arch . That might help

Re: [R-pkg-devel] how to specify to let a package only build 64bit on CRAN

2020-05-11 Thread Joris Meys
Hi Jan, To add to the suggestion of Gabor and Duncan, it might be a good idea to add a packageStartupMessage that warns the user about the problem when running on a 32bit system. You can easily extract that info from R.Version()$arch . That might help negotiating with CRAN. Kind regards Joris

Re: [R-pkg-devel] how to specify to let a package only build 64bit on CRAN

2020-05-11 Thread Jan Wijffels
Gabor/Joris, Thanks for the suggestions! I'll try it out and see if it reaches the CRAN servers. best, Jan Jan Wijffels Statistician www.bnosac.be  | +32 486 611708 ‐‐‐ Original Message ‐‐‐ On Monday 11 May 2020 15:13, Joris Meys wrote: > Hi Jan, > > To add to the suggestion of

Re: [R-pkg-devel] how to specify to let a package only build 64bit on CRAN

2020-05-11 Thread Gábor Csárdi
Hi Jan, this is the only example that I could find: https://github.com/cran/regRSM/blob/master/DESCRIPTION#L13 I.e. you can have an 'Archs' field in DESCRIPTION, and apparently you can set that to 'i386' or 'x64' or both. I don't know what OSes support this field, and this package hasn't been

Re: [R-pkg-devel] how to specify to let a package only build 64bit on CRAN

2020-05-11 Thread Jan Wijffels
Duncan, Thanks for the confirmation that there isn't a formal way to state this 64bit dependency. have a nice day, Jan Jan Wijffels Statistician www.bnosac.be  | +32 486 611708 ‐‐‐ Original Message ‐‐‐ On Monday 11 May 2020 14:55, Duncan Murdoch wrote: > On 11/05/2020 8:46 a.m., Jan

Re: [R-pkg-devel] how to specify to let a package only build 64bit on CRAN

2020-05-11 Thread Duncan Murdoch
On 11/05/2020 8:46 a.m., Jan Wijffels wrote: Duncan, Thanks for the reply. Let me make this more clear. The R package reticulate works on 32bit and 64bit. My golgotha package depends on reticulate and an extra Python package called torch which is not available for 32bit platforms. This is

Re: [R-pkg-devel] how to specify to let a package only build 64bit on CRAN

2020-05-11 Thread Jan Wijffels
Duncan, Thanks for the reply. Let me make this more clear. The R package reticulate works on 32bit and 64bit. My golgotha package depends on reticulate and an extra Python package called torch which is not available for 32bit platforms. This is specified in the DESCRIPTION file at

Re: [R-pkg-devel] how to specify to let a package only build 64bit on CRAN

2020-05-11 Thread Duncan Murdoch
On 11/05/2020 7:54 a.m., Jan Wijffels wrote: Hello everyone, I have a package which I would like to host on CRAN. The package is at https://github.com/bnosac/golgotha The package only builds on 64bit however because the package uses R package reticulate which requires a python library called