From vakili.kaveh.email at gmail.com  Tue Nov  4 21:52:53 2014
From: vakili.kaveh.email at gmail.com (kaveh)
Date: Tue, 04 Nov 2014 21:52:53 +0100
Subject: [Rd] Linking to the BH package introduces CRAN warnings
In-Reply-To: <0CDE01C7-C290-4CB8-A1ED-B2A8816CBA49@r-enthusiasts.com>
References: <5458D68D.3070102@gmail.com>
	<21592.58816.359652.109459@max.nulle.part>
	<0CDE01C7-C290-4CB8-A1ED-B2A8816CBA49@r-enthusiasts.com>
Message-ID: <54593CA5.2030002@gmail.com>


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 would like my package to eventually be
on CRAN, I was thinking of bypassing BH and just putting
these headers in the /inst directory and modifying them
to remove the offending calls. I was wondering what your
view on this is. Or perhaps there is a simpler alternative?

Thanks in advance,



On 2014-11-04 21:46, Romain Fran?ois wrote:
>> Le 4 nov. 2014 ? 15:42, Dirk Eddelbuettel <edd at 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 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
>> | 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' (C++)
>> |
>> |    Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
>> |
>> |    Found '_ZSt4cerr', possibly from 'std::cerr' (C++)
>> |
>> |    Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
> 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
>


	[[alternative HTML version deleted]]



[Rd] Linking to the BH package introduces CRAN warnings
kaveh