Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-05 Thread Dirk Eddelbuettel
On 5 November 2014 at 00:55, kaveh wrote: | Dear all, | | | the simple code in below, when send to the | win-builder returns the following (and no other) | warning: | | | * checking compiled code ... WARNING | File 'quicky/libs/i386/quicky.dll': |Found '_ZSt4cerr', possibly from

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-05 Thread kaveh
Dear, I was expecting this reaction. Please do not get caught up in the details of the examples, which I have tried to make as simple as possible for your benefit. The main point is that if you remove the lines associated with boost/math/distributions/ the warning disappears as well. Ergo,

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-05 Thread Romain Francois
Envoyé de mon iPhone Le 5 nov. 2014 à 13:43, Dirk Eddelbuettel e...@debian.org a écrit : On 5 November 2014 at 00:55, kaveh wrote: | Dear all, | | | the simple code in below, when send to the | win-builder returns the following (and no other) | warning: | | | * checking

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-05 Thread Dirk Eddelbuettel
On 5 November 2014 at 13:54, kaveh wrote: | Dear, | | I was expecting this reaction. | | Please do not get caught up in the details of the examples, | which I have tried to make as simple as possible for your | benefit. Well, to be perfectly honst, there you failed. No need to carry

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-05 Thread Dirk Eddelbuettel
On 5 November 2014 at 14:11, Romain Francois wrote: | Le 5 nov. 2014 à 13:43, Dirk Eddelbuettel e...@debian.org a écrit : | You are NOT forced or required to use the Boost distributions header __as R | comes with the equivalent functionality__ via the Rmath.h header file from R. | Which has

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-05 Thread Romain François
Le 5 nov. 2014 à 14:45, Dirk Eddelbuettel e...@debian.org a écrit : On 5 November 2014 at 14:11, Romain Francois wrote: | Le 5 nov. 2014 à 13:43, Dirk Eddelbuettel e...@debian.org a écrit : | You are NOT forced or required to use the Boost distributions header __as R | comes with

[Rd] Linking to the BH package introduces CRAN warnings

2014-11-04 Thread kaveh
Dear all, I'm working on a project that links to the BH package (http://cran.r-project.org/web/packages/BH/index.html). My packages doesn't call entry points which might terminate R nor write to stdout/stderr instead of to the console. However, it seems some of the codes in the BH package

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-04 Thread Dirk Eddelbuettel
On 4 November 2014 at 14:37, kaveh wrote: | Dear all, | | I'm working on a project that links to the BH package | (http://cran.r-project.org/web/packages/BH/index.html). | | My packages doesn't call entry points which might terminate R nor | write to stdout/stderr instead of to the console. |

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-04 Thread Romain François
Le 4 nov. 2014 à 15:42, Dirk Eddelbuettel e...@debian.org a écrit : On 4 November 2014 at 14:37, kaveh wrote: | Dear all, | | I'm working on a project that links to the BH package | (http://cran.r-project.org/web/packages/BH/index.html). | | My packages doesn't call entry points

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-04 Thread kaveh
Dear Romain, /You’re kind of out of luck. These functions are both: - used by the boost headers - forbidden by R, well at least forbidden by CRAN / // Thanks for conforming my earlier fears. Since I only use this header and

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-04 Thread Romain François
Le 4 nov. 2014 à 21:52, kaveh vakili.kaveh.em...@gmail.com a écrit : Dear Romain, You’re kind of out of luck. These functions are both: - used by the boost headers - forbidden by R, well at least forbidden by CRAN Thanks for conforming my earlier fears. Since I only use

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-04 Thread kaveh
Dear Romain, Thanks for all these info, I will ponder this versus using some of the alternatives in the R sources Best regards, On 2014-11-04 22:01, Romain François wrote: Le 4 nov. 2014 à 21:52, kaveh vakili.kaveh.em...@gmail.com mailto:vakili.kaveh.em...@gmail.com a écrit : Dear

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-04 Thread Hadley Wickham
| However, it seems some of the codes in the BH package | might. At any rate, when I include some boost headers such as | boost/math/distributions/ through BH, I get the following warnings | when submitting to the win-builder page: | | |Found '_ZSt4cerr', possibly from 'std::cerr'

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-04 Thread kaveh
Dear Hadley, Thank you for this information, maybe the CRAN gods will look favourably on this case too, Best regards, On 2014-11-04 23:32, Hadley Wickham wrote: | However, it seems some of the codes in the BH package | might. At any rate, when I include some boost headers such as |

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-04 Thread Dirk Eddelbuettel
Gentlemen, On 4 November 2014 at 23:36, kaveh wrote: | Dear Hadley, | | Thank you for this information, maybe the CRAN gods | will look favourably on this case too, You seemed to have missed a point my earlier email tried to stress: Inclusion of BH does not lead to the warning. All this

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-04 Thread kaveh
Sire, The header that is included is boost/math/distributions/ If I remove it and replace the calls to its members by plain constants, the warning disappear (I just tried this again on http://win-builder.r-project.org/). This leads me to the suspicion that the header is causing the error

Re: [Rd] Linking to the BH package introduces CRAN warnings

2014-11-04 Thread kaveh
Dear all, the simple code in below, when send to the win-builder returns the following (and no other) warning: * checking compiled code ... WARNING File 'quicky/libs/i386/quicky.dll': Found '_ZSt4cerr', possibly from 'std::cerr' (C++) Object: 'quicky.o' Found 'abort', possibly from